I'm wondering if I've configured something incorrectly. If a user of one domain on my server sends an email to a user on another domain who's DNS records are held by my server but mx records inform elsewhere the mail is sent to my postfix server on the same machine. Is there a way of having postfix check the mx record and send accordingly before checking whether the domain is handled by this machine?postconf -n as follows:alias_database = hash:/etc/aliasesalias_maps = hash:/etc/aliasesappend_dot_mydomain = nobiff = nobroken_sasl_auth_clients = yesconfig_directory = /etc/postfixinet_interfaces = allinet_protocols = allmailbox_command = procmail -a "$EXTENSION"mailbox_size_limit = 0mydestination = /etc/mail/local-host-namesmyhostname = web1 hostfife netmynetworks = 127.0.0.0/8myorigin = /etc/mailnamerecipient_delimiter = +relayhost =smtp_tls_note_starttls_furnish = yessmtp_tls_session_cache_database = btree:${queue_directory}/smtp_scachesmtp_use_tls = yessmtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destinationsmtpd_sasl_auth_enable = yessmtpd_sasl_local_domain =smtpd_sasl_security_options = noanonymoussmtpd_tls_CAfile = /etc/postfix/ssl/cacert pemsmtpd_tls_auth_only = nosmtpd_tls_cert_file = /etc/postfix/ssl/smtpd crtsmtpd_tls_key_file = /etc/postfix/ssl/smtpd keysmtpd_tls_loglevel = 1smtpd_tls_received_header = yessmtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scachesmtpd_tls_session_cache_timeout = 3600ssmtpd_use_tls = yestls_random_source = dev:/dev/urandomsetup is postfix on ubuntu server 7. Peter
If you created a site for this domain in ISPConfig you will have to set the mailserver to external in the site settings (on the options tab) AND also set all co-domains of this site to external mailserver (on the options tabs of every co-domain).
Forex Groups - Tips on Trading
Related article:
http://www.howtoforge.com/forums/showthread.php?t=16447&goto=newpost
comments | Add comment | Report as Spam
|