weird email problems

Discussion in 'General' started by ddouma, Jul 28, 2008.

  1. ddouma

    ddouma New Member

    Best ISPconfig users,

    From the beginning one user on the server is getting alot of emails daily from the 'Mail Delivery System' containing:

    I replaced ip's and domainnames with: xxxx

    ----
    This is a MIME-encapsulated message.

    --4965031F40.1217205959/gaia.xxxxxx.nl
    Content-Description: Notification
    Content-Type: text/plain

    This is the Postfix program at host gaia.xxxxxx.nl.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]>: host
    localhost.localdomain.xxxxxx.nl[] said: 451 Temporary local
    problem - please try later (in reply to RCPT TO command)

    --4965031F40.1217205959/gaia.xxxxxxx.nl
    Content-Description: Delivery report
    Content-Type: message/delivery-status

    Reporting-MTA: dns; gaia.xxxxxx.nl
    X-Postfix-Queue-ID: 4965031F40
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Wed, 23 Jul 2008 02:35:05 +0200 (CEST)

    Final-Recipient: rfc822; [email protected]
    Action: failed
    Status: 4.0.0
    Diagnostic-Code: X-Postfix; host localhost.localdomain.xxxxxx.nl[]
    said: 451 Temporary local problem - please try later (in reply to RCPT TO
    command)

    --4965031F40.1217205959/gaia.xxxxx.nl
    Content-Description: Undelivered Message
    Content-Type: message/rfc822

    Received: from gaia.xxxxxx.nl (gaia [127.0.0.1])
    (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
    (No client certificate requested)
    by gaia.xxxxxx.nl (Postfix) with ESMTP id 4965031F40
    for <[email protected]>; Wed, 23 Jul 2008 02:35:05 +0200 (CEST)
    Received: (from domain.nl_danny@localhost)
    by gaia.xxxxx.nl (8.13.1/8.13.1/Submit) id m6N0Z4h3003235
    for [email protected]ldomain; Wed, 23 Jul 2008 02:35:05 +0200
    Date: Wed, 23 Jul 2008 02:35:04 +0200
    From: danny <[email protected]>
    Message-Id: <[email protected]>
    X-Loop: [email protected]ldomain
    Subject: Mailsize: henkiehuisgevaar.nl_danny
    To: undisclosed-recipients:;

    979

    ---------



    Anyone a solution?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of the main.cf file, comments stripped.
     
  3. ddouma

    ddouma New Member

    Again, I replaced my domain with xxxxx



    #soft_bounce = no
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    #default_privs = nobody
    #myhostname = virtual.domain.tld
    #mydomain = xxxxxx.nl
    #myorigin = $myhostname
    #myorigin = $mydomain
    #inet_interfaces = all
    #inet_interfaces = $myhostname
    #inet_interfaces = $myhostname
    #proxy_interfaces =
    #proxy_interfaces = 1.2.3.4
    #mydestination = $myhostname, localhost.$mydomain, localhost
    ##mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    ##mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
    # mail.$mydomain, www.$mydomain, ftp.$mydomain
    #local_recipient_maps = unix:passwd.byname $alias_maps
    #local_recipient_maps = proxy:unix:passwd.byname $alias_maps
    #local_recipient_maps =
    unknown_local_recipient_reject_code = 550
    #mynetworks_style = class
    #mynetworks_style = subnet
    #mynetworks_style = host
    #mynetworks = 168.100.189.0/28, 127.0.0.0/8
    #mynetworks = $config_directory/mynetworks
    #mynetworks = hash:/etc/postfix/network_table
    #relay_domains = $#mydestination
    #relayhost = $mydomain
    #relayhost = [gateway.my.domain]
    #relayhost = [mailserver.isp.tld]
    #relayhost = uucphost
    #relayhost = [an.ip.add.ress]
    #relay_recipient_maps = hash:/etc/postfix/relay_recipients
    #in_flow_delay = 1s
    #alias_maps = dbm:/etc/aliases
    alias_maps = hash:/etc/aliases
    #alias_maps = hash:/etc/aliases, nis:mail.aliases
    #alias_maps = netinfo:/aliases
    #recipient_delimiter = +
    #home_mailbox = Mailbox
    #home_mailbox = Maildir/
    #mail_spool_directory = /var/mail
    #mail_spool_directory = /var/spool/mail
    #mailbox_command = /some/where/procmail
    #mailbox_command = /some/where/procmail -a "$EXTENSION"
    #mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
    #mailbox_transport = cyrus
    #fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
    #fallback_transport =
    #luser_relay = [email protected]
    #luser_relay = [email protected]
    #luser_relay = admin+$local
    #header_checks = regexp:/etc/postfix/header_checks
    #fast_flush_domains = $relay_domains
    #smtpd_banner = $myhostname ESMTP $mail_name
    #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
    #local_destination_concurrency_limit = 2
    #default_destination_concurrency_limit = 20
    debug_peer_level = 2
    #debug_peer_list = 127.0.0.1
    #debug_peer_list = some.domain
    debugger_command =
    PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    xxgdb $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail.postfix

    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.2.10/samples
    readme_directory = /usr/share/doc/postfix-2.2.10/README_FILES
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    virtual_maps = hash:/etc/postfix/virtusertable
    mydestination = /etc/postfix/local-host-names
    mynetworks = 127.0.0.0/8
    home_mailbox = Maildir/
    mailbox_command =
    mydomain = gaia.xxxxx.nl
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/mailname?
    What's the output of
    Code:
    postconf -d | grep myorigin
    ?
     
  5. ddouma

    ddouma New Member

    /etc/mailname, that dir/file doesn't excist.

    Output:

    [root@gaia mail]# postconf -d | grep myorigin
    append_at_myorigin = yes
    myorigin = $myhostname
     
  6. falko

    falko Super Moderator Howtoforge Staff

    And what's the output of
    Code:
    postconf -d | grep myhostname
    ?

    What happens when you run
    Code:
    postconf -e 'append_at_myorigin = no'
    and restart Postfix?
     

Share This Page