Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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. – jersten Apr 30 '13 at 4:00

/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 :


home_mailbox = Maildir/

Old :

(Nothing to do, it is Postfix default)

See section "MAIL DELIVERY"

share|improve this answer

You must log in to answer this question.