
11th August 2006, 01:13
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Maildir and mail folder problem
Hi
Now, my mail server is working for send and received, but when send email (SMTP) is archived in folder '/var/www/my_web/user/my_user/Maildir/new' and when try read (POP3) file '/var/mail/my_user' is used...
I don't know alter folder for read emails in folder '/var/www/my_web/user/my_user/Maildir/new' (this is correct...)
I have 10 emails sends (in webmail and thunderbird) and when try read (POP3), the message is 'No new messages in server'...
Anybody help me, please?
|

11th August 2006, 01:31
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
Did you exactly setup your mailserver according Falko's "Perfect setup" ?
Did you enable Maildir in ISPConfig under Management>Settings>Email ?
Do you use Postfix? If yes, what is in your /etc/postfix/main.cf ?
__________________
Hans
BB-Hosting | Quality Web Hosting since 2005
Last edited by Hans; 11th August 2006 at 07:34.
|

11th August 2006, 01:36
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Maildir is setting in Management->Settings->Email...
My main.cf:
##################################################
# These are only the parameters changed from a default install
# see /etc/postfix/main.cf.dist for a commented, fuller version of this file.
# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.2.5/README_FILES
html_directory = /usr/share/doc/postfix-2.2.5/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
# User configurable parameters
inet_interfaces = all
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
recipient_delimiter = +
owner_request_special = no
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,rejec
mydomain = grupooharaby.com.br
myhostname = sistema.$mydomain
mydestination = /etc/postfix/local-host-names,localhost,$myhostname,$mydomain
mynetworks = 127.0.0.0/8,192.168.200.0/24,192.168.100.0/24
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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
virtual_maps = hash:/etc/postfix/virtusertable
##################################################
Thanks for your help...
|

11th August 2006, 02:06
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
If this is a "Perfect ISPConfig server", why did you add so many modifications to your main.cf ?
Is this necesarry for you?
I would try this:
Add:
mydestination = /etc/postfix/local-host-names
in stead of:
mydestination = servername.mydomain.tld, localhost.mydomain.tld, localhost
Change:
myhostname = sistema.$mydomain
into:
myhostname = sistema.grupooharaby.com.br
If you use Maildir format add this:
home_mailbox = Maildir/
Finally restart Postfix with the command:
/etc/postfix reload
__________________
Hans
BB-Hosting | Quality Web Hosting since 2005
Last edited by Hans; 11th August 2006 at 07:33.
|

11th August 2006, 02:26
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Nothing...
I change:
mydestination = /etc/postfix/local-host-names
myhostname = sistema.grupooharaby.com.br
home_mailbox = Maildir/
and restart postfix, but thunderbird show message 'No new emails in server' again...
In folder '/var/www/my_web/user/my_user/Maildir/new' exist more of than 10 messages in list...
Waiting (thanks)...
|

11th August 2006, 06:19
|
|
Moderator
|
|
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
|
|
What is in your: /var/log/mail.log file ?
You see any error messages?
__________________
Hans
BB-Hosting | Quality Web Hosting since 2005
Last edited by Hans; 11th August 2006 at 06:28.
|

11th August 2006, 15:20
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
No errors. In log file, when send email:
Aug 11 07:14:41 sistema postfix/smtpd[2086]: connect from unknown[192.168.200.199]
Aug 11 07:14:41 sistema postfix/smtpd[2086]: setting up TLS connection from unknown[192.168.200.199]
Aug 11 07:14:44 sistema postfix/smtpd[2086]: TLS connection established from unknown[192.168.200.199]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Aug 11 07:14:44 sistema postfix/smtpd[2086]: 37631D046C: client=unknown[192.168.200.199], sasl_method=PLAIN, sasl_username=oharaby@grupooharaby.com.br
Aug 11 07:14:44 sistema postfix/cleanup[2092]: 37631D046C: message-id=<44DC82A2.9050502@grupooharaby.com.br>
Aug 11 07:14:44 sistema postfix/smtpd[2086]: disconnect from unknown[192.168.200.199]
Aug 11 07:14:44 sistema postfix/qmgr[19452]: 37631D046C: from=<oharaby@grupooharaby.com.br>, size=699, nrcpt=1 (queue active)
Aug 11 07:14:44 sistema postfix/pickup[1488]: E7412D046E: uid=10006 from=<usu5_oharaby>
Aug 11 07:14:44 sistema postfix/cleanup[2092]: E7412D046E: message-id=<20060811101444.E7412D046E@sistema.grupooharaby .com.br>
Aug 11 07:14:45 sistema postfix/qmgr[19452]: E7412D046E: from=<usu5_oharaby@sistema.grupooharaby.com.br>, size=402, nrcpt=1 (queue active)
Aug 11 07:14:45 sistema postfix/local[2107]: E7412D046E: to=<admispconfig@localhost.grupooharaby.com.br>, orig_to=<admispconfig@localhost>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 11 07:14:45 sistema postfix/qmgr[19452]: E7412D046E: removed
Aug 11 07:14:48 sistema postfix/local[2093]: 37631D046C: to=<usu5_oharaby@sistema.grupooharaby.com.br>, orig_to=<oharaby@grupooharaby.com.br>, relay=local, delay=4, status=sent (delivered to command: /usr/bin/procmail -f-)
Aug 11 07:14:48 sistema postfix/qmgr[19452]: 37631D046C: removed
When receive email from thunderbird (Message is 'No new message in server'):
Aug 11 07:15:46 sistema ipop3sd[2131]: pop3s SSL service init from 192.168.200.199
Aug 11 07:15:46 sistema ipop3sd[2131]: Auth user=usu5_oharaby host=[192.168.200.199] nmsgs=0/0
Aug 11 07:15:46 sistema ipop3sd[2131]: Logout user=usu5_oharaby host=[192.168.200.199] nmsgs=0 ndele=0
Messages in folder:
[root@sistema new]# pwd
/var/www/web5/user/usu5_oharaby/Maildir/new
[root@sistema new]# ls -all
total 68
drwx------ 2 usu5_oharaby web5 4096 Ago 11 07:14 ./
drwx------ 5 usu5_oharaby web5 4096 Ago 9 12:48 ../
-rw------- 1 usu5_oharaby web5 944 Ago 9 12:48 1155138528.27554_1.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 959 Ago 9 12:50 1155138620.27645_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 942 Ago 9 12:57 1155139027.28026_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 946 Ago 9 18:11 1155157916.32442_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 946 Ago 9 18:15 1155158150.32532_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1299 Ago 10 16:29 1155238183.9433_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1299 Ago 10 16:43 1155239033.10642_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1121 Ago 10 16:44 1155239080.10677_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1123 Ago 10 16:46 1155239166.10733_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1297 Ago 10 16:57 1155239823.11732_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1123 Ago 10 16:57 1155239848.11764_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1161 Ago 10 17:55 1155243321.13170_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1297 Ago 10 17:55 1155243340.13201_0.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1161 Ago 10 21:12 1155255162.17030_1.sistema.grupooharaby.com.br
-rw------- 1 usu5_oharaby web5 1133 Ago 11 07:14 1155291288.2094_0.sistema.grupooharaby.com.br
Thanks your help...
|

11th August 2006, 17:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
|

11th August 2006, 17:49
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
[root@sistema ~]# netstat -tap
tcp 0 0 *:imaps *:* OUÇA 3633/xinetd
tcp 0 0 *  op3s *:* OUÇA 3633/xinetd
tcp 0 0 *  op3 *:* OUÇA 3633/xinetd
tcp 0 0 *:imap *:* OUÇA 3633/xinetd
Thanks for help...
|

12th August 2006, 17:13
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i resolved this:
In perfect setup for mandriva 2006, the installation default is cyrus-sasl, but in documentation ( http://www.postfix.org/faq.html#poppers) cyrus not provide access in Maildir-style mainbox.
In my ISP config (Management->Server->Settings->Email) is enable Maildir. I disable this, restart postfix, xinited and saslauthd and my email send and receive emails...
Thanks for help....
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 22:06.
|
Recent comments
12 hours 55 min ago
22 hours 22 min ago
23 hours 12 min ago
1 day 2 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 19 hours ago
2 days 41 min ago
2 days 2 hours ago