Re: [Exim] SMTP MAIL FROM:

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim
Assumpte: Re: [Exim] SMTP MAIL FROM:
Jerry Van Brimmer <jerryvb@???> wrote:
>
> Why does Exim insert <root@???> in the SMTP>>MAIL FROM:
> field?


Because that was the (unix) user who sent the mail. You didn't tell it
otherwise.

> That seems to be the whole problem. How do I make Exim insert
> jerryvb@??? there, which is my real Verizon email address?


The -f option lets you specify the envelope sender. Only works when the unix
user is 'trusted' by Exim. Check the docs.

NB sending/receiving mail (or doing anything, really) as root is not
recommended, which is why Exim has root as a 'never_user' - which is the
secondary problem you had when Exim tried to deliver a bounce message to
you. Use a non-privileged account, and if you need to mess with envelope
senders, make it 'trusted'. You could look at rewriting rules within Exim if
you want get Exim to re-write addresses by iteself (eg substituting your ISP
email address for your local one).

Peter