multiple smart hosts
First of all: Yes, I know this is not the exim4 mailing list ;-) Here my question: How do you setup exim4 with multiple smart hosts for mutt? The idea was to create a folder-hook like... folder-hook anextrafolder 'my_hdr From: Name1 Name2 [EMAIL PROTECTED]' ...to change the from-adress when sending a mail from inside a certain folder. That works nice. The real problem is a rewrite-config that makes exim4 choose a certain smart host depeding on the from-address. There is a walkthrough for this problem -- it's about 5 pages long. There has to be a better way. Some ideas? -- Benjamin Eckenfels OpenPGP Key id: CF56E489 Key fingerprint = 386D CBE1 0833 4C12 2871 F51E 839D 18EF CF56 E489 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCF56E489 signature.asc Description: Digital signature
Re: multiple smart hosts
* Benjamin Eckenfels [2007-07-22 19:32]: First of all: Yes, I know this is not the exim4 mailing list ;-) Here my question: How do you setup exim4 with multiple smart hosts for mutt? Huh? The idea was to create a folder-hook like... folder-hook anextrafolder 'my_hdr From: Name1 Name2 [EMAIL PROTECTED]' ...to change the from-adress when sending a mail from inside a certain folder. That works nice. The real problem is a rewrite-config that makes exim4 choose a certain smart host depeding on the from-address. Again, why? What are you trying to achieve and what is the problem? There is a walkthrough for this problem -- it's about 5 pages long. There has to be a better way. Some ideas? Nope. Byt maybe you can set some special header in the folder hook; a header that tells Exim which smart host to use. And what do you mean by smart host? A manualroute router or something else? I really think you should reveal your config. - Kirill -- #!/usr/bin/perl -w print({sub{eval(qq(q(@_)))}}((join(''=map{ord=~m(^106)?uc:lc}($[= map{chr}(97..122))[map{int}grep{length}split(/(\d\d)/,'10211920011'. qq(41520080518190907140120211805))]))=~m(\A(\w{4})(\S+)(s\D+)$)),$/)
Re: multiple smart hosts
Here my question: How do you setup exim4 with multiple smart hosts for mutt? The idea was to create a folder-hook like... I think this is no mutt issue. I use eisfair and the mail package for it uses exim as SMTP-server. I can configure multiple smarthosts and exim decides by from adress over which smarthost is to be send. Greets Alex -- * http://www.lespocky.de *** Der Mensch, der bereit ist, seine Freiheit aufzugeben um Sicherheit zu gewinnen, wird beides verlieren. /Benjamin Franklin/ signature.asc Description: OpenPGP digital signature
Re: multiple smart hosts
On Sun 22.Jul.07 19:32, Benjamin Eckenfels wrote: Here my question: How do you setup exim4 with multiple smart hosts for mutt? The idea was to create a folder-hook like... [...] Some ideas? Other than the ones already proposed, you could check out the small msmtp package, that lets you relay mail to different smart hosts depending on your From: header. Cheers. -- redondos signature.asc Description: Digital signature
Solved: Re: multiple smart hosts
On Sun, Jul 22, 2007 at 07:51:59PM -0300, Angel Olivera wrote: On Sun 22.Jul.07 19:32, Benjamin Eckenfels wrote: Here my question: How do you setup exim4 with multiple smart hosts for mutt? The idea was to create a folder-hook like... [...] Some ideas? Other than the ones already proposed, you could check out the small msmtp package, that lets you relay mail to different smart hosts depending on your From: header. Thanks, msmtp seems to be exactly what I was looking for. Now I can get rid of this exim4 nightmare at all. *g* Cheers. -- redondos -- Benjamin Eckenfels OpenPGP Key id: CF56E489 Key fingerprint = 386D CBE1 0833 4C12 2871 F51E 839D 18EF CF56 E489 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCF56E489 signature.asc Description: Digital signature
Re: Solved: Re: multiple smart hosts
I've recently started using mutt's builtin smtp. I run a sendmail daemon locally, but I don't always want to submit to local SMTP. I use this config: send2-hook . 'set smtp_url=smtp://localhost/' send2-hook '~f [EMAIL PROTECTED]' 'set smtp_url=smtp://example1.org/' send2-hook '~f [EMAIL PROTECTED]' 'set smtp_url=smtp://example2.org/' ... which might be a useful alternative to exim or msmtp. (Replace 'localhost' with any smtp server you have posting access to.) -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: Solved: Re: multiple smart hosts
On Sun, Jul 22, 2007 at 06:43:00PM -0500, David Champion wrote: I've recently started using mutt's builtin smtp. I run a sendmail daemon locally, but I don't always want to submit to local SMTP. I use this config: send2-hook . 'set smtp_url=smtp://localhost/' send2-hook '~f [EMAIL PROTECTED]' 'set smtp_url=smtp://example1.org/' send2-hook '~f [EMAIL PROTECTED]' 'set smtp_url=smtp://example2.org/' ... which might be a useful alternative to exim or msmtp. (Replace 'localhost' with any smtp server you have posting access to.) Nice. Since I'm stuck with mutt 1.5.13 (debian etch) I didnt realize builtin smtp is available (first in mutt 1.5.15, I think). -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago -- Benjamin Eckenfels OpenPGP Key id: CF56E489 Key fingerprint = 386D CBE1 0833 4C12 2871 F51E 839D 18EF CF56 E489 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCF56E489 signature.asc Description: Digital signature
Re: Solved: Re: multiple smart hosts
On Mon 23.Jul.07 02:31, Benjamin Eckenfels wrote: On Sun, Jul 22, 2007 at 06:43:00PM -0500, David Champion wrote: I've recently started using mutt's builtin smtp. I run a sendmail daemon locally, but I don't always want to submit to local SMTP. Me too, but I haven't fully switched yet, no idea why. :-) Nice. Since I'm stuck with mutt 1.5.13 (debian etch) I didnt realize builtin smtp is available (first in mutt 1.5.15, I think). I'd upgrade to experimental's 1.6.16, its features and bug fixes are closer to what will be 1.7. -- redondos signature.asc Description: Digital signature
Re: Solved: Re: multiple smart hosts
On Sun 22.Jul.07 21:38, Angel Olivera wrote: I'd upgrade to experimental's 1.6.16, its features and bug fixes are closer to what will be 1.7. You know, it's not the first time I confuse 1.5 and 1.6 with 1.6/1.7. (ping Rado). I apologize, I meant that I would upgrade to 1.5.16, which is closer to the future 1.6. I have a serious mental bug here, the 1.6 release should hopefully solve it. -- redondos signature.asc Description: Digital signature
Re: How to organize mail in folders?
On 11Jul2007 17:03, Kai Grossjohann [EMAIL PROTECTED] wrote: | - Receive personal mail and mailing list mail. Tick. Personal email and various announcements land in my +me mailbox. | - Have different strategies for handling mail depending on the address | they were sent to (some mailing lists are less important than most | personal mail, so we don't check for new mail there as often). I have several folders for mailing lists, and several receive multiple lists. Eg my +unix folder gets a bunch of UNIXy lists. I use the X-Label header field to show which list a message came from, inserted by the procmail rule that filed the message. | - Want to archive a large portion of mail. Nightly I roll off anything older than 6 months from folder +foo into +ARCHIVE/foo, for most folders. | - Want to have an overview of messages that still need action of some | type. I flag these (F). Limiting the view to flagged messages (l~Fenter) shows just these in the current folder. | - Don't want the archive to interfere (too much) with this overview. The nightly roll-off mentioned above - the archive is separate folder. -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ Me, I'm looking for obituaries. Lately a gratifyingly large number of my most odious near-contemporaries are achieving their long-deserved quietus. Not enough, and not always the right ones, but their time will come. Peeve: I may not live to see them dead. - Lee Rudolph, [EMAIL PROTECTED]