From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 06:35:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABB8B106566B for ; Mon, 10 Mar 2008 06:35:02 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 161C58FC26 for ; Mon, 10 Mar 2008 06:35:01 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m2A6YrZ3094568; Mon, 10 Mar 2008 06:34:55 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.0 smtp.infracaninophile.co.uk m2A6YrZ3094568 Message-ID: <47D4D686.8070905@infracaninophile.co.uk> Date: Mon, 10 Mar 2008 06:34:46 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080302) MIME-Version: 1.0 To: "Philip M. Gollucci" References: <47CF03A8.9030404@p6m7g8.com> <47D4A82F.20900@p6m7g8.com> In-Reply-To: <47D4A82F.20900@p6m7g8.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9735966ADC5F7ECAC73BFE73" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 10 Mar 2008 06:34:55 +0000 (GMT) X-Virus-Scanned: ClamAV 0.92.1/6188/Sun Mar 9 19:28:13 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: Freebsd7, mail/mailman, www/apache22, and sendmail [take 2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2008 06:35:02 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9735966ADC5F7ECAC73BFE73 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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=3D/etc/mail/mm-handler, F=3DrDFMhlqSu, U=3Dmailman:m= ailman, >> S=3DEnvFromL, R=3DEnvToL/HdrToL, >> A=3Dmm-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 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig9735966ADC5F7ECAC73BFE73 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig9735966ADC5F7ECAC73BFE73--