You are not logged in.
Hello,
I have Exim set up to handle my outgoing mail through my isp. This works great for a single user with one emailaddress. But now I want to use multiple accounts, i.e. send mail from Mutt using different From-addresses.
I can set almost all headers with folder-hooks from Mutt. Exim however, keeps rewriting the Return-Path hdr to the same address. Is there a way to have Exim use a different Return-Path depending on which address (account) I want to use?
My exim.conf:
*@hostname ${lookup{$1}lsearch{/etc/email-addresses}
{$value}fail} Ffs
My /etc/email-addresses:
user: user@domain.com
(The values above are examples of course)
Arjan
Offline
Figured this out a while ago and I thought I'd post back.
Simply use exim with the -f option to set the return-path.
I do this from Mutt on a per folder basis using folder hooks., e.g. add this yo your muttrc:
folder-hook example-folder 'set sendmail="/usr/sbin/exim -f example@domain.com"'
Arjan
Offline