Re: smail. From field
Worik <worik@smtp2.ihug.co.nz> writes:
> Please note that the return address in the from field is something like
> worik@smtp.ihug.co.nz, and smtp.ihug.co.nz is where I send my mail.
>
> But I recieve it at worik@noggon.com.
>
> I would like to get worik@noggon.com 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:
*@smtp.ihug.co.nz ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} fF
And a file '/etc/email-addresses' containing:
worik: worik@noggon.com
--
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 to: