Worik <[EMAIL PROTECTED]> writes:

> Please note that the return address in the from field is something like 
> [EMAIL PROTECTED], and smtp.ihug.co.nz is where I send my mail.
> 
> But I recieve it at [EMAIL PROTECTED]
> 
> I would like to get [EMAIL PROTECTED] into the from field!  How do I do it 
> with 
> smail?

Would you consider upgrading to exim?

The it's quite simple: two lines at the end of /etc/exim.conf:

[EMAIL PROTECTED]       ${lookup{$1}lsearch{/etc/email-addresses}\
                                                {$value}fail} fF

And a file '/etc/email-addresses' containing:

worik: [EMAIL PROTECTED]

-- 
         Carey Evans  http://home.clear.net.nz/pages/c.evans/
"The risk of U.S. national security resting in the hands of adults who play
with children's toys during office hours is left as an exercise to the reader."
                                                       - Bruce Martin in RISKS

Reply via email to