Solved

Debian Etch - Postfix - mailname different from hostname - is this a problem?

Posted on 2008-10-08
4
1,358 Views
Last Modified: 2013-12-09
We are installing a Debian Etch server with Postfix as the mail server. During the test all seams fine except sending emails to some servers. Sending to certain addresses it looks like the email has been sent but never arrives to the destination mailbox.

In the mail.log it sais : "...lnxsrv postfix/smtp[6065]: .......to=<tom@targetdomain.com.au>, relay=targetdomain.com.au[...]:25, delay=31072, delays...,dns=4.4.2, status =deferred (lost connection with targetdomain.com.au[202....] while receiving the initial server greeting)

In the mx record the server is office.clientdomain.com.au while the actual hostname of the server is lnxsrv, fqdn is lnxsrv.clientdomain.com.au. I have tried it with mailname set to lnxsrv and also with setting it to office, neither seam to resolve the issue.
The client can send email to servers not hooked up with postini service, but not to the one using postini spam/AV filtering service.

any clues?

TIA,

Tom
0
Comment
Question by:tom_szabo
  • 2
4 Comments
 
LVL 19

Accepted Solution

by:
bevhost earned 500 total points
ID: 22683345
Check that the Servers Name (HELO greeting it sends) is a name that can be looked up in the DNS.
Check that it resolves to your server.

Also check that the Reverse DNS for your server also has a matching A record pointing back to the Server.

See Section 2.1 of...
http://www.faqs.org/rfcs/rfc1912.html
0
 
LVL 19

Expert Comment

by:bevhost
ID: 22683355
I once had a client who was sending emails from a .com.au email address from a computer that had a .co.nz server name and the IP address whois was owned by a japanese ISP.

He wondered why I was blocking his emails.

I used a package called policyd-weight to do this checking.
I imagine that postini does similar things.
0
 
LVL 13

Expert Comment

by:Xyptilon2
ID: 22855853
Initiate a manual conversation with the receiving mailserver (MX record) using a telnet based program. Or if you can, enable conversation logging with a program like "recordio" to debug the issue.

Reverse DNS lookups are sometimes done as an anti-spam measure, if it doesn't match a match is flagged, or sometimes even blocked. To make this match with the IP in the header of the email, ask the manager of your IP range (not the DNS provider, although sometimes it's the same person) to setup a PTR record for your IP address mapping back to your FQDN.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now