I have followed the Howto for installation of Debian Etch, Apache, PHP, MySQL, ISPConfig. Excellent howto!!! Thanks!. After this was all done, I also installed the standard webmail (uebimiau). I had a lot of problems being able to log on to webmail (and I could not access POP or SMTP remotely), and after reading quite a few of the threads here I was able to determine that my problem was that my email accounts area created as [email protected] and NOT as [email protected]. After realizing this, I was able to access webmail, and send and receive messages remotely, so everything seems to be working fine. NONETHELESS, emails of the form [email protected] are not very practical. My site in ISPConfig is created with Host Name: www and Domain Name: mydomain.com, so I figured if I try to remove the hostname and work with just the domain name, and later add a co-domain........... but of course I cant just delete the Host Name... How can I change my config files or whatever is necessary such that new email accounts created via ISPConfig have the form [email protected] and NOT [email protected]?? Thanks in advance for any help.
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: [email protected] web_1p1 [email protected] web_1p1 [email protected] web_1p1 [email protected] 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 [email protected] web_1p1 [email protected] web_1p1 I would still like to get rid of the "[email protected]" 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
That's the way ISPConfig works and it is the way its intended to and we will not change this. Even if you remove it, you would be able to send emails to [email protected] as web_1p1 is the name of the system user and you can always send emails to linux system users.
Hi Till I was referring to, the "@www.mydomain.com" + "Co-Domain adds email addresses automaticly" situation — isn't that going to be changed? It's been so many posts I've read that can't find the one where you or Falco were writing about that, sorry. Anyway, I thought I explain it to sinapsisglobal, how it works in general… As for mails to a SystemUser… I understand what's happening and there is a way of preventing postfix from excepting those emails. In fact, on another server I complaint to the admin about not being able to quickly send emails to a SystemUser while I'm on the shell ;-) But I would have to check there how it's done there and who did it… Hope it'll work for you sinapsisglobal Cheers
Solved Hi again. make-fun, your explanation was very clear and did shed a LOT of light on how things work. So the solution is to simply create the co-domain with no Host Name to make the [email protected] accounts function as required. I do agree it creates additional opportunities for spammers, but it works. The added suggestion of changing Mailserver to external for Host Name www is also very useful to reduce that problem. Thanks again to all who replied. Wonderful community!!
Hi sinapsisglobal, glad your issue is solved ;-) I'd still like to get the second part solved, regarding the the "useless" email addresses… @Till Could this be solved by switching to "Postfix-Style" in Code: /home/admispconfig/ispconfig/lib/config.inc.php I've tried but only scored an empty virtusertable Code: ################################### # # ISPConfig virtusertable Configuration File # Version 1.0 # ################################### #### MAKE MANUAL ENTRIES BELOW THIS LINE! #### and Code: Relay access denied So i switched back to the "Sendmail-Style" Has anyone done this successfully and is there a post where the whole issue is explained, maybe?? Cheers