1 (edited by unholyknightz 2014-11-17 12:48:52)

Topic: iRedmail with with Amazone Mail Service

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend :MySQL
- Linux/BSD distribution name and version:  Centos 6.5 x64
====

I'm having trouble with Relay Mail Server. I'm following this Guide to setup Relay server: http://docs.aws.amazon.com/ses/latest/D … stfix.html .
Everything is ok, except log 127.0.0.1[127.0.0.1]:2525: Connection refused.
I tried telnet localhost 2525
Result:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
I don't know what cause this problem.

I sent a test mail from SES Management Console. no problem. This problem only occur when i try to send a mail from Roundcube ... sad

Here is my config in main.cf
--------------
## Amazone Mail Service Config
#relayhost = email-smtp.us-east-1.amazonaws.com
#smtp_sasl_auth_enable = yes
#smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
#smtp_tls_security_level = encrypt
smtp_tls_note_starttls_offer = yes

relayhost = 127.0.0.1:2525
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = may
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
#smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
--------------

----

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

2

Re: iRedmail with with Amazone Mail Service

Which service is running on port 2525? iRedMail doesn't use this port by default.

== UPDATE ==
You should follow Amazon tutorial strictly:
http://docs.aws.amazon.com/ses/latest/D … stfix.html

Port 2525 is secure tunnel as mentioned in Amazon tutorial, you can use either step #1 or step #2 to achieve relayhost. Please read the tutorial carefully.

3

Re: iRedmail with with Amazone Mail Service

Thank you. My bad smile. Thanks for help me out big_smile