I need to setup an SMTP relay server. It needs to accept messages as an SMTP server (using SSL and AUTH on a non-standard port) from a single user and single source and then relay them by passing them to a command-line MTA (e.g. /usr/bin/sendmail replacement provided by msmtp).
It only needs to handle a few messages per week, and doesn't need to handle more than one connection at a time. exim? postfix? emailrelay? What I can't figure out for the above is how you configure them to send the mail using a command line MTA like /usr/bin/sendmail or /usr/bin/msmtp instead of initiating a network connection to an SMTP server. I'm currently using something I wrote in Python, but the SSL support in the 3rd party SMTP module is broken and I don't relish trying to fix it. -- Grant Edwards grant.b.edwards Yow! SHHHH!! I hear SIX at TATTOOED TRUCK-DRIVERS gmail.com tossing ENGINE BLOCKS into empty OIL DRUMS ...