Philip M. Gollucci wrote:

/etc/mail/host.mc
[snipped]
define(`ALIAS_FILE', `/etc/mail/aliases,/etc/mail/lists')

FEATURE(`smrsh')
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
VIRTUSER_DOMAIN(`lists.domain.tld')

dnl FEATURE(`limited_masquerade')
dnl MASQUERADE_AS(`lists.domain.tld')

You need MAILER_DEFINITIONS right about here in your .mc file.

Mmailman,       P=/etc/mail/mm-handler, F=rDFMhlqSu, U=mailman:mailman,
                S=EnvFromL, R=EnvToL/HdrToL,
                A=mm-handler $h $u

You may also need some custom rulesets so that sendmail knows
when to hand off messages to the mailman mailer, either under
LOCAL_RULESETS or one of the other special LOCAL_* macros -- see
/usr/share/sendmail/cf/README particularly the section headed
'ADDING NEW MAILERS OR RULESETS'.

        Cheers,

        Matthew

--
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                 Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to