You should with this logging you should get the information in your postfix log as in mail.log, this is what I get.
Sent from my iPhone > On 29 Dec 2023, at 09:36, Ubence Quevedo (thatrat) <that...@gmail.com> wrote: > > Thanks for pointing that out. I added that and tweaked the permissions, and > I’m getting some logging about the service starting/stopping, but I’m not > getting the same type of logging I’m expecting from my Linux systems. > > I can usually look in /var/log/mail.log on my Ubuntu server to see the status > of the outgoing mail. > > Looking further, it looks like it’s related to syslog on that system, which > isn’t quite the same functionality that macOS has. > > Any suggestions on how to be able to log the output of mail commands to > postfix similar to how it is done in Linux? > > -Ubence > > On Dec 28, 2023, at 1:51 PM, Horst Simon <horst.sim...@icloud.com> wrote: > > I have postfix login to a file enabled as follow: > in the main.cf I added: > > maillog_file = /opt/local/var/log/postfix/postfix.log > > and in the master.cf: > > postlog unix-dgram n - n - 1 postlogd > > Make sure the directory /opt/local/var/log/postfix exists and is writeable vy > postfix. > > Horst Simon > >>> On 29 Dec 2023, at 02:54, Ubence Quevedo (thatrat) <that...@gmail.com> >>> wrote: >>> >> Hi, >> >> I’ve installed postfix and have configured it similarly to how I have it >> configured on some Linux systems using this tutorial >> [https://www.tutorialspoint.com/configure-postfix-with-gmail-on-ubuntu], and >> when I install and configure postfix in macOS [and make some slight changes >> because everything is in /opt/local/etc/postfix], mail is not sent. >> >> What bothers me most is that I can’t find the log files for the macports >> version of postfix. >> >> Can someone point me in the right direction to where I can find them to see >> why my sending mail isn’t working? >> >> I’m sure I’ll have more questions later, but without the logs, I really am >> only guessing as to why this might not be working. >> >> -Ubence >