a default and fresh ispconfig installation (postfix, using Maildir)
added a new website with host www and domain.tld
the mail sending and receiving works fine (smtp_auth, pop/imap etc.)
After successfully testing with www I´ve added the hosts www2 and www3
After that postfix refuses all incoming smtp mails (from external servers)
/var/log/mail:
Code:
Jan 31 12:21:34 linux postfix/smtpd[20275]: connect from fmmailgate05.web.de[217.72.192.243]
Jan 31 12:21:34 linux postfix/smtpd[20275]: NOQUEUE: reject: RCPT from fmmailgate05.web.de[217.72.192.243]: 554 <myname@domain.tld>: Relay access denied; from=<myname@web.de> to=<myname@domain.tld> proto=ESMTP helo=<fmmailgate05.web.de>
Jan 31 12:21:34 linux postfix/smtpd[20275]: disconnect from fmmailgate05.web.de[217.72.192.243]
now I´ve deleted the two additional hostname www2 and www3, but the entrys for www2 and www3 were not have been deleted in /etc/postfix/local-host-name:
Code:
###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
myserver.de
localhost.myserver.de
www.domain.tld
www3.domain.tld
www2.domain.tld
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
Also in /etc/postfix/virtusertable:
Code:
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
stefan@www.domain.tld web14_stefan
web14_stefan@www.domain.tld web14_stefan
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
another check the ispconfig:
ISP Manager / Webs / domain.tld / Co-Domains
-> no entrys
Now I wanted to add a host www4, just for checking where entrys would be made in the ispconfig database and then looking for www2 and www3 in the database
(I had configured the host limit 3 for this web).
adding the www4 host an error occurs:
"Die maximale Anzahl Domains des Web wurde erreicht." (german)
(in english like "maximum domain count exceeded" or something like that)
But the www2 and www3 host were already deleted, so the www4 host should have been possible to add.
Ok, back to the main topic with postfix
I read the threads with adding a new co-domain with empty host so that the entry domain.tld could be processed for
stefan@domain.tld and the (unusual) entry
www.domain.tld could be processd for
stefan@www.domain.tld
I think I understand now the way ispconfig handles the hostnames, tlds and that stuff. So I deleted the complete web in the ispconfig manager and deleted the trashcan also. All Postfix config files (localhost, virtuser, alias) were now "fresh" and default, no entries. The /home/www directory is empty (except of the servername myserver.tld for itself, no web* directory).
Ok, new game. Added a new web, but now no I leave the host blank and typed the tld "domain.tld" in the field "domain".
/home/www/web16 has been created, fine!
/home/www/domain.tld should have been, but has not been created
(probably because the field "host" has been left empty)
in the web-tree in ispconfig the new web "domain.tld" has not been added
/etc/postfix/local-host-name is now correct, only domain.tld is added
/etc/postfix/virtusertable is correct to, nothing is added
Recent comments
1 day 22 min ago
1 day 7 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 20 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 15 hours ago
2 days 15 hours ago