andyc
11th September 2009, 01:51
hi guys,
Got a problem with my postfix install.
I used Falcos superb guide on my last centos 4 serer and it worked sweetly. But I am not having the same luck this time with a new server!!
basically, I can recieve and send emails internally.
i can send emails externally.
but I cannot recieve any mails from outside to my email accounts on the server.
I am scratching my head big time and seeking help or guidance before I go insane!
The DNS mx record is set to mail.mydomain.co.uk
Maillog is not showing errors for incoming mails, its just not showing anything!!
I have attached some results from a few commands, the netstat -tap results have me a bit puzzled as there are a lot of things 'holiding'.. not sure if this is right!?
Also, the results for my
telnet localhost 25
After you have established the connection to your Postfix mail server type
ehlo localhost
If you see the lines
250-STARTTLS
and
250-AUTH PLAIN LOGIN
everything is fine.
[root@server1 ssl]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 server1.example.com ESMTP Postfix
ehlo localhost
250-server1.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@server1 ssl]#
differ slightly as they are
220 mail.mydomain.co.uk ESMTP Postfix
ehlo localhost
250-mail.mydomain.co.uk
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 PLAIN DIGEST-MD5 LOGIN GSSAPI
250-AUTH=CRAM-MD5 PLAIN DIGEST-MD5 LOGIN GSSAPI
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
Virtual.db is all updated
Also, I keep getting an email from root for a cron job saying
Reporting-MTA: dns; mail.mydomain.co.uk
X-Postfix-Queue-ID: DD291170286
X-Postfix-Sender: rfc822; office@domaina.com
Arrival-Date: Wed, 9 Sep 2009 18:53:00 -0400 (EDT)
Final-Recipient: rfc822; domaina@server1.mydomain.co.uk
Original-Recipient: rfc822;domaina@server1.mydomain.co.uk
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for server1.mydomain.co.uk loops back to
myself
:mad:
All help appreciated.. :cool:
Got a problem with my postfix install.
I used Falcos superb guide on my last centos 4 serer and it worked sweetly. But I am not having the same luck this time with a new server!!
basically, I can recieve and send emails internally.
i can send emails externally.
but I cannot recieve any mails from outside to my email accounts on the server.
I am scratching my head big time and seeking help or guidance before I go insane!
The DNS mx record is set to mail.mydomain.co.uk
Maillog is not showing errors for incoming mails, its just not showing anything!!
I have attached some results from a few commands, the netstat -tap results have me a bit puzzled as there are a lot of things 'holiding'.. not sure if this is right!?
Also, the results for my
telnet localhost 25
After you have established the connection to your Postfix mail server type
ehlo localhost
If you see the lines
250-STARTTLS
and
250-AUTH PLAIN LOGIN
everything is fine.
[root@server1 ssl]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 server1.example.com ESMTP Postfix
ehlo localhost
250-server1.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@server1 ssl]#
differ slightly as they are
220 mail.mydomain.co.uk ESMTP Postfix
ehlo localhost
250-mail.mydomain.co.uk
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 PLAIN DIGEST-MD5 LOGIN GSSAPI
250-AUTH=CRAM-MD5 PLAIN DIGEST-MD5 LOGIN GSSAPI
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
Virtual.db is all updated
Also, I keep getting an email from root for a cron job saying
Reporting-MTA: dns; mail.mydomain.co.uk
X-Postfix-Queue-ID: DD291170286
X-Postfix-Sender: rfc822; office@domaina.com
Arrival-Date: Wed, 9 Sep 2009 18:53:00 -0400 (EDT)
Final-Recipient: rfc822; domaina@server1.mydomain.co.uk
Original-Recipient: rfc822;domaina@server1.mydomain.co.uk
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for server1.mydomain.co.uk loops back to
myself
:mad:
All help appreciated.. :cool: