Date: Mon, 10 Mar 2008 06:34:46 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "Philip M. Gollucci" <pgollucci@p6m7g8.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Freebsd7, mail/mailman, www/apache22, and sendmail [take 2] Message-ID: <47D4D686.8070905@infracaninophile.co.uk> In-Reply-To: <47D4A82F.20900@p6m7g8.com> References: <47CF03A8.9030404@p6m7g8.com> <47D4A82F.20900@p6m7g8.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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 #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkfU1o0ACgkQ8Mjk52CukIzbowCfYW5rqpOziSlA1O2SENX/zC1p
Tk0AnjGc7mSX2tVMWJcNjAbdG/YovsXd
=cdxm
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D4D686.8070905>
