0

Server is CentOS 6

I installed exim4 as mta in my local server.

and I can simple send mail by mail command(mailx):

echo 'a test mail' | mail -s 'a subject' me@xxx.com

then I installed postfix, but not running.

Now the exim4 is running, and listen port 25 is exim4.

But I can't mail, with error:

postdrop: warning: unable to look up public/pickup: No such file or directory

and the blocked mail is in /var/spool/postfix/maildrop.

I search and know to fix this error with mkfifo this file.

But I don't know, the postfix is not running, and exim4 is running, how does postfix prevent me from send mail?

0
4

That is likely triggered from the alternatives system.

Simply installing postfix may have made that default MTA (by updating the symbolic link /usr/lib/sendmail) and because postfix was not yet configured nor running --> instant error.

You can resolve that by running alternatives --config mta and restoring Exim as the default.

1
  • Very thanks. I use alternatives --display mta and link currently points to /usr/sbin/sendmail.postfix, after yum remove postfix, link currently points to /usr/sbin/sendmail.exim – Tanky Woo Sep 9 '15 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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