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.

Using my linux machine, I downloaded postfix to receive and send mail. I can send external mail, but anything internal does not send. My local mail is being delivered to the file /home/original/Maildir/new, but my mail program checks the path /var/mail/original for received mail. Any email send is not found because it is looking in the wrong path file. I'm a newbie with linux and ubuntu and have no clue how to fix this. What file contains mail path files and what line do I change to fix where postfix looks for incoming mail? Thanks in advance!

share|improve this question

migrated from stackoverflow.com Apr 30 '13 at 0:52

This question came from our site for professional and enthusiast programmers.

    
Try pasting the log from /var/log/maillog. You don't really specify the 'user directory' as postfix is smart enough to find it based on aliases and PAM. The only thing you have to specify is home_directory but you may not even have to do that is its looking for Maildir standard of email. If you're talking about specifying the queue directory then you use queue_directory directive. –  josten Apr 30 '13 at 4:00
add comment

1 Answer

/home/original/Maildir/new is the "new" Maildir naming convention, while /var/mail/original is the old and traditional Unix one. You have to choose one and stick with it for all your programs. For Postfix, this is configured in /etc/postfix/main.conf :

New:

home_mailbox = Maildir/

Old :

(Nothing to do, it is Postfix default)

See http://www.postfix.org/local.8.html section "MAIL DELIVERY"

share|improve this answer
add comment

Your Answer

 
discard

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