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.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th July 2012, 06:19
Nap Nap is offline
Senior Member
 
Join Date: Oct 2006
Posts: 138
Thanks: 7
Thanked 1 Time in 1 Post
Default ISPConfig3 with Postfix/Dovecot (not Courier): Can't retrieve mail

Hi,

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:

Code:
sudo postconf -e 'myhostname = plato.mydomain.net.au'
sudo postconf -e 'mydestination = plato.mydomain.net.au, localhost, localhost.localdomain'
sudo postconf -e 'mynetworks = 127.0.0.0/8'
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?



Cheers,
Nap

Last edited by Nap; 14th July 2012 at 06:54. Reason: qualify this is an initial setup, not a breakdown.
Reply With Quote
Sponsored Links
  #2  
Old 14th July 2012, 06:53
Nap Nap is offline
Senior Member
 
Join Date: Oct 2006
Posts: 138
Thanks: 7
Thanked 1 Time in 1 Post
Default

I looked in the file system, and there is a folder '/var/vmail/clientdomain.tld/client_email_id/Maildir#' ISPConfig did what it had to do here
So the folder structure has been created. However, sub-folders 'cur', 'new', and 'tmp' are all empty. I guess the mail item hasn't been delivered to the mailbox.

This sort of explains why outlook didn't report a message.
Reply With Quote
  #3  
Old 15th July 2012, 12:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Nap View Post
Is Postfix/Dovecot not compatable with ISPConfig?
ISPConfig does support Postfix and dovecot, so that's not the problem.

Are there any errors in your mail log (/var/log/mail.log)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 15th July 2012, 14:53
Nap Nap is offline
Senior Member
 
Join Date: Oct 2006
Posts: 138
Thanks: 7
Thanked 1 Time in 1 Post
 
Default

Postfix/Dovecot are configured to use ClamAV, but it wasn't installed.
Didn't follow the Perfect Install guide here. Installing as per guide works fine now.
Reply With Quote
Reply

Bookmarks

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 14:24
Sendig mail Error fisherofer Installation/Configuration 12 30th November 2011 07:56
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16


All times are GMT +2. The time now is 11:32.


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