Re: trouble with fetchmail via exim
cls-colo spgs <pplaw@pcisys.net> wrote:
>
> using mutt, i can compose and send an email. but the "from" line
> has the
> incorrect sender address ("bt@pcisys.net"). btw, "bt" is my
> non-root user
> account. my email addy is "pplaw@pcisysnet." (so, i need to
> change,
> "bt@pcisys.net" to "pplaw@pcisys.net." in the "from" line of emails.)
> do i have to
> adduser "pplaw" to the box and then login as "pplaw"? (i'd rather
> not have to do
> this, but i certally will if it's the only way it'll work.)
The best way of sorting this system-wide is to add a re-writing rule to
your /etc/exim.conf. On my system I have a user called scott and his
email address would be set by exim as scott@gmx.co.uk. Unfortunately his
email address is actually sah1@gmx.co.uk. This is the line I needed to
add:
scott@gmx.co.uk sah1@gmx.co.uk Ffsr
This means that when exim sees scott@gmx.co.uk it changes it to
sah1@gmx.co.uk. The line is added right at the end of /etc/exim.conf -
you will see similar lines commented out.
--
Phillip Deackes
Using Storm Linux
Reply to: