From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 8 Jul 2008 17:56:56 +0200 From: Christian Kellermann To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20080708155656.GI29253@hermes.my.domain> References: <20080708150047.GG29253@hermes.my.domain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZOudaV4lSIjFTlHv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: [9fans] A question on remotemail Topicbox-Message-UUID: de6b2668-ead3-11e9-9d60-3106f5b1d025 --ZOudaV4lSIjFTlHv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * erik quanstrom [080708 17:40]: > > This machine has to deliver all mail to my ISPs smtp so I set the > > rewrite script to rewrite.gateway. The ISPs smtp rejected my mail > > though because it expected a From: line different to my $user@$site > > or the default $fd set in remotemail. I added a=20 >=20 > is the problem that you require that the smtp helo domain be different > from the envelope sender (the $address in the smtp "mail from > $address" line?) is this why you can't set $fd to something that won't > be rejected and still have your From: lines properly rewritten? >=20 As far as I understood $fd just sets the domain, I need the user and the domain name to be different from my local settings though. > > 'From: "ckeen" '=20 > >=20 > > line to /mail/box/ckeen/headers but this does not seem to have any > > effect. I thus added a names.remote file with > >=20 > > 'ckeen Christian.Kellermann@nefkom.net' >=20 > according to the man page, the standard place for this information > would be a file listed in /mail/lib/fromfiles, and alias mail should > be given the -f switch. (maybe there's a difference for gatways that > i'm missing?) I read the page as if the -f switch is for domain names only. Am I wrong? >=20 > > - shouldn't the headers file work too? >=20 > the envelope sender isn't the same as the rfc822 sender so > no, i don't think that should work. right, thanks. Kind regards, Christian --=20 You may use my gpg key for replies: pub 1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen) --ZOudaV4lSIjFTlHv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (OpenBSD) iEYEARECAAYFAkhzjkgACgkQXYob3Uf3l4jxmgCfeHkdKyqllDv3M+vlYIQJy8Jx pvYAn3fldpYf54RJMmfimn0BnpvqEcs2 =9UvI -----END PGP SIGNATURE----- --ZOudaV4lSIjFTlHv--