[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how can I set the from address in mutt?



On 05/27/2013 07:20 PM, Gary Dale wrote:
I want to send e-mail with an attachment via a script. The attachment requirement prevents me from using mail but mutt can handle it.

Normally when I send using mail, I can simply use the -r option to set the mail user account specified in /etc/exim4/passwd.client. This is probably clumsy and there must be a better way of doing it but it works.

Now I want to use mutt to send attachments but it doesn't have the -r option. Putting in "my_hdr From:" in .muttrc doesn't do it either.

Can someone suggest a way to make this work? It's probably trivial but I can't find the solution via google.



There is a package named exim4-config . Run "dpkg-reconfigure exim4-config , i.e. reconfigure the config package for exim4, which is separate from the actual exim4 package. Answer the questions and you get return address overwriting in exim4 plus other stuff that you would have never known you needed. To handle a password authorization, read /usr/share/doc/exim4/README.Debian.html section 2.3 and man exim_passwd_client for the details of the format of the file passwd.client

HTH,
Paul


Reply to: