How to make postfix to log in /var/log/mail.log

I am running postfix on macOS Sequoia, and need it to log any kind of error to fix them. I found that in this version of macOS, syslogd is configured with the file /etc/asl/com.apple.mail, which contains:

# mail facility has its own log file
? [= Facility mail] claim only
> /var/log/mail.log mode=0644 format=bsd rotate=seq compress file_max=5M all_max=50M
* file /var/log/mail.log

which is its install configuration and seems correct.

Postfix is started ( by launchd ) and running ( ps ax | grep master ), but on sending errors occur, and nothing is logged.

How to make postfix to log in /var/log/mail.log which is the normal way on millions of postfix servers around the world?

Answered by DTS Engineer in 877048022

I just posted a response on your other thread that clarifies our position here.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I just posted a response on your other thread that clarifies our position here.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

How to make postfix to log in /var/log/mail.log
 
 
Q