PostFix Issue receiving emails

Discussion in 'Server Operation' started by andyace, Oct 23, 2010.

  1. andyace

    andyace New Member

    Hi All
    hope someone can help? :eek:

    I have spent 2 days reading the posts to try and resolve this.

    i have IPSconfig 3.03 centos 5.5 64, using the perfect server guide.

    I have upgraded php to 5.2

    I get several errors trying to recieve emails

    the server is all setup to be

    i have 20 clients 3 websites and 1 client has asked for email with an address of [email protected] (domain names changed for security)

    Firstly any email sent to *** gets returmed with a
    #< #5.4.6 X-Postfix; mail for loops back to myself> #SMTP#

    and i also get a warning: do not list domain in BOTH virtual_mailbox_domains and relay_domains

    here is my

    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    myhostname =
    mynetworks = [::1]/128
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/, mysql:/etc/postfix/
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_security_level = may
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    transport_maps = proxy:mysql:/etc/postfix/
    relay_domains = mysql:/etc/postfix/
    relay_recipient_maps = mysql:/etc/postfix/
    virtual_create_maildirsize = yes
    virtual_maildir_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    receive_override_options = no_address_mappings
    content_filter = amavis:[]:10024
    relayhost =
    mailbox_size_limit = 0
    message_size_limit = 0
    mydomain = $myhostname

    Hope you can help

  2. falko

    falko Super Moderator ISPConfig Developer

    Make sure that isn't listed in /etc/postfix/ and /etc/postfix/ at the same time.
  3. andyace

    andyace New Member

    erm... i took the 2 entires out of the sql table and setup the email accounts again, and it works now, Thanks nice to have the rest of Sunday off :*)

    Dont know how that happened and will need to see it working with other domains reliabily before i lest it loose on the customers but thanks a lot for your reply.


Share This Page