sean darcy wrote:
I've have an asterisk voip server that receives faxes and converts them
to pdf. What I then want to do is email the pdf's to my two mailboxes -
one on 1and1.com, the other on gmail.
My ISP, ATT blocks port 25. I think if I just send the email to port 587
( which is how I've configured Thunderbird ) this should work.
I'm using Fedora 9, which come with sendmail as the default MTA. I've
spent a lot of time avoiding learning how to use or configure an MTA.
Looking at the sendmail docs, it's clear postfix is a _lot_ easier to
configure. So, I'm switching.
But I still haven't figured out how to just set the outgoing port to 587.
Any help appreciated.
sean
You can look at using transport_maps in main.cf, here's an example:
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transports
/etc/postfix/transports:
gmail.com smtp:[smtp.gmail.com]:587
1and1.com smtp:[smtp.1and1.com]:587
After you make these changes you'll need to postmap the transports file
and reload postfix's configuration.
J.P.