On Fri, 12 Sep 1997 12:29:03 -0400 (EDT), Michael Pelletier wrote:
>Sep 12 12:18:53 inet-prime sendmail[23021]: MAA23021:
> from=<mikep@comshare.com>, size=282, class=0, pri=30282, nrcpts=1,
> msgid=<Pine.BSI.3.95.970912121832.12715W-100000@valhalla.comshare.com>,
> proto=SMTP, relay=mikep@valhalla.comshare.com [130.211.100.165]
>Sep 12 12:18:54 inet-prime sendmail[23022]: MAA23022: clone MAA23021,
> owner=martins@comshare.com
>Sep 12 12:18:56 inet-prime sendmail[23022]: MAA23022:
> to="|/usr/local/majordomo/wrapper resend -l mml mml-list",
> delay=00:00:03, xdelay=00:00:02, mailer=prog, stat=Sent
>--------------
>
>So it looks like resend is making it look like the $sender is
>"martins@ocmshare.com," the owner of the mailing list, instead of me,
>mikep@comshare.com. I've confirmed this by printing the "$sender"
>variable in the bounce() routine, and it's "martins@comshare.com".
Note that the sender is changed BEFORE resend even gets
the mail. Sender, that is, envelope sender is changed
because you have an owner-<ALIAS_NAME> in /etc/aliases.
Resend uses the FROM field to determine if the mail should
be accepted for the list or should be bounced. That method
works most of the times, but is not safe. To make it safe
you'll need to make the list moderated, which means that
all mail to the list are bounced.
To prevent missuse of the list you should rename "mml-list"
to something less obvious, e.g. "mml-dka2", and turn expanding
off in your SMTP, i.e. turn the "EXPN <address>" command
off.
------------------------------------------------------
Mats Dufberg mats.dufberg@abc.se
|
|