getting sendmail to add Return-Path: header
Dan Nelson
dnelson at allantgroup.com
Fri Jul 4 17:03:51 PDT 2003
In the last episode (Jul 04), Matthew Seaman said:
> On Fri, Jul 04, 2003 at 05:38:13PM -0400, David Banning wrote:
> > Now it seems to be working. I inserted it in the "F" section of the
> > settings below the one we discussed and it seems to work.
> >
> > > > Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr
> > > > FromL, R=EnvToL/HdrToL,
> > > > T=DNS/RFC822/X-Unix,
> > > > A=procmail -Y -a $h -d $u
> > > > Mprog, P=/bin/sh, F=lsDFMoqeu9, S=EnvFromL/H...
> > HERE----------------^
> >
> > I am not sure what I did, or what the purpose of Mprog is.
>
> The prog mailer is generally for aliases that pipe mail into programs
It also applies to pipes in .forward files, so if David has a
"|procmail" entry in his .forward, that will force sendmail to use the
prog mailer instead of local. FEATURE(local_procmail) in your .mc is a
better solution, which will tell sendmail to use procmail as the local
delivery agent, so you don't need .forward at all.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list