Automic Workload Automation

Expand all | Collapse all

Mail and SMTP

  • 1.  Mail and SMTP

    Posted 04-09-2018 05:58 AM
    Sending mails via SEND_MAIL faisl with the following error message:
    U00050028 SMTP-server 'abc.company.com' rejected receiver: 'sender@company.com'
    How to correctly send mails:
    There is s special trace-option to see the SMTP-communication:
    • WP set TCP/IP to 7
    • For Windows- and Linux-Agents there is an own Trace-Parameter MAIL

    Example:

    20170310/085204.985 - Before call ucsmtp_sendMail2
    20170310/085205.032 - SMTP recv: 220 mail1.automic.com ESMTP Ready
    20170310/085205.032 - SMTP send: EHLO vwgsupxy
    20170310/085205.032 - SMTP recv: 250-mail1.automic.com Hello vwgsup18 (192.168.123.123)
    20170310/085205.032 - SMTP recv: 250 SIZE
    20170310/085205.032 - SMTP send: MAIL FROM:<support@automic.com>
    20170310/085205.032 - SMTP recv: 250 sender ok <support@automic.com>
    20170310/085205.032 - SMTP send: RCPT TO:<jac@automic.com>
    20170310/085205.047 - SMTP recv: 250 recipient ok <xyz@automic.com>
    20170310/085205.047 - SMTP send: DATA
    20170310/085205.047 - SMTP recv: 354 send the mail data, end with .
    20170310/085205.047 - SMTP send: Date: Fri, 10 Mar 2017 08:52:04 +0100
    20170310/085205.047 - SMTP send: From: <support@automic.com>
    20170310/085205.047 - SMTP send: To: <jac@automic.com>
    20170310/085205.047 - SMTP send: Subject: Betreff
    20170310/085205.047 - SMTP send:
    20170310/085205.047 - SMTP send: Text
    20170310/085205.047 - SMTP send: .
    20170310/085205.266 - SMTP recv: 250 B58c25b250000 Message accepted for delivery
    20170310/085205.266 - SMTP send: QUIT
    20170310/085205.266 - SMTP recv: 221 mail1.automic.com closing connection
    20170310/085205.266 - After call ucsmtp_sendMail2
    Remark: Call-Objects are always sent via a WP.



  • 2.  Mail and SMTP

    Posted 04-09-2018 06:07 AM
    U00050028 SMTP-Server 'abc.company.com' hat Empfänger abgelehnt: 'sender@company.com'
    I have the sneaking suspicion that most English speaking forum readers are less likely to encounter the titular message in German (plus, the article itself has some German bits in it), so with the help of ucx.msl, let's translate that message:

    SMTP server 'whatever.example.com' rejected receiver: 'sender@company.com'

    ("Receiver" of course meaning "recipient" ...).

    The article does little to actually explain the true problem here: The receiving server has rejected the sender, usually this is based on anti spam rules. The most common reason is that the sender's IP address does not properly reverse-resolve in DNS, and/or does not have a properly resolving domain. Beyond that, one might bounce into any anti-spam measure known to man.

    The solution usually is to use your organisation's properly DNS-registred mail server as a SmartHost, by configuring the local MTA on the machine Automic uses to send mails to relay via that Smart Host (Sendmail: DS macro, any other software: google is your friend).

    Hth,