some mail don't get delivered

    • some mail don't get delivered

      I have a strange issue.

      In the past years/month I got successfully mails from my OMV system.
      But in the last couple of weeks sometimes my males got lost.
      it COULD be in conjunction with updating to OMV 4 and Debian 9.

      I am using a dedicated gmail account for sending the mails from my server. (DEDICATED@gmail.com)
      The mail are send to a paid mail server (PRIVATE@example.com), wich again forwards them to another gmail account.

      After some test I thing I can reproduce the issue.

      This works

      Shell-Script

      1. echo $(date); echo -en "From: \"Test\" <DEDICATED@gmail.com>\nSubject: Testmail\n$(date)" | /usr/sbin/sendmail PRIVATE@example.com



      This does not work:

      Shell-Script

      1. echo $(date); echo -en "From: \"Test\" <DEDICATED@gmail.com>\nSubject: Testmail\n$(date)" | /usr/sbin/sendmail root


      Source Code

      1. l 18 23:18:00 magneto postfix/pickup[14553]: 769D7B200CA: uid=0 from=<root>
      2. Jul 18 23:18:00 magneto postfix/cleanup[13797]: 769D7B200CA: message-id=<20190718211800.769D7B200CA@magneto.fritz.box>
      3. Jul 18 23:18:00 magneto postfix/qmgr[2743]: 769D7B200CA: from=<DEDICATED@gmail.com>, size=315, nrcpt=2 (queue active)
      4. Jul 18 23:18:00 magneto postfix/pipe[13800]: 769D7B200CA: to=<openmediavault-notification@localhost.localdomain>, relay=omvnotificationfilter, delay=0.04, delays=0.01/0/0/0.02, dsn=2.0.0, status=sent (delivered via omvnotificationfilterservice)
      5. Jul 18 23:18:01 magneto postfix/smtp[13799]: 769D7B200CA: replace: header Subject: Testmail: Subject: [magneto.fritz.box] Testmail
      6. Jul 18 23:18:01 magneto postfix/smtp[13799]: 769D7B200CA: to=<PRIVATE@example.com>, orig_to=<root>, relay=smtp.gmail.com[108.177.15.108]:587, delay=1.1, delays=0.01/0/0.43/0.63, dsn=2.0.0, status=sent (250 2.0.0 OK 1563484681 u186sm44351703wmu.26 - gsmtp)
      7. Jul 18 23:18:01 magneto postfix/qmgr[2743]: 769D7B200CA: removed




      When I log into DEDICATED@gmail.com I can see all mails in the send folder.
      Even the ones that don't got forwarded.
      When inspecting the "original message" (source code) of the mails in GMail I can see no difference between the ones that get send to PRIVATE@example.com and the ones that don't, except from timestamps and message-IDs.


      My `/etc/postfix/recipient_canonical` looks like this

      Source Code

      1. root PRIVATE@example.com
      2. cwempe PRIVATE@example.com
      3. @magneto.fritz.box PRIVATE@example.com




      `/etc/aliases`

      Source Code

      1. # /etc/aliases
      2. mailer-daemon: postmaster
      3. postmaster: root
      4. [..]
      5. root: cwempe



      Another strange thing, the "to" is empty and only "bcc" is filled in the mails.
      Is this expected?

      forum.openmediavault.org/index…ac325ce5009c264a82e4ae1a9



      Any idea what the cause of this issue could be?


      My system:
      = OS/Debian information
      ================================================================================
      No LSB modules are available.
      Distributor ID: Debian
      Description: Debian GNU/Linux 9.9 (stretch)
      Release: 9.9
      Codename: stretch

      ================================================================================
      = openmediavault information
      ================================================================================
      Release: 4.1.23-1
      Codename: Arrakis

      [..]

      ================================================================================
      = System information
      ================================================================================
      Linux magneto 4.19.0-0.bpo.5-amd64 #1 SMP Debian 4.19.37-4~bpo9+1 (2019-06-19) x86_64 GNU/Linux


      [..]
    • Users Online 1

      1 Guest