Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 22:45:12 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        David Banning <david@skytracker.ca>
Cc:        questions@freebsd.org
Subject:   Re: getting sendmail to add Return-Path: header
Message-ID:  <20030704214512.GA17870@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20030704210645.GA20124@skytrackercanada.com>
References:  <20030704151957.GA14457@skytrackercanada.com> <20030704190458.GD69059@happy-idiot-talk.infracaninophile.co.uk> <20030704202848.GA19205@skytrackercanada.com> <20030704203835.GA8041@happy-idiot-talk.infracaninophile.co.uk> <20030704210645.GA20124@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--BXVAT5kNtrzKuDFl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 04, 2003 at 05:06:45PM -0400, David Banning wrote:
> > Actually, I use procmail as the default delivery agent myself --- that
> > example came from /etc/mail/freebsd.cf --- but even so, the
> > Return-Path: stuff is inserted correctly.  How are you checking for
> > the presence or absence of the header?  Most mail applications will
> > weed it out of what they display to you -- bouncing on the 'h' key in
> > mutt shows it, generally as the 2nd line of header right underneath
> > the 'From ' line.  Otherwise, grep'ing the mbox file directly is
> > probably the thing to do.
>=20
> There's no mistaking it. I've used vi and grep.
> Here, is the message as I received it from you;
>=20
>=20
> >From m.seaman@infracaninophile.co.uk Fri Jul  4 16:40:08 2003
> Received: (from root@localhost)
>         by 3s1.com (8.12.9/8.12.9) id h64Ke8IG019663
>         for david@skytracker.ca; Fri, 4 Jul 2003 16:40:08 -0400 (EDT)
>         (envelope-from m.seaman@infracaninophile.co.uk)


Yup.  It's definitely not there.  This has me completely perplexed.
You seem to be doing everything correctly, and all of the right things
are appearing in the sendmail.cf file, but the fault is definitely
occurring.

All I can conclude is that there is some trivial boo-boo somewhere
that will have you slapping your forehead and shouting "D'Oh!" in the
approved Homer-Simpson-esque style.  It's going to be something on the
level of you're not using the sendmail binary you think you are, or
it's not reading /etc/mail/sendmail.cf.  Have you sanity checked
/etc/mail/mailer.conf ?  Does anything untoward appear in
/var/log/maillog ? How about the maillog entries when you restart the
MTA?

Can you try this: run sendmail in address test mode:

    % /usr/sbin/sendmail -bt

and check the output of dumping the mailer definitions:

    > =3DM

(ie. make sure that the local mailer definition being used by sendmail
is actually the same as in /etc/mail/sendmail.cf) Also try:

    > /parse david@skytracker.ca

which should give you Parse1 and parse lines like so:

    Parse1           returns: $# local $: david
    parse            returns: $# local $: david

indicating that your sendmail will use the local mailer to do the
final delivery.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--BXVAT5kNtrzKuDFl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/BfVodtESqEQa7a0RAt4CAJ0ZtuKk+y3b2h36TOz3m99eZkgz3QCghd34
vNfYW1ExdEpdQ14hDMxBH2c=
=oc7n
-----END PGP SIGNATURE-----

--BXVAT5kNtrzKuDFl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704214512.GA17870>