View Single Post
  #28  
Old 23rd June 2008, 10:54
c4rdinal c4rdinal is offline
Member
 
Join Date: Mar 2008
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
You can use the maildirmake command instead
I used the command to create directories:

mkdir /home/vmail/domain.com
chmod g-r,o-r /home/vmail/domain.com/user1
chown -R vmail.vmail /home/vmail/domain.com/user1
maildirmake /home/vmail/domain.com/user1

All went fine. Then I log in to Squirrelmail. I send a test message.
the logs shows

#tail -f /var/log/mail.log

Jun 24 16:55:01 mx-1 postfix/smtp[4848]: 260BB343DF: to=<user2@domain.com>, relay=none, delay=0.02, delays=0.02/0/0/0, dsn=5.4.6, status=bounced (mail for mx-1.domain.com loops back to myself)
Jun 24 16:55:01 mx-1 postfix/qmgr[4643]: 260BB343DF: removed
Jun 24 16:55:17 mx-1 postfix/qmgr[4643]: ECD22343E2: from=<user1@domain.com>, size=1109, nrcpt=2 (queue active)
Jun 24 16:55:17 mx-1 postfix/smtp[4849]: ECD22343E2: to=<joseph@yahoo.com>, re lay=c.mx.mail.yahoo.com[216.39.53.3]:25, delay=414, delays=414/0.02/0.02/0.02, d sn=2.0.0, status=sent (250 2.0.0 Ok: queued as D1BD91D4020)
Jun 24 16:55:17 mx-1 postfix/qmgr[4643]: ECD22343E2: removed
Jun 24 16:55:56 mx-1 imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 24 16:55:57 mx-1 imapd: LOGIN, user=user1@domain.com, ip=[::ffff:127.0. 0.1], port=[41405], protocol=IMAP
Jun 24 16:55:57 mx-1 imapd: LOGOUT, user=user1@domain.com, ip=[::ffff:127.0 .0.1], headers=0, body=0, rcvd=119, sent=900, time=0
Jun 24 16:55:57 mx-1 imapd: Connection, ip=[::ffff:127.0.0.1]
Jun 24 16:55:57 mx-1 imapd: LOGIN, user=user1@domain.com, ip=[::ffff:127.0. 0.1], port=[41406], protocol=IMAP
Jun 24 16:55:57 mx-1 imapd: LOGOUT, user=user1@domain.com, ip=[::ffff:127.0 .0.1], headers=0, body=0, rcvd=119, sent=900, time=0

I noticed the error message
Quote:
mail for mx-1.domain.com loops back to myself
How can I fix it? Also, there's no message in the Inbox of any bounced message. I think the mail is getting somewhere else.

Quote:
Did you tell Squirrelmail that you're using Courier?
Yes, I did this.

~# ls -la /home/vmail/domain.com/
total 16
drwx--x--x 4 vmail vmail 4096 2008-06-24 16:40 .
drwxr-xr-x 3 vmail vmail 4096 2008-06-24 16:39 ..
drwx------ 9 vmail vmail 4096 2008-06-24 16:41 user1
drwx------ 9 vmail vmail 4096 2008-06-24 16:42 user2

# ls -la /home/vmail/domain.com/user1/
total 44
drwx------ 9 vmail vmail 4096 2008-06-24 16:41 .
drwx--x--x 4 vmail vmail 4096 2008-06-24 16:40 ..
drwx------ 2 vmail vmail 4096 2008-06-24 16:41 courierimapkeywords
-rw-r--r-- 1 vmail vmail 36 2008-06-24 16:41 courierimapsubscribed
-rw-r--r-- 1 vmail vmail 15 2008-06-24 16:41 courierimapuiddb
drwx------ 2 vmail vmail 4096 2008-06-24 16:40 cur
drwx------ 6 vmail vmail 4096 2008-06-24 16:41 .Drafts
drwx------ 2 vmail vmail 4096 2008-06-24 16:40 new
drwx------ 6 vmail vmail 4096 2008-06-24 16:41 .Sent
drwx------ 2 vmail vmail 4096 2008-06-24 17:08 tmp
drwx------ 6 vmail vmail 4096 2008-06-24 16:41 .Trash


Hope you can help me.

TIA

Last edited by c4rdinal; 23rd June 2008 at 10:59.
Reply With Quote