Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to control what return-path is set to

1 view
Skip to first unread message

alexl

unread,
Dec 11, 2005, 6:52:09 PM12/11/05
to
Hi,

it is always set to superuser for me so mailing lists subscribe me
incorrectly. Can I set that up in mydomain.m4 in sendmail/cf/domain and
if so what is the syntax?

thx

alexl

unread,
Dec 11, 2005, 8:48:50 PM12/11/05
to
oops, I got it

1. setup genericstable
in sendmail/cf/domain/mydomain.m4:

FEATURE(`genericstable', `hash /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
FEATURE(`masquerade_envelope')dnl

2. makemap hash genericstable<genericstable

3. test using sendmail -bt and then
> /map generics root

4. from a prvs msg in the newsgroup: if you use
FEATURE(`masquerade_envelope'), the envelope sender will be masqueraded
per your MASQUERADE_AS() directive (or genericstable). The envelope
sender is what eventually ends up as Return-Path at the
recipient.

also you might have to hup sendmail

Neil W Rickert

unread,
Dec 11, 2005, 9:51:45 PM12/11/05
to
"alexl" <alexth...@gmail.com> writes:

Best is to not send email as superuser.

alexl

unread,
Dec 13, 2005, 5:27:58 AM12/13/05
to
even then return-path gets set to us...@host.domain.com instead of
us...@domain.com unless I use generics.
0 new messages