![]() |
Strange email delivery behaviour
Hi,
I created a website with one email. And till here, it's all ok, I receive my emails. But, on a second site, belonging to one of my friend, he created his email addressers and...all his emails come to my box. In the header of the email I find: X-Original-To: dario@xforce.it Delivered-To: webxx_xxxxx@zarrelli.org I went on RoundCube with his account and I don't see any email in his inbox. |
Strange:
I went on the zarrelli.org admin site in ispconfig and for the user webxx_xxxxx@zarrelli.org i toggled off the Catch-all options. So, dario@xforce.it is now receiving his emails. But, catch-all is meant to catch on one email address all the emails sent to non existent addresses for the same domain, isn't it? So why is it interfering with email from other domains? |
More info:
I unchecked catch-all on zarrelli.org email address and I checked on the xforce.it address and the email are flowing with no problems. They are redirected only if I check catch-all on the address in zarrelli.org domain |
|
Quote:
This is my /etc/postfix/main.cf: ------------------------------------------------------- # See /usr/share/postfix/main.cf.dist for a commented, more complete version smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) 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 myhostname = localhost.localdomain alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname #mydestination = zarrelli.org, localhost.localdomain, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = 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 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 ----------------------------------------------- I never touched this file. |
What's the output of
Code:
hostnameCode:
hostname -fWhat's in /etc/hosts and /etc/postfix/virtusertable? |
homeland:~# hostname
homeland homeland:~# homeland:~# hostname -f localhost.localdomain homeland:~# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost homeland 88.198.37.43 control.zarrelli.org # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts homeland:~# homeland:~# cat /etc/postfix/virtusertable ################################### # # ISPConfig virtusertable Configuration File # Version 1.0 # ################################### admin@www.zarrelli.org web11_giorgio giorgio@www.zarrelli.org web11_giorgio web11_giorgio@www.zarrelli.org web11_giorgio admin@zarrelli.org web11_giorgio giorgio@zarrelli.org web11_giorgio web11_giorgio@zarrelli.org web11_giorgio dario@www.xforce.it web16_dario web16_dario@www.xforce.it web16_dario dario@xforce.it web16_dario web16_dario@xforce.it web16_dario |
The hostname localhost.localdomain is not a valid hostname for a server that shall exchange emails with other servers.
Please change the hostname to e.g. echo server1.zarrelli.org > /etc/hostname /bin/hostname -F /etc/hostname and make sure that server1.zarrelli.org exists and points to your (external) server IP in DNS. |
I did as you told.
Flagging catchall still make all the emails from other domains to come on my email address. Should I erase all the "localhost" and "localhost.localdomain" references in /etc/postfix/main.cf and change them with the new value? |
Quote:
|
| All times are GMT +2. The time now is 05:45. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.