X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpost.c;h=6b0786192c4be04df52d3dcc1346b03a4097d3af;hb=9719b1f53abb51d3ed532f875534a2ce3a1d7fde;hp=ff7519760541f6f5e03962ff420597cc22eee9cb;hpb=fc15b3f63b8e802f8d6dbc36fd35c0e400313a91;p=mmh diff --git a/uip/post.c b/uip/post.c index ff75197..6b07861 100644 --- a/uip/post.c +++ b/uip/post.c @@ -854,8 +854,22 @@ putfmt (char *name, char *str, FILE *out) else if (mp->m_gname) putgrp (namep, mp->m_gname, out, hdr->flags); - if (mp->m_ingrp) + if (mp->m_ingrp) { + if (sm_mts == MTS_SENDMAIL_PIPE) { + /* Catch this before sendmail chokes with: + "553 List:; syntax illegal for recipient + addresses". + If we wanted to, we could expand out blind + aliases and put them in Bcc:, but then + they'd have the Blind-Carbon-Copy + indication. */ + adios (NULL, + "blind lists not compatible with" + " sendmail/pipe"); + } + grp++; + } if (putadr (namep, qp, mp, out, hdr->flags)) msgflags |= (hdr->set & (MVIS | MINV)); else