On Thu, Apr 26, 2001 at 10:14:11PM +0200, Rod Pike typed:
> This is probably off topic and more related to sendmail but is anybody
> using mutt to upload mail to different mailservers. I have two
> mailservers I download from but I currently only know how to configure
> mutt and sendmail to send mail through one server.
> Can a send hook be used so that ultimately, a different mail server will
> be used to send the mail?
If you follow a consistent pattern in this, you could set up a
mailertable on your local sendmail
domain1.com relay:mail.domain1.com
domain2.org relay:smtp.somewhere.com
Your normal smarthost would remain the same.
However, what's the need for this? As long as the smtp server you
are using allows you to relay through it, I dont see any reason for
changing the smtp server for each mailserver ... use the same smtp
server and use set envelope_from in your .muttrc
ps - Check out Andrzej Filip's posts on comp.mail.sendmail - I
think he has posted a more elegant solution to this one.
-s
--
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin