NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

clth's avatar
clth
Aspirant
Jan 26, 2023

E-Mail notification is blocked by GMail due to duplicate To headers

ReadyNAS   with OS 6.10.8.

E-Mail alert to my GMail Account is blocked due to  duplicate To-Headers:

>>> DATA (EOM)

<<< 550 5.7.1 [81.169.146.xxx] This message is not RFC 5322 compliant, the issue is: duplicate To headers. To reduce the amount of spam sent to Gmail, this message has been blocked. Please review RFC 5322 specifications for more information. u13-20020adff88d000000b002bfb24e2929si2327678wrp.1011 - gsmtp

 

The duplicate To-Headers in the notification mails are existing  for a longer time, but other providers dont't block it.

 

Any idea?

Claus

3 Replies

  • NiveditaP's avatar
    NiveditaP
    NETGEAR Moderator

    Hello clth , 
      
    And welcome to the NETGEAR Community! 🙂 
    Could you please update your alert configurations.

     

    Root cause of issue can be :
    Multiple lines with To tag is added while readynasd sends test message on Multiple Mail Ids, so it is violating the below rule of IONOS Mail Servers.
    "The following header lines may only exist once: From, Sender, To, CC, Subject" .
    For solving this issue firmware change in Readynasd will be required to remove mutilpe lines with To tag from its Header.
    It's very clear this is the limitation of mail system: gmx.de, the mail server rejects the message with multiple receivers.
    ReadyNAS is just a client to send message and it works with very common mail services: gmail, and outlook.
    We use two config files used for sending test alert message.
    1) /etc/msmtp -> for configuration of email server account.
    2) /etc/frontview/alert.conf -> for configuration of alert contacts.
      
    Have a lovely day, 
    Nivedita Pa
    Netgear Team 

    • StephenB's avatar
      StephenB
      Guru

      NiveditaP wrote:


      It's very clear this is the limitation of mail system: gmx.de, the mail server rejects the message with multiple receivers.
      ReadyNAS is just a client to send message and it works with very common mail services: gmail, and outlook.


      I am using yahoo mail to send alerts, configuring both my yahoo and my gmail address as Alert Contacts I also see blocked messages from gmail due to non-compliant headers in my yahoo email.

       

      Sorry, we were unable to deliver your message to the following address.
      <XXXX>
      550: 5.7.1 [98.137.65.148] This message is not RFC 5322 compliant, the issue is:
      5.7.1 duplicate To headers. To reduce the amount of spam sent to Gmail,
      5.7.1 this message has been blocked. Please review
      5.7.1  RFC 5322 specifications for more information. l12-20020a170903120c00b001961fc1ba30si13804779plh.120 - gsmtp
       
      So I think there is a bug here in the ReadyNAS when you have multiple alert contacts.  
       
      clth: how many alert contacts do you have configured?
       
      • clth's avatar
        clth
        Aspirant

        how many alert contacts do you have configured?

         

        I had 2 contacts cofigured.
        I tried to delete one of them several times, but that didn't work - the second one came up back immediately.
        Fortunately Netgear allows direct acces to the whole file system via ssh (I love that feature).
        So I took a look at /etc/aliases and there were 2 destinations for default.
        After reducing the alias to one entry it seems to work.

         

        Thx and best regards

        Claus

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More