New box config blindness

From: Kurt Buff (no email)
Date: Fri Apr 06 2007 - 18:23:58 EDT

  • Next message: Wietse Venema: "Re: New box config blindness"

    All,

    I'm putting together a new box -this is a gateway box, with no local
    mailstore - and during testing I've come across a problem that I'm beating
    my head against. System-generated mails are not getting anywhere. I verified
    this with an 'at' command that mails a file: 'mx1# at -f /root/mailme -m
    14:50', where the file /root/mailme consists of a single line:

         sendmail -f <
    /usr/local/etc/postfix/master.cf

    I get the email at my Exchange box, but the system-generated mail that I
    should be getting from the 'at' command is getting hammered.

    Help much appreciated!

    The errors from the logs are:

    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tE005191: from=root, size=46,
    class=0, nrcpts=1, msgid=<>,
    relay=root at localhost
    Apr 6 14:50:01 mx1 postfix/smtpd[5194]: connect from
    localhost.zetron.com[127.0.0.1]
    Apr 6 14:50:01 mx1 postfix/smtpd[5194]: NOQUEUE: reject: RCPT from
    localhost.zetron.com[127.0.0.1]: 550 5.1.1 <>: Recipient
    address rejected: User unknown in relay recipient table;
    from=<> to=<> proto=ESMTP
    helo=<mx1.zetron.com>
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tE005191: to=kbuff, ctladdr=root
    (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30046,
    relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tE005191: l36Lo1tF005191: DSN:
    User unknown
    Apr 6 14:50:01 mx1 postfix/smtpd[5194]: NOQUEUE: reject: RCPT from
    localhost.zetron.com[127.0.0.1]: 550 5.1.1 <>: Recipient
    address rejected: User unknown in relay recipient table; from=<>
    to=<> proto=ESMTP helo=<mx1.zetron.com>
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tF005191: to=root, delay=00:00:00,
    xdelay=00:00:00, mailer=relay, pri=31070, relay=[127.0.0.1] [127.0.0.1],
    dsn=5.1.1, stat=User unknown
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tF005191: l36Lo1tG005191: return
    to sender: User unknown
    Apr 6 14:50:01 mx1 postfix/smtpd[5194]: NOQUEUE: reject: RCPT from
    localhost.zetron.com[127.0.0.1]: 550 5.1.1 <>:
    Recipient address rejected: User unknown in relay recipient table; from=<>
    to=<> proto=ESMTP helo=<mx1.zetron.com>
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tG005191: to=postmaster,
    delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32094, relay=[127.0.0.1]
    [127.0.0.1], dsn=5.1.1, stat=User unknown
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tF005191: Losing
    ./qfl36Lo1tF005191: savemail panic
    Apr 6 14:50:01 mx1 sendmail[5191]: l36Lo1tF005191: SYSERR(root): savemail:
    cannot save rejected email anywhere

    Postconf -n is:

    alias_database = hash:/usr/local/etc/postfix/aliases
    alias_maps = hash:/usr/local/etc/postfix/aliases
    command_directory = /usr/local/sbin
    config_directory = /usr/local/etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/local/libexec/postfix
    debug_peer_level = 2
    html_directory = no
    inet_interfaces = all
    local_recipient_maps =
    mail_owner = postfix
    mailq_path = /usr/local/bin/mailq
    manpage_directory = /usr/local/man
    mydestination =
    mydomain = zetron.com
    myhostname = zmx1.zetron.com
    mynetworks = 127.0.0.0/8 192.168.10.12/32
    192.168.10.20/32 192.168.8.73/32 192.168.8.88/32
    192.168.10.225/32 192.168.10.243/32
    192.168.10.245/32
    myorigin = $mydomain
    newaliases_path = /usr/local/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = no
    relay_domains = $mydestination, $mydomain
    relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients
    sample_directory = /usr/local/etc/postfix
    sendmail_path = /usr/local/sbin/sendmail
    setgid_group = maildrop
    smtpd_banner = $myhostname ESMTP $mail_name
    smtpd_data_restrictions = reject_multi_recipient_bounce
    smtpd_recipient_restrictions = reject_non_fqdn_recipient
    reject_non_fqdn_sender reject_unknown_sender_domain
    reject_unknown_recipient_domain permit_mynetworks
    reject_unauth_destination check_recipient_access
    hash:/usr/local/etc/postfix/roleaccount_exceptions
    reject_non_fqdn_hostname reject_invalid_hostname check_helo_access
    pcre:/usr/local/etc/postfix/helo_checks permit
    strict_rfc821_envelopes = yes
    transport_maps = hash:/usr/local/etc/postfix/transport
    unknown_local_recipient_reject_code = 550

    Kurt Buff
    Lead Network Administrator
    Zetron, Inc.
    425.820.6363 x463

    PO Box 97004
    Redmond, WA 98073

      


  • Next message: Wietse Venema: "Re: New box config blindness"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD