Hi there,Hi there,
I'm also still struggling with the way ISPConfig works in that regard…
How ISPConfig does it is that it creates a SystemUser with a prefix of web_… and creates the Maildir/Mailbox in the according web.
For example:
Code:
/var/www/web_1/user/web_1p1/Maildir
I'm sure you've done and noticed this already.
As you then add any Co-Domains ISPConfig creates virtual user in the Postfix- virtusertable with that SystemUser web_…
Another example…
You started with the website mydomain.com, with the Hostname
www and then added a CO-Domain leaving the Hostname blank and then set up a webmaster email account, leading to
Code:
webmaster@www.mydomain.com web_1p1
web_1p1@www.mydomain.com web_1p1
webmaster@mydomain.com web_1p1
web_1p1@mydomain.com web_1p1
in:
/etc/postfix/virtusertable
I too, was a bit confused by that, but thats just the way it's done for now… I've read here this will be changed in version 2.3 maybe and that most of the code is already written and that it is in the SVN — but that post was 1 year old or so.
Anyway, the solution for you would be to set the Mailserver to External for your "main site" www.mydomain.com
Go Site ->Options ->Mailserver: External Mailserver, but leave the setting for the CO-Domain "mydomain.com" at Local Mailserver!!
This will cut out any "xyz@
www.mydomain.com" email addresses and shorten your
Code:
/etc/postfix/virtusertable
to
webmaster@mydomain.com web_1p1
web_1p1@mydomain.com web_1p1
I would still like to get rid of the "web_1p1@mydomain.com" as it's unnecessary and just a use less email address which can be spamed, but have not found a way doing this :(
Hope this helps
Cheers
Recent comments
19 hours 38 min ago
21 hours 26 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 21 hours ago
2 days 11 hours ago
2 days 11 hours ago
2 days 16 hours ago
2 days 23 hours ago