Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat May 04, 2013 3:18 pm 
Offline
Newbie

Joined: Sat May 04, 2013 2:10 pm
Posts: 2
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


Top
   
PostPosted: Sat May 04, 2013 5:47 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
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.


Top
   
PostPosted: Sat May 04, 2013 9:21 pm 
Offline
Newbie

Joined: Sat May 04, 2013 2:10 pm
Posts: 2
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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group