#1  
Old 25th July 2006, 17:13
mickey mickey is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default -ERR: Maildir

Hi!
I installed new mail server, according Perfect setup (postfix+mysql+pop3/imap+clamav). Telnet on ports 25 and 110 is working. I still get a message in Outlook "-ERR: Maildir. No such file or directory".

When I look into mail.log, there is:
Jul 25 17:04:57 mail courierpop3login: LOGIN FAILED, ip=[::ffff:10.10.10.11]
Jul 25 17:05:20 mail courierpop3login: Connection, ip=[::ffff:10.10.10.11]
Jul 25 17:05:25 mail courierpop3login: LOGIN FAILED, ip=[::ffff:10.10.10.11]
Jul 25 17:05:31 mail courierpop3login: Connection, ip=[::ffff:10.10.10.11]

I tried it with two different login names and passwords into two accounts

My main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = mail.automa.sk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.automa.sk, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8, 10.10.10.0/24
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
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
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

Where could be a problem?
Thanks,
mickey
Reply With Quote
Sponsored Links
  #2  
Old 26th July 2006, 09:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,624
Thanks: 793
Thanked 4,996 Times in 3,909 Posts
Default

Have you sent an email to this account before you tried to login with pop3?

Postfix cretaes your Maildir when the first email arrives.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th July 2006, 17:00
mickey mickey is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Have you sent an email to this account before you tried to login with pop3?

Postfix cretaes your Maildir when the first email arrives.
How can I create Maildir, when this server is not actually connected to no network?
Reply With Quote
  #4  
Old 27th July 2006, 09:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,624
Thanks: 793
Thanked 4,996 Times in 3,909 Posts
Default

Quote:
Originally Posted by mickey
How can I create Maildir, when this server is not actually connected to no network?
Use the command "maildirmake".
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th July 2006, 11:45
mickey mickey is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Use the command "maildirmake".
I proceed this command in /home/vmail. Maildir was created, but it still not working.

Here is mail.log:
Jul 27 11:02:34 mail amavis[2606]: (02606-05) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20060727T110234-02606
Jul 27 11:02:34 mail postfix/smtp[2689]: 63ED68EF19: to=<postmaster@isp.tld>, relay=127.0.0.1[127.0.0.1], delay=39752, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=02606-05, creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN17> line 8. (in reply to end of DATA command))
Jul 27 11:19:14 mail postfix/qmgr[1615]: 872D48EF16: from=<root@mail.automa.sk>, size=476, nrcpt=1 (queue active)
Jul 27 11:19:14 mail amavis[2610]: (02610-05) connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user: 'mail_admin@localhost.localdomain' (Using password: YES)
Jul 27 11:19:14 mail amavis[2610]: (02610-05) TROUBLE in check_mail: creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN17> line 8.
Jul 27 11:19:14 mail amavis[2610]: (02610-05) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20060727T111914-02610
Jul 27 11:19:14 mail postfix/smtp[2706]: 872D48EF16: to=<postmaster@isp.tld>, relay=127.0.0.1[127.0.0.1], delay=206353, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=02610-05, creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN17> line 8. (in reply to end of DATA command))
Jul 27 11:40:49 mail courierpop3login: Connection, ip=[::ffff:10.10.10.11]

Here is main.cf:
mail:/etc/postfix# cat main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = mail.automa.sk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.automa.sk, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8, 10.10.10.0/24
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
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
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

mickey
Reply With Quote
  #6  
Old 27th July 2006, 12:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by mickey
Jul 27 11:19:14 mail amavis[2610]: (02610-05) connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user: 'mail_admin@localhost.localdomain' (Using password: YES)
Jul 27 11:19:14 mail amavis[2610]: (02610-05) TROUBLE in check_mail: creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN17> line 8.
Please make sure you use the correct MySQL password for mail_admin in your Postfix configuration. Also check that MySQL is running.
__________________
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
  #7  
Old 27th July 2006, 14:23
mickey mickey is offline
Junior Member
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Please make sure you use the correct MySQL password for mail_admin in your Postfix configuration. Also check that MySQL is running.
I checked MySQL - still runs. I also checked password in amavis.conf and is OK.

I restarted mysql and amavis, but I still cannot connect with Outlook via POP3.

mail.log shows:
Jul 27 14:05:54 mail postfix/qmgr[1615]: 9D85A8EF14: from=<miki@automa.sk>, size=371, nrcpt=1 (queue active)
Jul 27 14:05:54 mail postfix/qmgr[1615]: 48B898EF17: from=<root@mail.automa.sk>, size=476, nrcpt=1 (queue active)
Jul 27 14:05:54 mail amavis[3058]: (03058-01) connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user: 'mail_admin@localhost.localdomain' (Using password: YES)
Jul 27 14:05:54 mail amavis[3058]: (03058-01) TROUBLE in check_mail: creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN9> line 8.
Jul 27 14:05:54 mail amavis[3058]: (03058-01) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20060727T140554-03058
Jul 27 14:05:54 mail postfix/smtp[3112]: 9D85A8EF14: to=<info@automa.sk>, relay=127.0.0.1[127.0.0.1], delay=242560, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03058-01, creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN9> line 8. (in reply to end of DATA command))
Jul 27 14:05:54 mail amavis[3059]: (03059-01) connect_to_sql: unable to connect to DSN 'DBI:mysql:database=mail;host=127.0.0.1;port=3306' : Access denied for user: 'mail_admin@localhost.localdomain' (Using password: YES)
Jul 27 14:05:54 mail amavis[3059]: (03059-01) TROUBLE in check_mail: creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN9> line 8.
Jul 27 14:05:54 mail amavis[3059]: (03059-01) PRESERVING EVIDENCE in /var/lib/amavis/amavis-20060727T140554-03059
Jul 27 14:05:54 mail postfix/smtp[3113]: 48B898EF17: to=<postmaster@isp.tld>, relay=127.0.0.1[127.0.0.1], delay=129952, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=03059-01, creating_partsdir FAILED: SQL server(s) not reachable at (eval 38) line 198, <GEN9> line 8. (in reply to end of DATA command))

Reply With Quote
  #8  
Old 28th July 2006, 13:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
 
Default

Does your mail_admin MySQL password contain uncommon characters? Please try a password with just numbers and letters.
Is there an entry for mail_admin in the mysql.user table? Is the host listed there localhost and/or localhost.localdomain?
__________________
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
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
maildir not created t_ras Installation/Configuration 3 1st July 2006 12:52
Adding manual users - Maildir support? petermachell Installation/Configuration 1 28th March 2006 16:11
Maildir: no such file or directory jeanjacquesjeanjacques Installation/Configuration 6 20th January 2006 16:31
Maildir problem rosa hsiao General 7 13th January 2006 07:57
Imap - Maildir format KenKnight Installation/Configuration 6 29th December 2005 11:19


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


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