Selecting a SMTP Before Sending

Derek Broughton news at
Sun Aug 19 20:27:55 UTC 2007

Arnold Pietersen wrote:

> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> </head>
> <body bgcolor="#ffffff" text="#000000">

Please don't use HTML to send to mail lists.

> <font size="+1">Is there any way that one can select a SMTP before
> sending mail?  <br>

There are numerous solutions, but you haven't given us enough information. 
Most mail programs allow you to select from a number of accounts or
identities for sending - so we need to know which mail program.

For an MUA-independent solution, I use masqmail as a local SMTP server (so
my mail client always sends mail to localhost:25, which detects my current
location and forwards it to the appropriate server.  When at work, it's
even smart enough to send internal mail to the LAN's SMTP server, and
external mail to Gmail.

More information about the ubuntu-users mailing list