delay_warning_time not honored

From: (no name) (no email)
Date: Thu Nov 05 2009 - 06:23:11 EST

  • Next message: Ralf Hildebrandt: "Re: Postmap question"

    Hello

    today i detected a mail lingering in the queue since around 24h. The
    warning_delay_time is set to 12h but there was no warning message to
    the sender until yet. So i used postcat to inspect the message and get
    the following:

    *** ENVELOPE RECORDS deferred/9/900086FA13 ***
    message_size: 29109 754 1
         12 29109
    message_arrival_time: Wed Nov 4 10:58:27 2009
    create_time: Wed Nov 4 10:58:27 2009
    named_attribute: rewrite_context=remote
    named_attribute:
    envelope_id=FR_AN_0001M[r[k at fyki38zbeCpm8B0aNJjbVwFR_AN[_[_[__0001M[qQ15
    sender:
    named_attribute: log_client_name=xxxxx.hq.kwsoft.de
    named_attribute: log_client_address=x.x.x.x
    named_attribute: log_client_port=1349
    named_attribute: log_message_origin=xxxxx.hq.kwsoft.de[x.x.x.x]
    named_attribute: log_helo_name=xxxxxx
    named_attribute: log_protocol_name=ESMTP
    named_attribute: client_name=xxxxx.hq.kwsoft.de
    named_attribute: reverse_client_name=xxxxx.hq.kwsoft.de
    named_attribute: client_address=x.x.x.x
    named_attribute: client_port=1349
    named_attribute: helo_name=xxxxx
    named_attribute: client_address_type=2
    warning_message_time: Thu Jan 1 01:00:00 1970
    named_attribute: notify_flags=6

    I fired up a second message to the same destination (DNS timeouts) and
    get what is expected:

    *** ENVELOPE RECORDS deferred/5/5B6556FEC9 ***
    message_size: 1779 646 1
          0 1779
    message_arrival_time: Thu Nov 5 12:09:51 2009
    create_time: Thu Nov 5 12:09:51 2009
    named_attribute: rewrite_context=remote
    warning_message_time: Fri Nov 6 00:09:51 2009

    Any ideas what was wrong with the first message so it get the wrong
    warning time??

    I have checked if postfix was restarted or if there are any errors in
    the logfile around the submission of the first one, but nothing found.

    postconf -n

    biff = no
    bounce_queue_lifetime = 2d
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    debug_peer_level = 2
    delay_warning_time = 12h
    fast_flush_domains =
    html_directory = /usr/share/doc/packages/postfix/html
    inet_interfaces = all
    inet_protocols = ipv4
    local_recipient_maps = $alias_maps
    mail_owner = postfix
    mail_spool_directory = /var/spool/mail
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maximal_queue_lifetime = 3d
    message_size_limit = 52000000
    mydestination = $myhostname, localhost
    mydomain = kwsoft.de
    myhostname = mailer.kwsoft.de
    mynetworks = 192.168.2.0/24, 127.0.0.0/8
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/packages/postfix/README_FILES
    sample_directory = /usr/share/doc/packages/postfix/samples
    sender_canonical_maps = proxy:ldap:/etc/postfix/ldap-canonical.cf
    sendmail_path = /usr/sbin/sendmail
    smtp_sasl_auth_enable = no
    smtp_skip_5xx_greeting = no
    smtp_tls_CApath = /etc/ssl/certs
    smtp_tls_loglevel = 1
    smtp_tls_security_level = may
    smtpd_banner = $myhostname ESMTP $mail_name
    smtpd_recipient_restrictions = reject_non_fqdn_sender,
    reject_non_fqdn_recipient, permit_mynetworks,
    permit_saslauthenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = no
    smtpd_tls_cert_file = /etc/ssl/postfix/mailer.kwsoft.de.cert
    smtpd_tls_key_file = /etc/ssl/postfix/mailer.kwsoft.de.key
    smtpd_tls_loglevel = 1
    smtpd_tls_security_level = may
    transport_maps = hash:/etc/postfix/transport
    unknown_local_recipient_reject_code = 550
    virtual_alias_domains = hash:/etc/postfix/virtual-alias-domains
    virtual_alias_maps = hash:/etc/postfix/virtual,
    proxy:ldap:/etc/postfix/ldap-virtaliases.cf

    Many thanks for any pointers

    Andreas


  • Next message: Ralf Hildebrandt: "Re: Postmap question"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD