Postfix working, no mail

Discussion in 'Installation/Configuration' started by adriaan, Feb 3, 2007.

  1. adriaan

    adriaan New Member

    Hello,

    I installed ISPConfig on a 'new' machine. Everthing works (perfect) ecxept the mail.
    1. I can't send mail
    2. I can't recieve mail
    3. I can't send mail localy (@own domain)
    4. I can't recieve mail localy
    5. Postfix has no error's
    My configuration:
    • Maildir enabled
    • Localhostname: xara.lan
    • Maindomain: xara.fwrite.org and fwrite.org
    • IP (internal): 10.0.0.2
    • IP (external): 84.xx.179.xx
    • 'Smart relay host' (internal-external): mailhost.hetnet.nl
    • 'Smart relay host' (external-internal): mailrelay.planet.nl (@isp)
    • DNS (ISPConfig): has internal data (everything=10.0.0.2)
    • DNS (ISP): has external data (everything=84.xx.179.xx)
    • Ubuntu 6.10
    • Perfect setup manual

    main.cf
    Code:
    # Debian specific:  Specifying a file name will cause the first
    # line of that file to be used as the name.  The Debian default
    # is /etc/mailname.
    #myorigin = /etc/mailname
    
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    
    # appending .domain is the MUA's job.
    append_dot_mydomain = no
    
    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h
    
    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    
    myhostname = xara.fwrite.org
    mydomain = fwrite.org
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = xara.fwrite.org, xara.lan, localhost.lan, localhost
    relayhost = mailhost.hetnet.nl
    mynetworks = 127.0.0.0/8
    mailbox_command =
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_protocols = all
    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
    smtp_tls_note_starttls_offer = yes
    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
    home_mailbox = Maildir/
    
    virtual_maps = hash:/etc/postfix/virtusertable
    
    mydestination = /etc/postfix/local-host-names
    unknown_local_recipient_reject_code = 450
    always_bcc = [email protected]
    
    mail.log
    Code:
    Feb  3 18:03:39 xara postfix/smtpd[19664]: connect from hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:39 xara postfix/smtpd[19664]: 3977D8C7CA: client=hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:39 xara postfix/cleanup[19668]: 3977D8C7CA: message-id=<1170499481.7640.2.camel@adriaan>
    Feb  3 18:03:39 xara postfix/qmgr[13270]: 3977D8C7CA: from=<[email protected]>, size=6198, nrcpt=2 (queue active)
    Feb  3 18:03:39 xara postfix/smtpd[19664]: 5393A8C7CB: client=hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:39 xara postfix/cleanup[19668]: 5393A8C7CB: message-id=<[email protected]>
    Feb  3 18:03:39 xara postfix/qmgr[13270]: 5393A8C7CB: from=<[email protected]>, size=5278, nrcpt=2 (queue active)
    Feb  3 18:03:39 xara postfix/smtpd[19664]: disconnect from hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:39 xara postfix/smtp[19669]: 3977D8C7CA: to=<[email protected]>, relay=mailhost.hetnet.nl[213.75.3.21]:25, delay=0.7, delays=0.1/0.03/0.14/0.44, dsn=2.6.0, status=sent (250 2.6.0  <1170499481.7640.2.camel@adriaan> Queued mail for delivery)
    Feb  3 18:03:40 xara postfix/smtp[19672]: 5393A8C7CB: to=<[email protected]>, relay=mailhost.hetnet.nl[213.75.3.21]:25, delay=1.4, delays=0.06/0.02/0.11/1.2, dsn=2.6.0, status=sent (250 2.6.0  <[email protected]> Queued mail for delivery)
    Feb  3 18:03:40 xara postfix/smtp[19670]: 3977D8C7CA: to=<[email protected]>, relay=mailhost.hetnet.nl[213.75.3.21]:25, delay=1.5, delays=0.1/0.05/0.13/1.3, dsn=2.6.0, status=sent (250 2.6.0  <1170499481.7640.2.camel@adriaan> Queued mail for delivery)
    Feb  3 18:03:40 xara postfix/qmgr[13270]: 3977D8C7CA: removed
    Feb  3 18:03:40 xara postfix/smtp[19671]: 5393A8C7CB: to=<[email protected]>, relay=mailhost.hetnet.nl[213.75.3.21]:25, delay=1.5, delays=0.06/0.05/0.1/1.3, dsn=2.6.0, status=sent (250 2.6.0  <[email protected]> Queued mail for delivery)
    Feb  3 18:03:40 xara postfix/qmgr[13270]: 5393A8C7CB: removed
    Feb  3 18:03:40 xara postfix/smtpd[19664]: connect from hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:40 xara postfix/smtpd[19664]: E6C8D8C7CA: client=hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:40 xara postfix/cleanup[19668]: E6C8D8C7CA: message-id=<[email protected]>
    Feb  3 18:03:40 xara postfix/qmgr[13270]: E6C8D8C7CA: from=<>, size=2066, nrcpt=2 (queue active)
    Feb  3 18:03:41 xara postfix/smtpd[19664]: disconnect from hpsmtp-eml08.kpnxchange.com[213.75.38.108]
    Feb  3 18:03:41 xara postfix/smtp[19672]: E6C8D8C7CA: to=<[email protected]>, orig_to=<[email protected]>, relay=mailhost.hetnet.nl[213.75.3.21]:25, delay=0.27, delays=0.05/0/0.06/0.16, dsn=2.6.0, status=sent (250 2.6.0  <[email protected]> Queued mail for delivery)
    Feb  3 18:03:41 xara postfix/smtp[19669]: E6C8D8C7CA: to=<[email protected]>, relay=mailhost.hetnet.nl[213.75.3.21]:25, delay=0.35, delays=0.05/0/0.07/0.23, dsn=2.6.0, status=sent (250 2.6.0  <[email protected]> Queued mail for delivery)
    Feb  3 18:03:41 xara postfix/qmgr[13270]: E6C8D8C7CA: removed
    Feb  3 18:07:01 xara postfix/anvil[19666]: statistics: max connection rate 2/60s for (smtp:213.75.38.108) at Feb  3 18:03:40
    Feb  3 18:07:01 xara postfix/anvil[19666]: statistics: max connection count 1 for (smtp:213.75.38.108) at Feb  3 18:03:39
    Feb  3 18:07:01 xara postfix/anvil[19666]: statistics: max cache size 1 at Feb  3 18:03:39
    There are more of these records. You can find them all in the attachments.

    mail.err
    There was an error with a quota. That is now solved.

    Can somebody help me?

    Thanks!
     

    Attached Files:

    • log.zip
      File size:
      23.5 KB
      Views:
      204
    Last edited: Feb 3, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please ask your provider if they block port 25.

    All mails seems to be sent to an external mail relay server. Waht happens if you send a email to a local email account that is listed in /etc/postfix/virtusertable
     

Share This Page