Bruce McAlister wrote:

> I have a specific user on my unix box whos return address i want to change.
> How do i do this under sendmail. For example, if i have a user john defined
> on my unix box, and my domain is durban.co.za. When the mail is sent it
> sends out the return address as [EMAIL PROTECTED] But I want the return
> address to be [EMAIL PROTECTED] I only want to do this for the one user
> only. Is this at all possible under sendmail. I did try adding the following
> in the userdb
>                       john:mailname           jupiter
>                       jupiter:maildrop                john
> But this seems only to change the from display name. I actually need to
> change the return address. This also needs to automatically be changes as
> this specific user runs as a daemon and automatically sends mail so i cannot
> change the return address in application such as mailx / sendmail packages
> on the commandline.

If you build sendmail.cf with FEATURE(masquerade_envelope), the
generics table mapping should be applied to the envelope address as
well as the headers.

-- 
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