Showing results for 
Search instead for 
Did you mean: 

Firewall sendmail problem


    I am not sure if it is in MFE but it was configured to be a relay server for emails. Incoming/Outgoing mails were relayed to the firewall by my clients Antispam appliance. They are experiencing lots of bounce back emails after upgrading from version to 8.2 and changing their external ip address when they switch to their new ISP. Below are the error messages.

Outgoing email: The errors below happened when one of their user is sending email outside their network.


(host[] said: 550 5.7.1 <>.. Relaying denied. IP name lookup failed [local_ipaddress of their antispam appliance]


Your message did not reach some or all of the intended recipients.


The following recipient(s) cannot be reached: on 10/17/2012 3:12 PM

            You do not have permission to send to this recipient.  For assistance, contact your system administrator.

            < #5.7.1 SMTP; 554 5.7.1 <>: Relay access denied>


did not reach the following recipient(s): on Sun, 7 Oct 2012 09:54:55 +0800

   A configuration error in the e-mail system caused the message to

bounce between two servers or to be forwarded between two recipients.

Contact your administrator.

   < #5.3.5 SMTP; 553 5.3.5 system config error>

Reporting-MTA: dns; Final-Recipient: RFC822; Action: failed Status: 5.3.5 X-Supplementary-Info: < #5.3.5 SMTP; 553 5.3.5 system config error> X-Display-Name:

The firewall sendmail configuration is below.

/etc/mail/mailertable.mta1     zonemailer-internal:localhost   zonemailer-internal:localhost

/etc/mail/mailertable.mta2     smtp:[ipaddressofmyclientsantispam]    smtp:[ipaddressofmyclientsantispam]

/etc/sendmail/access.mta.1  RELAY  REJECT  RELAY  REJECT

/etc/sendmail/access.mta.2  RELAY RELAY

I believe that mta.1 is the external burb while the mta.2 is internal burb right?

1 Reply
Level 13
Report Inappropriate Content
Message 2 of 2

Re: Firewall sendmail problem

If you look in the maillogon the firewall, do you see any relevant entries?

With all the devices involved here, it is difficult to determine which device is denying the mail, though the following message leads me to believe that the firewall might be failing a reverse DNS lookup for the ip address.

Relaying denied. IP name lookup failed [local_ipaddress of their antispam appliance]