[exim] Bind to IP address for outgoing mail

Top Page
Delete this message
Reply to this message
Author: Alain Williams
Date:  
To: Exim Users
Subject: [exim] Bind to IP address for outgoing mail
I have recently taken over an email list run with mailman.
Some 50 odd mails/day with 175 users, about 40 of which are gmail users.

google has started complaining

    SMTP error from remote mail server after RCPT TO:<XXXX@???>: host gsmtp147.google.com [209.85.147.27]: 450-4.2.1 The user you are trying to contact is receiving mail at a rate
    450-4.2.1 that prevents additional messages from being delivered. Please
    450-4.2.1 resend your message at a later time. If the user is able to
    450-4.2.1 receive mail at that time, your message will be delivered.
    450-4.2.1 For more information, please visit
    450 4.2.1 http://mail.google.com/support/bin/answer.py?answer=6592


And then later:

    2009-02-06 17:29:26 1LVUNx-0007Uw-N6 == YYYY@??? R=dnslookup T=remote_smtp defer (0): SMTP error from remote mail server after initial connection: host
    alt2.gmail-smtp-in.l.google.com [209.85.217.181]: 421-4.7.0 [80.68.91.63] Our system has detected an unusual amount of 421-4.7.0 unsolicited mail originating
    from your IP address. To protect\n421-4.7.0 our users from spam, mail sent from your IP address has been\n421-4.7.0 temporarily blocked.
    Please visit http://www.google.com/mail/help/bul\n421 4.7.0 k_mail.html to review our Bulk Email Senders Guidelines. 6si2864301gxk.51


The mail server hosts several domains (web and mail). It has one IP address where the reverse DNS has nothing to do with the domain
that is causing problems. I have been offered an extra IP address - I could make that have a reverse IP address that was in the domain.
However: I don't believe that there is a way of getting exim to bind to a particular address for a specific router or transport.

We are adding SPF records to the domain that include the mail server.

Any other suggestions ?

--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>