Solved Why is sendmail sending me messages

I am operating Freebsd 14.2 with Dovecot Version 2.3.21.1 and postfix 3.9.

My rc.conf for mail operations has the following

Code:
dovecot_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"

but I am getting the following error.

Code:
sendmail[45631]: NOQUEUE: SYSERR(vscan): can not chdir(/var/spool/clientmqueue/): Permission denied

I gather something is being trued by user vscan. but whys with sendmail?
 
Depends, at what time did these messages show? periodic(8) typically runs at 3:00am and is often overlooked. It's enabled by default and runs a bunch of checks every day, its output is mailed to root (output from cron(8) jobs are mailed to the user running the job).

And postfix(1) includes a "compatibility" /usr/local/sbin/sendmail. So you might be seeing that. See pkg info -D postfix.
 
Ok I can replicate the message.. I get it every time a mail message is received for a particular account. Postfixadmin shows this account to be full and over limit. I cant delete the message so this problem is apparentl sendmail trying to deliver an error message.
 
The issue here that I was getting an erro message from Postfix. I corrected the error (got my mailbox back within quota and all is good.
 
Might want to fix those bounce messages though, those should be returned to the original sender. So something isn't quite right with the configuration.
 
Oh, you mailed yourself to find out your mailbox was full? Yeah, that'll be somewhat circular, the bounce would be mailed to yourself, which would result in another bounce telling the bounce message couldn't be delivered because the mailbox is full. Which will get a bounce because the mailbox is full, repeat until the entire queue is stuck 😁
 
Back
Top