1

Topic: Change outgoing SMTP port

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL): 0.7.4 LDAP
- Linux/BSD distribution name and version: Ubuntu 11.10 server
- Any related log? Log is helpful for troubleshooting.
====

I've just found out that my new ISP is blocking port 25 outgoing thus I can no longer send e-mail.
Can you please walk me through changing my outgoing port (in either iRedMail 0.7.4 or postfix)?

Thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Change outgoing SMTP port

Add one line in /etc/postfix/master.cf. For example, listen on port 225:

225       inet  n       -       -       -       -       smtpd

Restarting Postfix service is required.

3

Re: Change outgoing SMTP port

I don't want to change the port iRedMail is listening on, port 25 is OK for that.
I need to change the outgoing port, say to 587 which most mail servers also listen on (as far as I am aware).
I think this is also called smarthost (although I may be mistaken).
Does it need to use SSL or some other encryption / authentication?

Whatever the needs could you please post a walk through to change it on Ubuntu 11.10 server.

Thanks

4

Re: Change outgoing SMTP port

Sorry for my misunderstood. I guess you need Postfix setting "relayhost" in /etc/postfix/main.cf instead. For example:

relayhost = smtp:[other_mail_server]:225

Reference: http://www.postfix.org/postconf.5.html#relayhost