RYAN vAN GINNEKEN wrote:
Hello all i need to change the outgoing port used by postfix from 25 to 325.
I need to do this as my isp blocks outgoing port 25 however my incoming isp
forwards port 325
I know this has been discussed many times on many lists but i cannot get any of the posted solutions to work. Maybe i am encountering a different problem??
Here is a the simple break down need to send mail out on port 325
there is a firewall that is allowing all outbound traffic. As you can see from
the output of the telnet command below that i can access the email server i
wish to send mail to with port 325.
telnet mx1.canmail.org 325
Trying 66.244.200.225...
Connected to mx1.canmail.org.
Escape character is '^]'.
220 mx1.canmail.org ESMTP Postfix
*****I have tried changing this in master.cf but is does not work think smtpd is inbound anyway.
#smtp inet n - - - - smtpd
325 inet n - - - - smtpd
you are changing the port on which _your_ smtpd is listening. undo the
change.
Sep 18 19:05:45 bao postfix/smtp[8072]: 767BF32092: to=<[EMAIL PROTECTED]>,
relay=none, delay=2113, delays=2083/0.07/30/0, dsn=4.4.1, status=deferred (connect to
mx1.canmail.org[66.244.200.225]:25: Connection timed out)
*****I have also tried this thinking this might control outbound port but it
does not work
#smtp unix - - - - - smtp
325 unix - - - - - smtp
you have renamed the smtp transport. now its name is "325". undo the
change.
Sep 18 19:08:31 bao postfix/pickup[8172]: 12D7B32094: uid=1000
from=<c0mputerking>
Sep 18 19:08:31 bao postfix/cleanup[8190]: 12D7B32094: message-id=<[EMAIL
PROTECTED]>
Sep 18 19:08:31 bao postfix/qmgr[8174]: 12D7B32094: from=<[EMAIL PROTECTED]>,
size=343, nrcpt=1 (queue active)
Sep 18 19:08:31 bao postfix/qmgr[8174]: warning: connect to transport smtp:
Connection refused
Sep 18 19:08:31 bao postfix/error[8192]: 12D7B32094: to=<[EMAIL PROTECTED]>,
relay=none, delay=0.11, delays=0.08/0.01/0/0.02, dsn=4.3.0, status=deferred (mail
transport unavailable)
since you renamed your smtp transport, postfix can't find it anymore!
put everything back to how you found it and use
relayhost = [boa.computerking.ca]:325
in your master.cf
*****I have tried adding this to my master.cf file but always get errors in my
mail.log like below
* smtp:[boa.computerking.ca]:325
fatal: /etc/postfix/master.cf: line 26: bad transport type:
smtp:[boa.computerking.ca]:325
stop doing random changes. read the docs.