Re: Gateing Netmail

Pablo Saratxaga (srtxg@linux.chanae.stben.be)
Tue, 20 May 1997 21:28:53 +0200 (MET DST)

Kaixo !

> My incoming netmail from fidoland is: Chris Molnar 1:141/635 this
> should translate to: Chris.Molnar@f635.n141.z1.fidonet.org which should
> pick up in the Alias file and change to: cmolnar as my Alias file has the
> following line:
> cmolnar: Chris.Molnar@f635.n141.z1.fidonet.org

Which alias file ? The one used by sendmail (/etc/aliases) ?
Or the one referenced by the sysalias keyword in the ifmail config file ?

> This is not happening. Sendmail is comming back with the message:
> Chris.Molnar invalid user. (or something like this).

But a far better method than using aliases is to tell sendmail to also
use the GECOS field (free name in /etc/passwd) for user matching.
For that just add OGTrue in the /etc/sendmail.cf file (and of course
ensure that user cmolnar has "Chris Molnar" as free name in /etc/passwd file)

Whith that option sendmail will correctly handle mail to:

Chris.Molnar@f635.n141.z1.fidonet.org
Chris_Molnar@f635.n141.z1.fidonet.org
"Chris Molnar"@f635.n141.z1.fidonet.org
cmolnar@f635.n141.z1.fidonet.org

It's not a bad idea to add f635.n141.z1.fidonet.org to the list of local
aliases (Cw.... line in sendmail.cf, or in the sendmail.cw file), in case
yo ureceive mail to your fido adress by another way than ifmail.

-- 

A bientôt, Pablo Saratxaga

~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975