Mail isn't getting truh

Discussion in 'Installation/Configuration' started by adriaan, Jun 14, 2007.

  1. adriaan

    adriaan New Member

    Mail isn't getting trough

    I can send mails but I can't recieve from any domain. *.wxs.nl is the relay of my ISP so I'll get al my mail trough that.
    I think it's a max connection rate someware, is it possible to chance that?

    Code:
    Jun 14 17:48:41 xara postfix/smtpd[21826]: disconnect from psmtp10.wxs.nl[195.121.247.26]
    [B]Jun 14 17:52:01 xara postfix/anvil[21828]: statistics: max connection rate 3/60s for (smtp:195.121.247.26) at Jun 14 17:48:41
    Jun 14 17:52:01 xara postfix/anvil[21828]: statistics: max connection count 1 for (smtp:195.121.247.29) at Jun 14 17:47:03
    Jun 14 17:52:01 xara postfix/anvil[21828]: statistics: max cache size 2 at Jun 14 17:47:50[/B]
    Jun 14 18:00:06 xara postfix/smtpd[24004]: connect from psmtp14.wxs.nl[195.121.247.46]
    Jun 14 18:00:06 xara postfix/smtpd[24004]: NOQUEUE: reject: RCPT from psmtp14.wxs.nl[195.121.247.46]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<psmtp14.wxs.nl>
    Jun 14 18:00:09 xara postfix/smtpd[24004]: disconnect from psmtp14.wxs.nl[195.121.247.46]
    Code:
    Jun 14 18:03:03 xara postfix/smtpd[24105]: connect from psmtp10.wxs.nl[195.121.247.26]
    Jun 14 18:03:07 xara postfix/smtpd[24105]: NOQUEUE: reject: RCPT from psmtp10.wxs.nl[195.121.247.26]: 554 5.7.1 <[email protected]>: Relay access denied; [B]from=<[email protected][/B]> to=<[email protected]> proto=ESMTP helo=<psmtp10.wxs.nl>
    Jun 14 18:03:08 xara postfix/smtpd[24105]: disconnect from psmtp10.wxs.nl[195.121.247.26]
    
    Adriaan

    (Couldn't find it in the search...)
     
    Last edited: Jun 16, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    Is the email address you're trying to send to listed in /etc/postfix/virtusertable? Is the domain listed in /etc/postfix/local-host-names?

    What's the output of
    Code:
    postconf -n
    ?
     
  3. adriaan

    adriaan New Member

    Sending is not the problem. I don't recieve anything.
    Code:
    postconf -n
    Code:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    html_directory = no
    ignore_mx_lookup_error = yes
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mydestination = /etc/postfix/local-host-names
    mynetworks = 127.0.0.0/8
    newaliases_path = /usr/bin/newaliases.postfix
    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    relayhost = mailhost.hetnet.nl
    sample_directory = /usr/share/doc/postfix-2.3.3/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    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
    /etc/postfix/virtusertable is empty (only ISPConfig header).
    /etc/postfix/local-host-names is empty (only ISPConfig header).

    Version 2.3.2-dev
     
    Last edited: Jun 15, 2007
  4. falko

    falko Super Moderator ISPConfig Developer

    Please run
    Code:
    postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
    /etc/init.d/postfix restart
    And then create the email account you're trying to send to in ISPConfig.
     
  5. adriaan

    adriaan New Member

    When you open this file you'll only see the newest aliasses added. I manualy added one old adresses and added a new one for the rebuilding of the database. Mail comes trough now.

    The only problem is that ISPConfig doesn't add all the adresses to the files, how can this be solved?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check if you have set a website or a co-domain to external mailserver.
     
  7. adriaan

    adriaan New Member

    When I switch back to local (I never set it to external, but the system says I did:confused:) the system switches back imidiately and no content is created.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version do you use?
     
  9. adriaan

    adriaan New Member

    2.3.2-dev
    (I have to fill 10 characters...)
     
  10. adriaan

    adriaan New Member

    ISPConfig had a small problem with believing itself. I added an extra IP (wich was the same as the origional (the field above)) and switched all of the websites to this extra IP. ISPConfig tought everything was okay and regenerated all the configuration.
    Everything is working fine now!
     

Share This Page