Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

I'm debugging some mail related stuff on my Mac, and not quite sure how my system is even sending mail.

I can run a simple command like date | mail -s test myemail@mydomain.com and receive an email just fine. Cool. I can also use PHP's mail() function to send mail. PHP's sendmail_path configuration variable is /usr/sbin/sendmail -t -i, looks okay.

But the weird thing is I don't think Postfix is even running...

$ postqueue -p
postqueue: fatal: Queue report unavailable - mail system is down
$ ps -aef | grep -i postfix
  501 28403 25525   0  2:10PM ttys042    0:00.00 grep -i postfix
$ launchctl list | grep -i mail
-   0   com.apple.MailMigratorService
70829   -   0x7fa87941a060.anonymous.Mail
$ launchctl list | grep -i postfix
-   0   org.postfix.master

How is my Mac even sending mail from the mail terminal command if Postfix isn't running? Is there some other mail daemon OS X runs?

share|improve this question
2  
I don't know the details, but Postfix spawns when you use the mail command, and shuts down shortly afterward. Try mailing something and note you can reach Postfix on port 25 for a bit afterward, but not later. – zigg Aug 2 '13 at 18:18
    
Postfix is the default! It comes pre installed with osx. – Buscar웃 Aug 2 '13 at 20:12
    
Try disabling it with sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/org.postfix.master.plist – Buscar웃 Aug 2 '13 at 20:14

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.