Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have just inherited a server and qmail is set up as the default mailserver. It is running however there is also a postfix mail server installed and all mails are being queued in it's mailqueue skipping the qmail.

Since postfix is not running, these emails are not getting delivered.

I have been searching for 2 days looking for a solution, The thing is this is a live server and emails being using pop or imap are working. Just not those that are sent using using scripts.

Does anybody have any idea how stop the system messages going into the wrong mail queue, and why they would even be doing so?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Scripts etc are normally queued using /usr/sbin/sendmail. In your case, that's still the postfix local mail agent. You need to make sure that that is a symlink to /var/qmail/bin/sendmail instead.

share|improve this answer
    
Awesome, Thanks :) –  potsed Apr 23 '13 at 1:11

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.