On Thursday, April 21, 2022 at 7:49:48 PM UTC+1, Claus Aßmann wrote:
> Because mail which comes in usually also goes out.
> > timings, I think this is when mailstats increments 'msgsto'. So what does
> > 'msgsto' actually mean?
> Just what it says:
> msgsto Number of messages to the mailer.
Thanks Claus. This is pretty confusing, though. When I run:
$ sendmail -d8.20 -vt < ./test-sendmail.txt
I expect mailstats to show one incoming message on the MSP, and one outgoing message on the MTA (the book doesn't show separate MSP/MTA stats - maybe this is a Deb/Ubuntu thing?)
What I actually get is one in *and* one out on the MTA, and nothing on the MSP.
Or maybe I've configured 'submit' incorrectly? I have a custom relay listening on port 25, which forwards filtered incoming mails on to port 7902, where sendmail is listening. So, basically sendmail only *sends* mails, unless the local system sends out administration mails by directly running the sendmail executable (like the example above). My
submit.mc contains:
define(`RELAY_MAILER_ARGS', `TCP $h 7902')dnl
FEATURE(`msp', `[127.0.0.1]', `25')dnl
Maybe that '25' is wrong? Thanks. Nice book, BTW :)