Linode Forum
https://forum.linode.com/

Dovecot Log Missing re Email with Postfix, Dovecot and MySQL
https://forum.linode.com/viewtopic.php?f=11&t=10046
Page 1 of 1

Author:  atrowbri [ Sat May 04, 2013 3:18 pm ]
Post subject:  Dovecot Log Missing re Email with Postfix, Dovecot and MySQL

running: Debian 6

I have been working through the tutorial "Email with Postfix, Dovecot and MySQL on Debian 6 (Squeeze)" I have reached the section for "Check Your Logs"
http://library.linode.com/email/postfix/dovecot-mysql-debian-6-squeeze#sph_check-your-logs

and I have no file for "/home/vmail/dovecot-deliver.log". There's nothing there. If i skip ahead to the next section, I am asked to cd to "/home/vmail/example.com/sales/Maildir" but I only have an empty "/home/vmail/". I've searched to see if I can figure out how to figure this out from logs but I do not see anything useful in terms of where to look. Without any error message, it's a mystery!

What I may have done wrong:
1. I followed all directions not as root but as a user with acces to sudo, using it when necesary
2. When I got to using mailx, mailx was not installed. I installed mailutils via apt-get.

Would appreciate any insight or even clues on where to look for clues.

Thanks,
atrowbri

Author:  jebblue [ Sat May 04, 2013 5:47 pm ]
Post subject:  Re: Dovecot Log Missing re Email with Postfix, Dovecot and M

Try this:

1) sudo su - vmail
2) cd /home/vmail
3) touch filetest.txt

Can you create the file in step 3)?

I have all this working with MySQL and I think I had to create the directories manually like /home/vmail/example1.com, example2.com.

Is dovecot running? "sudo service dovecot status"

Check the logs at /var/log.

Author:  atrowbri [ Sat May 04, 2013 9:21 pm ]
Post subject:  Re: Dovecot Log Missing re Email with Postfix, Dovecot and M

jebblue wrote:
Try this:

1) sudo su - vmail
2) cd /home/vmail
3) touch filetest.txt

Can you create the file in step 3)?

I have all this working with MySQL and I think I had to create the directories manually like /home/vmail/example1.com, example2.com.


This worked and I went ahead and created the directories.

Quote:
Is dovecot running? "sudo service dovecot status"

Yes, it was.

Quote:
Check the logs at /var/log.

I found this error message in mail.warn:
postfix/trivial-rewrite[914]: warning: do not list domain arrayproject.com in BOTH mydestination and virtual_mailbox_domains

So I deleted the listing in mydestination and ended up getting the mail in the vmail directory, where it should be! Not sure whether I needed to create the directories by hand or not but I'll experiment with the next email address I add and see. I had not seen the logs in /var/logs though, so your heads up lead to the fix that seems to have fixed it, thanks!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/