Re: how can I set the from address in mutt?
- Original Message - From: Gary Dale garyd...@rogers.com To: debian-user@lists.debian.org Cc: debian-user@lists.debian.org Sent: Wednesday, May 29, 2013 12:05:11 AM Subject: Re: how can I set the from address in mutt? No, I had all that. The address rewrite is a pain but not the real issue. I don't want it using my account name. I want it to use an address I set. Staticsafe's advice on .muttrc rules did that trick. I just need to set up different .muttrc files for the various reply-tos I want to use. I suspect I can also program it into mutt but I don't want to devote that much energy to something that I have a really simple way of handling. Thanks though. BTW: a second part of the problem would be to have e-mail going out from different e-mail addresses through exim4. Right now I can specify the credentials to use in passwd.client but that only allows one credential per server so far as I can see (e.g. *.rogers.com:a...@rogers.com:mypasswd *.yahoo.com:my.yahoo.com:mypassword I'm not sure if setting my_hdr from: would allow that or interfere with the various set from = settings I'm using to get the e-mail to go at all. I think maybe what you want is msmtp. It can coexist with exim4. It is similar in principle to the built-in SMTP capabilities of Icedove, for example. If you want to use mutt to send messages from multiple accounts, then I think msmtp is the way to go. Each user can have his own config, each with multiple accounts. -Rob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1594843778.18891940.1369833806626.javamail.r...@ptd.net
Re: how can I set the from address in mutt?
On 28/05/13 01:15 AM, Paul Condon wrote: 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 No, I had all that. The address rewrite is a pain but not the real issue. I don't want it using my account name. I want it to use an address I set. Staticsafe's advice on .muttrc rules did that trick. I just need to set up different .muttrc files for the various reply-tos I want to use. I suspect I can also program it into mutt but I don't want to devote that much energy to something that I have a really simple way of handling. Thanks though. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a57b42.6060...@rogers.com
Re: how can I set the from address in mutt?
On 28/05/13 11:51 PM, Gary Dale wrote: On 28/05/13 01:15 AM, Paul Condon wrote: 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 No, I had all that. The address rewrite is a pain but not the real issue. I don't want it using my account name. I want it to use an address I set. Staticsafe's advice on .muttrc rules did that trick. I just need to set up different .muttrc files for the various reply-tos I want to use. I suspect I can also program it into mutt but I don't want to devote that much energy to something that I have a really simple way of handling. Thanks though. BTW: a second part of the problem would be to have e-mail going out from different e-mail addresses through exim4. Right now I can specify the credentials to use in passwd.client but that only allows one credential per server so far as I can see (e.g. *.rogers.com:a...@rogers.com:mypasswd *.yahoo.com:my.yahoo.com:mypassword I'm not sure if setting my_hdr from: would allow that or interfere with the various set from = settings I'm using to get the e-mail to go at all. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a57e77.40...@rogers.com
how can I set the from address in mutt?
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. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a40673.5080...@rogers.com
Re: how can I set the from address in mutt?
On Mon, May 27, 2013 at 09:20:51PM -0400, 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. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a40673.5080...@rogers.com In .muttrc: set from = t...@example.com set realname = John Doe See also: http://dev.mutt.org/trac/wiki/MuttFaq/Header http://wiki.debian.org/Mutt -- staticsafe O ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130528015529.gb21...@uriel.asininetech.com
Re: how can I set the from address in mutt?
On 27/05/13 09:55 PM, staticsafe wrote: set from =t...@example.com set realname = John Doe Thanks. I tried it but e-mail is still not getting through. Again, if I replace mutt with mail and use -r with the from address I use in set from, mail works. In the queue query below, the it looks like it's using my account name and domain I use, which unfortunately doesn't have e-mail services. The garyd...@rahim-dale.org is probably constructed somewhere then it tries to send e-mail through the server I told it about but using an e-mail account that I have with Rogers. Rogers rejects it because they don't know garyd...@rahim-dale.org. It looks like its complaining about not having a from address though. #exim4 -qff -v LOG: queue_run MAIN Start queue run: pid=7689 -qff delivering 1UhATj-0001to-1o (queue run pid 7689) LOG: MAIN Unfrozen by forced delivery R: smarthost for garyd...@rahim-dale.org T: remote_smtp_smarthost for garyd...@rahim-dale.org Transport port=25 replaced by host-specific port=587 Connecting to smtp-rog.mail.a03.yahoodns.net [67.195.22.104]:587 ... connected SMTP 220 smtp102.rog.mail.gq1.yahoo.com ESMTP SMTP EHLO transponder.rahim-dale SMTP 250-smtp102.rog.mail.gq1.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250-SIZE 41697280 250 8BITMIME SMTP AUTH PLAIN SMTP 235 OK, go ahead SMTP MAIL FROM: SIZE=2673 SMTP RCPT TO:garyd...@rahim-dale.org SMTP DATA SMTP 553 From address not verified - see http://www.rogershelp.com/verify-email SMTP 503 Wrong sequence of commands : MAIL FROM needed SMTP 503 Wrong sequence of commands : MAIL FROM needed SMTP QUIT LOG: MAIN ** garyd...@rahim-dale.org R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM: SIZE=2673: host smtp-rog.mail.a03.yahoodns.net [67.195.22.104]: 553 From address not verified - see http://www.rogershelp.com/verify-email LOG: MAIN Frozen (delivery error message) LOG: queue_run MAIN End queue run: pid=7689 -qff -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a426a8.90...@rogers.com
Re: how can I set the from address in mutt?
On 27/05/13 11:38 PM, Gary Dale wrote: On 27/05/13 09:55 PM, staticsafe wrote: set from =t...@example.com set realname = John Doe Thanks. I tried it but e-mail is still not getting through. Again, if I replace mutt with mail and use -r with the from address I use in set from, mail works. In the queue query below, the it looks like it's using my account name and domain I use, which unfortunately doesn't have e-mail services. The garyd...@rahim-dale.org is probably constructed somewhere then it tries to send e-mail through the server I told it about but using an e-mail account that I have with Rogers. Rogers rejects it because they don't know garyd...@rahim-dale.org. It looks like its complaining about not having a from address though. #exim4 -qff -v LOG: queue_run MAIN Start queue run: pid=7689 -qff delivering 1UhATj-0001to-1o (queue run pid 7689) LOG: MAIN Unfrozen by forced delivery R: smarthost for garyd...@rahim-dale.org T: remote_smtp_smarthost for garyd...@rahim-dale.org Transport port=25 replaced by host-specific port=587 Connecting to smtp-rog.mail.a03.yahoodns.net [67.195.22.104]:587 ... connected SMTP 220 smtp102.rog.mail.gq1.yahoo.com ESMTP SMTP EHLO transponder.rahim-dale SMTP 250-smtp102.rog.mail.gq1.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250-SIZE 41697280 250 8BITMIME SMTP AUTH PLAIN SMTP 235 OK, go ahead SMTP MAIL FROM: SIZE=2673 SMTP RCPT TO:garyd...@rahim-dale.org SMTP DATA SMTP 553 From address not verified - see http://www.rogershelp.com/verify-email SMTP 503 Wrong sequence of commands : MAIL FROM needed SMTP 503 Wrong sequence of commands : MAIL FROM needed SMTP QUIT LOG: MAIN ** garyd...@rahim-dale.org R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM: SIZE=2673: host smtp-rog.mail.a03.yahoodns.net [67.195.22.104]: 553 From address not verified - see http://www.rogershelp.com/verify-email LOG: MAIN Frozen (delivery error message) LOG: queue_run MAIN End queue run: pid=7689 -qff OK, got it. It needs set use_envelope_from=yes as well. Thanks! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a427a9.1060...@rogers.com
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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/51a43d87.9090...@gmail.com