Freebsd7, mail/mailman, www/apache22, and sendmail [take 2]

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Mar 10 06:35:02 UTC 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080310/0e064a99/signature.pgp


More information about the freebsd-questions mailing list