I installed postfix and got this error:
postdrop: warning: unable to look up public/pickup: No such file or directory.

Turns out that sendmail was previously installed and that was messing things up. I had to stop sendmail and make the appropriate directory and restart postfix.

Specifically:

mkfifo /var/spool/postfix/public/pickup
ps aux | grep mail
kill
sudo /etc/init.d/postfix restart

Test emailing
#email youremail@abc.com (enter)
subject: test (enter)
test (ctrl+d)
cc: youremail@abc.com (enter)

if your receive above then email everything is fine now! :)

6 Responses so far.

  1. Dlink says:

    Worked for me. Thank you very much!!

  2. nixguru says:

    Thanks! Searched for hours until I found this simple and quick solution. Brilliant!

  3. Unknown says:

    Thx ! Also it's better to remove sendmail :

    apt-get purge sendmail*

  4. Unknown says:

    It worked very well for me

  5. Anonymous says:

    Thanks man!

Leave a Reply