1

Topic: Help Verifying Setup

==== Required information ====
- iRedMail version:  v0.3 (MySQL)
- Linux/BSD distribution name and version: ubuntu-precise-12.04
- Related log if you're reporting an issue: None at this time
====
I do apologize as I am new to the linux email environment.
I followed this article but I am attempting to use Amazon SES to sendout.
http://jeffreifman.com/how-to-install-y … -iredmail/

My question is what can I do to verify, troubleshoot the setup.

I was able to send/receive mail at one point but have been messing around with CNAM, MX, and PTR records.
So the issue of noting working now, could be something to do with DNS.

Thanks in advance for any help!

----

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

2

Re: Help Verifying Setup

Error's from http://mxtoolbox.com MX lookup

1. https error: "The underlying connection was closed: An unexpected error occurred on a send.
(https://mydomain.com)"
2. dns error: "mydomain.com     SOA Serial Number Format is Invalid "
3. smtp error: "mail.mydomain.com    Warning - Reverse DNS does not match SMTP Banner "

I'm looking more into this now...

3

Re: Help Verifying Setup

Source: sending but not receiving: http://www.iredmail.org/forum/topic3392 … -them.html

Below are my results:

dig MX mydomain.com
;; QUESTION SECTION:
;mydomain.com.          IN      MX

;; ANSWER SECTION:
mydomain.com.   3600    IN      MX      10 mail.mydomain.com.


dig host mail.mydomain.com

;; QUESTION SECTION:
;mail.mydomain.com.     IN      A

;; ANSWER SECTION:
mail.mydomain.com. 300  IN      A       x.x.x.x (Correct IP)

4

Re: Help Verifying Setup

Results from:

nano /var/log/mail.log 
Mar 26 15:02:24 mail amavis[8553]: (08553-08) (!!)TROUBLE in process_request: Read from client socket FAILED: Connection reset by peer at (eval 96) line 173.
Mar 26 15:02:24 mail amavis[8685]: (08685-09) (!!)TROUBLE in process_request: Error writing a SMTP response to the socket: Connection reset by peer at (eval 97) line 987.
Mar 26 15:02:24 mail amavis[8553]: (08553-08) (!)Requesting process rundown after fatal error
Mar 26 15:02:24 mail amavis[8685]: (08685-09) (!)Requesting process rundown after fatal error
Mar 26 15:02:24 mail postfix/smtpd[10522]: connect from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10522]: NOQUEUE: reject: CONNECT from unknown[unknown]: 554 5.7.1 <unknown[unknown]>: Client host rejected: Access denied; proto=SMTP
Mar 26 15:02:24 mail postfix/smtpd[10522]: lost connection after CONNECT from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10522]: disconnect from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10519]: connect from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10517]: connect from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10517]: lost connection after CONNECT from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10517]: disconnect from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10519]: lost connection after CONNECT from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10519]: disconnect from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10519]: lost connection after CONNECT from unknown[unknown]
Mar 26 15:02:24 mail postfix/smtpd[10519]: disconnect from unknown[unknown]
Mar 26 15:05:44 mail postfix/anvil[10527]: statistics: max connection rate 1/60s for (submission:unknown) at Mar 26 15:02:24
Mar 26 15:05:44 mail postfix/anvil[10527]: statistics: max connection count 1 for (submission:unknown) at Mar 26 15:02:24
Mar 26 15:05:44 mail postfix/anvil[10527]: statistics: max cache size 2 at Mar 26 15:02:24
Mar 26 15:11:05 mail postfix/smtpd[10575]: connect from server.unet.com[83.170.92.95]
Mar 26 15:11:06 mail postfix/smtpd[10575]: 12A302467C: client=server.unet.com[83.170.92.95]
Mar 26 15:11:06 mail postfix/cleanup[10586]: 12A302467C: message-id=<22926885.42432.1395846653942.JavaMail.SYSTEM@server51348>
Mar 26 15:11:07 mail postfix/qmgr[1494]: 12A302467C: from=<b2bmail@b2bmailer.uk>, size=7505, nrcpt=1 (queue active)
Mar 26 15:11:07 mail postfix/smtpd[10575]: disconnect from server.unet.com[83.170.92.95]
Mar 26 15:11:07 mail postfix/smtp[10591]: 12A302467C: to=<myemail@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.7, delays=1.5/0.09/0.13/0, dsn=4.7.4, status=deferred (TLS is requ$

5

Re: Help Verifying Setup

UPDATE: The Error's from http://mxtoolbox.com MX lookup (SMTP Went away after editing the MX record)
1. https error: "The underlying connection was closed: An unexpected error occurred on a send.
(https://mydomain.com)"
2. dns error: "mydomain.com     SOA Serial Number Format is Invalid "

HTTPS: is because I have no SSL cert.
DNS: May have something to do with AWS Route 53: http://docs.aws.amazon.com/Route53/late … cords.html

And I did edit /etc/postfix/main.cf

myhostname = mail.mydomain.com
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname

No fix as of yet, but

nano /var/log/mai.log
Mar 26 16:10:50 mail postfix/master[1483]: reload -- version 2.9.6, configuration /etc/postfix
Mar 26 16:10:50 mail postfix/qmgr[11024]: DE9B82478D: from=<me@mydomain.com>, size=617, nrcpt=1 (queue active)
Mar 26 16:10:50 mail postfix/smtp[11029]: DE9B82478D: to=<myemail@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=335, delays=335/0.06/0/0, dsn=4.7.4, status=deferred (TLS is required, b$
Mar 26 16:11:17 mail postfix/master[1483]: terminating on signal 15
Mar 26 16:11:18 mail postfix/master[11161]: daemon started -- version 2.9.6, configuration /etc/postfix
Mar 26 16:11:18 mail postfix/qmgr[11165]: 1780524684: from=<me@mydomain.com>, size=617, nrcpt=1 (queue active)
Mar 26 16:11:18 mail postfix/smtp[11167]: 1780524684: to=<myemail@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1918, delays=1918/0.06/0/0, dsn=4.7.4, status=deferred (TLS is required,$
Mar 26 16:12:15 mail postfix/smtpd[11182]: connect from mydomain.com[127.0.0.1]
Mar 26 16:12:15 mail postfix/smtpd[11182]: 8F8E624795: client=mydomain.com[127.0.0.1], sasl_method=LOGIN, sasl_username=me@mydomain.com
Mar 26 16:12:16 mail postfix/cleanup[11187]: 8F8E624795: message-id=<1e975a42cf73d1d322b03f98c02cafbd@mydomain.com>
Mar 26 16:12:16 mail postfix/qmgr[11165]: 8F8E624795: from=<me@mydomain.com>, size=622, nrcpt=1 (queue active)
Mar 26 16:12:16 mail roundcube: User me@mydomain.com [108.131.3.158]; Message for myemail@otherdomain.com; 250: 2.0.0 Ok: queued as 8F8E624795
Mar 26 16:12:16 mail postfix/smtp[11167]: 8F8E624795: to=<myemail@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=1.2/0/0.01/0, dsn=4.7.4, status=deferred (TLS is required, b$
Mar 26 16:12:16 mail postfix/smtpd[11182]: disconnect from mydomain.com[127.0.0.1]
Mar 26 16:21:18 mail postfix/qmgr[11165]: 8F8E624795: from=<me@mydomain.com>, size=622, nrcpt=1 (queue active)
Mar 26 16:21:18 mail postfix/qmgr[11165]: DE9B82478D: from=<me@mydomain.com>, size=617, nrcpt=1 (queue active)
Mar 26 16:21:18 mail postfix/smtp[11249]: 8F8E624795: to=<myemail@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=543, delays=543/0.03/0.01/0, dsn=4.7.4, status=deferred (TLS is required$
Mar 26 16:21:18 mail postfix/smtp[11251]: DE9B82478D: to=<myemail@otherdomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=962, delays=962/0.06/0/0, dsn=4.7.4, status=deferred (TLS is required, b$

6

Re: Help Verifying Setup

Excuse me, what problem are you trying to solve?

7

Re: Help Verifying Setup

The main issue is not able to telnet from desktop. Telnet works via SSH. Once that has been resolved, I believe most of the remain issues will go away.

Thank you