Bruno Ledoux wrote:

> How can I tell the unix mail command to replace the sender name
> "myname@localhost" by another address "othername@otherhost" in  all the
> messages I send.

You can use either the genericstable feature, or the userdb feature.

genericstable is documented in the cf/README file. userdb is
documented in the Operation Guide (op.ps).

> I tried to turn Masquerading on in sendmail  but for some reason it
> doesn't work. Is there a simpler way to do it  with the mailrc  or
> procmailrc files for example?

mailrc and procmailrc don't affect outgoing mail. Also, masquerading
only affects the hostname; you can't use it to change the username.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to