This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP relay not allowing anything in

First of all the error:

554 554 5.7.1 : Relay access denied (state 14).

The above is the error I get when trying to send externally to an internal address. (for example from gmail to a company address)

I've configured all the domains we use as well as set a static host list and pointed it to our exchange server at 192.168.0.1.

Is there any setting that might cause this to occur?

I had this occur on me whilst doing a live test today (end of day when everyone has gone home, plugged in the astaro 220 got everything working but incoming email.. obviously moved it back to the old firewall)

I'll do some further tests at work tomorrow (obviously), but any suggestions on where I might be going wrong are more than welcome.


This thread was automatically locked due to age.
Parents

  • 554 554 5.7.1 : Relay access denied (state 14).


    ASG does not produce such messages. Are you sure all the incoming mail arrives on the ASG?

    What is the real domain used? Please do not obsfucate.
  • Mark, I'm confused: does email get rejected with a "554 5.7.1" message, or does it come "straight though"?

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Mark, I'm confused: does email get rejected with a "554 5.7.1" message, or does it come "straight though"?

    Cheers - Bob


    Do you mean is it giving the error to the sender but still being received by the recipient? In which case no, it's giving the sender the error and the recipient is getting nothing.

    I did a different test last night as well, this is from another email provider in its entirety. (true email address changed to avoid spam harvesters)



    --ApZbf.4MJbZusrh.1wQDdh.YPHSVr
    content-type: text/plain;
        charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable

    The following message to  was undeliverable.
    The reason for the problem:
    5.1.0 - Unknown address error 554-'5.7.1 : Relay =
    access denied'

    --ApZbf.4MJbZusrh.1wQDdh.YPHSVr
    content-type: message/delivery-status

    Reporting-MTA: dns; mk-outboundfilter-3.mail.uk.tiscali.com

    Final-Recipient: rfc822;abc@jadeprint.com
    Action: failed
    Status: 5.0.0 (permanent failure)
    Remote-MTA: dns; [194.217.242.9]
    Diagnostic-Code: smtp; 5.1.0 - Unknown address error 554-'5.7.1 : Relay access denied' (delivery attempts: 0)

    --ApZbf.4MJbZusrh.1wQDdh.YPHSVr
    content-type: message/rfc822

    Received: from mk-nildram-webmail-1.uk.tiscali.com (HELO UebiMiau) ([212.139.135.3])
      by smtp.f2s.tiscali.co.uk with SMTP; 14 Oct 2008 17:48:48 +0100
    Received: from mk-nildram-webmail-1.uk.tiscali.com (HELO UebiMiau) ([212.139.135.3])
      by smtp.f2s.tiscali.co.uk with SMTP; 14 Oct 2008 17:48:48 +0100
    Received: from client 62.49.116.50 for UebiMiau2.7 (webmail client); Tue, 14 Oct 2008 17:48:47 +0100
    Date: Tue, 14 Oct 2008 17:48:47 +0100
    From: "abc" 
    X-Webmail-User: 43454b3b3b4235566479547221654e4a4b7e652054
    To: abc@jadeprint.com
    Reply-to: "abc" 
    Subject: test
    X-Priority: 3
    X-Mailer: UebiMiau 2.7.2
    X-Original-IP: 62.49.116.50
    Content-Transfer-Encoding: 8bit
    Return-Path: abc@gotadsl.co.uk
    X-MSMail-Priority: Medium
    Importance: Medium
    Content-Type: text/plain; charset="iso-8859-1";
    MIME-Version: 1.0

    test

    ________________________________________________
    Message sent using UebiMiau 2.7.2


    --ApZbf.4MJbZusrh.1wQDdh.YPHSVr--


    I've just installed astaro in vmware workstation, so I've started experimenting without the fear of breaking the 220 demo hardware.

    I'm approaching this slightly different as to how it was recommended to me, using the wizard this time.
  • Mark,

    Check that your reverse DNS record is correct.  As an experiment, what happes if you uncheck BATV?

    And, I still don't understand how you received an email from your gmail account if email from gmail is rejected...

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Looks like you have 3 entries for mx records. From the IP provided in your mail headers, the denying mta is at 194.217.242.9 (your second mx relay-1.mail.demon.net). This is the relay that is denying your mail not astaro.

    All your mail should be going to the first mx but its not so your astaro is not live on the net for some reason if that is your first mx.

    HTH[:D]
  • Mark,

    Check that your reverse DNS record is correct.  As an experiment, what happes if you uncheck BATV?

    And, I still don't understand how you received an email from your gmail account if email from gmail is rejected...

    Cheers - Bob


    I didn't receive any email from gmail, just the 554 gmail generated error.

    Apologies as I'm typing this up on my iPhone, so sorry for the short reply.

    As to other mx's if it was being rejected a that point then surely it wouldn't work with our current firewall?

    Also, I've had the thought that incoming emails come to 62.49.116.52 whilst the firewalls ip is 62.49.116.50, however we've got a netmask of 255.255.255.248 so it shouldn't matter. Right?
  • Billybob's got it right.  Your Astaro isn't receiving emails.  It's only telling the world that x.x.x.50 is available, so your emails are going to your second mx.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I
    As to other mx's if it was being rejected a that point then surely it wouldn't work with our current firewall?
    255.255.255.248 so it shouldn't matter. Right?


    Its not as to other, IT IS your mx2 that is rejecting the mail according to the snippet you sent. You can bang your head against other things but that is the one that rejected the email that you provided. Maybe a configuration check on mx2 is in order?
  • Regarding the mx stuff, I've just gone over the domains and have added the demon and netbenefit mx addresses. I will come in to work early tomorrow morning and try again.

    I can only do these tests on our line when nobody is in.
Reply
  • Regarding the mx stuff, I've just gone over the domains and have added the demon and netbenefit mx addresses. I will come in to work early tomorrow morning and try again.

    I can only do these tests on our line when nobody is in.
Children
No Data