On Tue, 24 Jun 2003, Joe wrote: > Satish Balay wrote: > > >On Mon, 23 Jun 2003, joe wrote: > > > > > > > >>Mr. Adam ALLEN wrote: > >> > >> > >> > >>>I've done quite a bit of searching and reading but haven't found an > >>>answer yet. > >>> > >>>AOL.com and RoadRunner block incoming mail from IP's that belong to > >>>residential customers- my ISP's server is a bit flaky at times. > >>> > >>>I want to instruct sendmail (can be convinced to use postfix easily), to > >>>forward mail for specific domains to the ISP's SMTP server, and all > >>>other mail through my own sendmail. > >>> > >>> > >>> > >>Someone has posted the sendmail answer. > >> > >>I recently switched to postfix, so here is the postfix solution in case > >>you are interested: > >> > >>edit /etc/postfix/transport and add the entries for special handling as > >>follows: > >> > >>aol.com my.isps.mail.server > >>roadrunner.com my.isps.mail.server > >> > >>Then type "postmap transport" and you're good to go > >> > >> > > > >How would you do this for an authenticated SMTP server (aka SSL)? I'm > >also interested in this info - as I use postfix locally for my > >outgoing mail. > > > hmm I've never experimented with this - all the > mail servers I've worked with are open for public > connections.... The alternative for me would be to speicfy multiple smtp relays for these special case stuff. Is it possible? something like: aol.com my.isps.mail.server/someother.mail.server/localhost:10025 roadrunner.com my.isps.mail.server/someother.mail.server/localhost:10025 This way postifx-sendmail tries 'my.isps.mail.server' first - if it can't send mail through that - tries 'someother.mail.server' - else - tries the 3rd alternative 'localhost:10025' aka ssh forwared port. The reason for this is - I'm using 'postfix' to send mail from my laptop - and it can be in different netowrks every day (home - ISP - work - WORK) - and they accept unauthenticated relay form within the netowrk (not outside). So either I do this - or have a 3rd party smpt - relay - which is authenticated/ssl. I guess the third alternative for me would be - always use ssh forwared port for this.. which should always work. The reason I hesitate this always rely on this is - I usually forget to start the ssh connection before sending this special mail (and the mail would sit in the posfix queue for ever) aol.com localhost:10025 roadrunner.com localhost:10025 Thanks, Satish