Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed sendmail as MTagent on my server. Sendmail works well so, PHP mail() function works perfectly.

After, I decided to exploit my mx records so I installed dovecot as pop3/imap server into my machine following this instructions:

Well everything seems to be fine except the following step - I can't configure sendmail and tell it where the mail_location folder is. I don't used mbox, so I follow the instructions for MAILDir (in the link above)

Now, when I am trying to connect to my server (from Windows live Mail), I connect, I can send emails, but I can't receive emails

If you think it's necessery I can post dovecot.conf and sendmail.mc files

According to this link, changing

mail_location = maildir:~/Maildir to

mail_location = mbox:~/mail:INBOX=/var/mail/%u solve the problem..

share|improve this question
    
Dovecot has nothing to do with either sending or receiving mail. It just serves your (already received) mail to your email client. Also, if you say you "can't" receive mails, what does that mean? What happens when someone sends you mail? What's in the logs? –  Oliver Salzburg Apr 22 '12 at 21:16
    
@OliverSalzburg I think there is a missmatch between where sendmail_path_to_save_received_emails and dovecot_path_where_emails_is_saved_by_sendmail Thx for the reply Edit:How can i check my logs?When someone send me email nothing happend –  user726730 Apr 22 '12 at 21:20
    
@user726730 please post the answer in the answers section. –  Sathya Apr 23 '12 at 10:07
add comment

1 Answer

up vote 0 down vote accepted

as posted in question

According to this link, changing

mail_location = maildir:~/Maildir to

mail_location = mbox:~/mail:INBOX=/var/mail/%u solve the problem..

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.