Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 14th July 2012, 07:19
Nap Nap is offline
Senior Member
Join Date: Oct 2006
Posts: 169
Thanks: 11
Thanked 3 Times in 3 Posts
Default ISPConfig3 with Postfix/Dovecot (not Courier): Can't retrieve mail


I am SETTING up my server at the moment, and I'm having a problem whereby mail accounts created in ISPConfig can't receive their mail.
I am running Ubuntu 10.04 LTS and installed Postfix with Dovecot (rather than Postfix and Courier as suggested in the ISPConfig guide here).

Looking into the mail.log file, I can see the mail account logging in and logging out (no error messages), but no mail is transferred. From webmail, I can view the mail queue and see the test mail (sent from a non-local user) that I'm trying to retrieve (so I know my server received the message). Webmin is able to show a list of mail users, but accounts from ISPConfig are not there.

I understand that mailboxes for new users aren't created until the mail is received from them, but I can't get my mail client (Outlook 2007) to work. Outlook doesn't report an error either, which doesn't help me.

While setting up the account, I assumed the mail server names (in and out) are "mail.clientdomain.tld". Is this correct? When configuring Postfix/Dovecot, I performed the following commands at the consol:

sudo postconf -e 'myhostname = plato.mydomain.net.au'
sudo postconf -e 'mydestination = plato.mydomain.net.au, localhost, localhost.localdomain'
sudo postconf -e 'mynetworks ='
sudo postconf -e 'message_size_limit = 30720000'
sudo postconf -e 'virtual_alias_domains ='
sudo postconf -e 'virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf'
sudo postconf -e 'virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf'
sudo postconf -e 'virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf'
sudo postconf -e 'virtual_mailbox_base = /home/vmail'
sudo postconf -e 'virtual_uid_maps = static:5000'
sudo postconf -e 'virtual_gid_maps = static:5000'
sudo postconf -e 'smtpd_sasl_auth_enable = yes'
sudo postconf -e 'broken_sasl_auth_clients = yes'
sudo postconf -e 'smtpd_sasl_authenticated_header = yes'
sudo postconf -e 'smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination'
sudo postconf -e 'smtpd_use_tls = yes'
sudo postconf -e 'smtpd_tls_cert_file = /etc/postfix/smtpd.cert'
sudo postconf -e 'smtpd_tls_key_file = /etc/postfix/smtpd.key'
sudo postconf -e 'virtual_create_maildirsize = yes'
sudo postconf -e 'virtual_maildir_extended = yes'
sudo postconf -e 'proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps'
sudo postconf -e virtual_transport=dovecot
sudo postconf -e dovecot_destination_recipient_limit=1
Is Postfix/Dovecot not compatable with ISPConfig? Is the name of the incoming/outgoing mail server the same as the localhost where Postfix is installed? Or is there something else I might have done wrong or still need to configure?


Last edited by Nap; 14th July 2012 at 07:54. Reason: qualify this is an initial setup, not a breakdown.
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail recipient linux_red Installation/Configuration 6 9th March 2012 15:24
Sendig mail Error fisherofer Installation/Configuration 12 30th November 2011 08:56
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 05:24
localhost postfix/master: fatal: bind port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 18:39
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16

All times are GMT +2. The time now is 09:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.