an odd issue that happened last night

From: nate (no email)
Date: Fri Jul 01 2005 - 12:37:38 EDT

  • Next message: Wietse Venema: "Re: an odd issue that happened last night"

    I get a call this morning saying that the email is down. Lovely I'm a bit
    stumped but I think it might be a mysql problem, but that authenticates
    and the tables look right to me.

    Here's some logs:

    Jul 1 09:13:28 [postfix/trivial-rewrite] fatal:
    mysql:/etc/postfix/mysql-virtual.cf(0,100): table lookup problem
    Jul 1 09:13:29 [postfix/smtpd] warning: premature end-of-input on
    private/rewrite socket while reading input attribute name
                    - Last output repeated twice -
    Jul 1 09:13:29 [postfix/smtpd] warning: problem talking to service
    rewrite: Connection reset by peer
    Jul 1 09:13:29 [postfix/smtpd] warning: problem talking to service
    rewrite: Success
    Jul 1 09:13:29 [postfix/master] warning: process
    /usr/lib/postfix/trivial-rewrite pid 13422 exit status 1
    Jul 1 09:13:29 [postfix/master] warning:
    /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling
    Jul 1 09:13:29 [postfix/smtpd] warning: premature end-of-input on
    private/rewrite socket while reading input attribute name
    Jul 1 09:13:29 [postfix/smtpd] warning: problem talking to service
    rewrite: Success
    Jul 1 09:13:29 [postfix/master] warning: process
    /usr/lib/postfix/trivial-rewrite pid 13423 exit status 1

    postconf -n
    alias_database = hash:/etc/mail/aliases
    alias_maps = hash:/etc/mail/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    debug_peer_level = 2
    default_destination_concurrency_limit = 2
    default_process_limit = 100
    home_mailbox = .maildir/
    html_directory = no
    inet_interfaces = all
    local_destination_concurrency_limit = 2
    local_recipient_maps = unix:passwd.byname $alias_maps
    local_transport = local
    mail_owner = postfix
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maximal_queue_lifetime = 0s
    mydestination = $myhostname, localhost.$mydomain, localhost
    mydomain = mydomain.com
    myhostname = host.mydomain.com
    mynetworks = <hosts that can relay>
    mynetworks_style = subnet
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.1.5-r2/readme
    relay_domains = mlsdvd.com
    relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
    sample_directory = /etc/postfix
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpd_recipient_restrictions = permit_sasl_authenticated,
    permit_mynetworks, check_relay_domains
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_CAfile = /etc/postfix/cacert.epm
    smtpd_tls_cert_file = /etc/postfix/newcert.pem
    smtpd_tls_key_file = /etc/postfix/newreq.pem
    smtpd_tls_loglevel = 5
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
    virtual_gid_maps = static:1001
    virtual_mailbox_base = /
    virtual_mailbox_domains = mydomain.com,
    mydomain2.com, mydomain3.com
    virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
    virtual_minimum_uid = 1000
    virtual_transport = virtual
    virtual_uid_maps = static:1001

    cat mysql-virtual.cf
    user = <username>
    password = <password>
    dbname = mailsql
    table = virtual
    select_field = destination
    where_field = email
    hosts = unix:/var/run/mysqld/mysqld.sock

    Any ideas?

    -nate


  • Next message: Wietse Venema: "Re: an odd issue that happened last night"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD