I did this with an old ISP that blocked port 25. 
In my case, I had my dynamic dns provider store and 
forward to my server on an alternate port. I used
1054, but use whatever you'd like.

modify /etc/services
add a new service (say smtp2) with port 1054.
leave smtp at 25

modify /etc/postfix./master.cf
change the line that reads

"smtp inet n - n - - smtpd"
to
"smtp2 inet n - n - - smtpd"

Do a postfix reload and you should be good to go.
No changes are needed to ensure local users get their mail.

Brandon
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Russell W. Behne
> Sent: Saturday, August 30, 2003 2:47 AM
> To: [EMAIL PROTECTED]
> Subject: [expert] reassigning ports
> 
> 
> I want to run my mailserver on a nonstandard port ---other than port 25. 
> How can I reconfigure postfix to run on port 26? And are there any other 
> things that are needed to make sure that mail arriving on this port gets 
> properly delivered to local users? (Don't worry about the sender, 
> that's another issue entirely.) Thanks!
> 
> -- 
> Mit freundlichen Gr en,
> Russ.
> *-----------------------------------------------------------------
> --------*
> |P.S.  My wife & I collect _unusual_ ethnic recipes. If you have 
> something|
> |  interesting please email it to me along with info & country of 
> origin, |
> |  and please put this anywhere on the Subject line:   
> ethnicrecipe       |
> |  Thanks!                                                        
>         |
> *-----------------------------------------------------------------
> --------*
> |                   http://www.TruthAboutWar.org                  
>         |
> | What is freedom, really? See this great flash presentation:     
>         |
> |            http://www.isil.org/resources/introduction.swf       
>         |
> *-----------------------------------------------------------------
> --------*
> |              -----=====[Russell's Quotes 1]=====-----           
>         |
> | Who is rich? He that rejoices in his Portion.                   
>         |
> *-----------------------------------------------------------------
> --------*
> |              -----=====[Russell's Quotes 2]=====-----           
>         |
> | If thou do what you should not, you must hear what you would 
> not.       |
> *-----------------------------------------------------------------
> --------*
> 
> 
> 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to