[SATLUG] Mail problems

Bruce Dubbs bruce.dubbs at gmail.com
Sun Apr 26 00:29:47 CDT 2009


I've got a problem and am looking for advice.  I set up a new server this week 
and have a problem sending mail to gmail.

The server is a generic postfix server compiled from source.  The only change I 
made to the main.cf file was to add

myhostname = anduin2.linuxfromscratch.org

I've set up dns properly (I think):

$ dig anduin2.linuxfromscratch.org MX

;; QUESTION SECTION:
;anduin2.linuxfromscratch.org.  IN      MX

;; ANSWER SECTION:
anduin2.linuxfromscratch.org. 86400 IN  MX      20 anduin2.linuxfromscratch.org.

;; AUTHORITY SECTION:
linuxfromscratch.org.   86400   IN      NS      ns2.linuxfromscratch.org.
linuxfromscratch.org.   86400   IN      NS      ns.linuxfromscratch.org.

;; ADDITIONAL SECTION:
anduin2.linuxfromscratch.org. 86400 IN  A       66.135.59.49
========
Reverse name lookup works:

$ dig -x 66.135.59.49

;; QUESTION SECTION:
;49.59.135.66.in-addr.arpa.     IN      PTR

;; ANSWER SECTION:
49.59.135.66.in-addr.arpa. 86400 IN     PTR     anduin2.linuxfromscratch.org.
========
I also added an SPF record to the DNS:

anduin2         IN      A       66.135.59.49
                 IN      MX      20 anduin2
                 IN      TXT     "v=spf1 a mx ~all"

I can send to the new server via my ISP MTA and from the server send to some 
accounts.  However, when I send to my account at gmail, I get:

421-4.7.0 [66.135.59.49] Our system has detected an unusual amount of
421-4.7.0 unsolicited mail originating from your IP address. To protect our
421-4.7.0 users from spam, mail sent from your IP address has been temporarily 
421-4.7.0 blocked. Please visit http://www.google.com/mail/help/bulk_mail.html
421 4.7.0 to review our Bulk Email Senders Guidelines.

b39si1072478rvf.58 (in reply to end of DATA command))
                                          bruce.dubbs at gmail.com

I've checked for the ip address being blacklisted at 
http://www.mxtoolbox.com/blacklists.aspx and the ip address seems to be OK.

I'm obviously not a bulk email sender.  I have only tried a few (less than 5) 
messages.  Does anyone have any advice on how I can get gmail to accept my messages?

Thanks,
   -- Bruce


More information about the SATLUG mailing list