Virtual Servers can't receive any eMail, but this problem is probably my fault

This is most likely related to my "non-urgent" Parent Issue but I ran into something just before going out of town last week that made it more urgent.

I erroneously assumed all the eMail accounts I made on my virtual servers were just joyfully quiet. I discovered they weren't when I tried to reset a Pocket Casts password and never received the reset eMail from them. Test messages after that showed me I was definitely not getting them. I use Mailgun for all the outbound messages from my virtual servers because I'm not able to afford a static IP yet. Outbound eMail works great through all the systems, like sending encrypted mail via Thunderbird out to a Gmail account or using the Webmin => Servers => Read User Mail part to compose a regular mail message out to a Hotmail account. I have TLSA, SPF and DMARC entries in the DNS custom resource records on Google Domains (oh and a pic._domainkey.mg entry for Mailgun too), mostly because I never saw a way to do those inside Virtualmin. I let the BIND entries that happened automatically for DKIM in Virtualmin do their thing. To recap that parent issue, my BIND server got wiped clean and there isn't an easy way to rebuild it yet.

Here's a second copy of my post #8 on that other ticket about BIND being gone because I changed PHP around.

Is it possible that because I was using Virtualmin to manage the DKIM part of eMail and that my BIND is dysfunctional that I'm not receiving mail for the domains? I mean it's nice to get a break from spam and so forth, but I just realized while trying to do a password reset, that I haven't received mail in my privately hosted eMail accounts since the fucking-up of my BIND server day. Maybe it's unrelated, but it's correlated.

Dec 26 12:04:45 srv1 postfix/smtpd[20873]: NOQUEUE: reject: RCPT from mail-wr1-f47.google.com[209.85.221.47]: 451 4.3.5 <myself@myvmindomain.com>: Recipient address rejected: Server configuration problem; from=<somebodyiknow@gmail.com> to=<myself@myvmindomain.com> proto=ESMTP helo=<mail-wr1-f47.google.com>
Dec 26 12:04:46 srv1 postfix/smtpd[20873]: disconnect from mail-wr1-f47.google.com[209.85.221.47] ehlo=2 starttls=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=5/7
Dec 26 12:06:04 srv1 postfix/smtpd[20873]: connect from o2.email.domainofsomebody.com[163.98.07.130]
Dec 26 12:06:04 srv1 postfix/smtpd[20873]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Dec 26 12:06:04 srv1 postfix/smtpd[20873]: warning: connect to Milter service inet:localhost:8891: Connection refused
Dec 26 12:06:04 srv1 postfix/smtpd[20873]: Anonymous TLS connection established from o2.email.domainofsomebody.com[163.98.07.130]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 26 12:06:05 srv1 postfix/smtpd[20873]: warning: connect to 127.0.0.1:10023: Connection refused
Dec 26 12:06:05 srv1 postfix/smtpd[20873]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Dec 26 12:06:06 srv1 postfix/smtpd[20873]: warning: connect to 127.0.0.1:10023: Connection refused
Dec 26 12:06:06 srv1 postfix/smtpd[20873]: warning: problem talking to server 127.0.0.1:10023: Connection refused
Dec 26 12:06:06 srv1 postfix/smtpd[20873]: NOQUEUE: reject: RCPT from o2.email.domainofsomebody.com[163.98.07.130]: 451 4.3.5 <myself@myvmindomain.com>: Recipient address rejected: Server configuration problem; from=<bounces+1381704-6878-myself=myvmindomain.com@mail.domainofsomebody.com> to=<myself@myvmindomain.com> proto=ESMTP helo=<o2.email.domainofsomebody.com>
Dec 26 12:06:06 srv1 postfix/smtpd[20873]: disconnect from o2.email.domainofsomebody.com[163.98.07.130] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
Dec 26 12:06:22 srv1 postfix/smtpd[20873]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Dec 26 12:06:22 srv1 postfix/smtpd[20873]: warning: connect to Milter service inet:localhost:8891: Connection refused


====================================================================================================

Would creating a new DNS entry at Google Domains by copying the contents of Virtualmin => DomainKeys Identified Mail solve this problem? I'm paranoid about making things worse right now so I am afraid to experiment.

Status: 
Closed (fixed)

Comments

WNYmathGuy's picture
Submitted by WNYmathGuy on Sun, 01/05/2020 - 19:45 Pro Licensee

I thought we used to be able to attach files. Here's some bounce back messages for the failed attempts to receive inbound mail.

=======================================================================

Error Icon Delivery incomplete There was a temporary problem delivering your message to mike@wnymathguy.com. Gmail will retry for 46 more hours. You'll be notified if the delivery fails permanently. The response from the remote server was:

451 4.3.5 mike@wnymathguy.com: Recipient address rejected: Server configuration problem

Reporting-MTA: dns; googlemail.com Arrival-Date: Thu, 26 Dec 2019 09:02:54 -0800 (PST) X-Original-Message-ID: CAAwQfzvpEoaEVkVzCfjFrVBZGAgwZdPxVS=AfwKiiA=+WF=QtA@mail.gmail.com

Final-Recipient: rfc822; mike@wnymathguy.com Action: delayed Status: 4.3.5 Remote-MTA: dns; mail.wnymathguy.com. (68.133.11.15, the server for the domain wnymathguy.com.) Diagnostic-Code: smtp; 451 4.3.5 mike@wnymathguy.com: Recipient address rejected: Server configuration problem Last-Attempt-Date: Fri, 27 Dec 2019 10:06:34 -0800 (PST) Will-Retry-Until: Sun, 29 Dec 2019 09:02:54 -0800 (PST)

ForwardedMessage.eml Subject: Srsly! From: Mike Rupp outsourcedmath@gmail.com Date: 12/26/19, 12:02 PM To: mike@wnymathguy.com

Test this!

=======================================================================

Error Icon Delivery incomplete There was a temporary problem delivering your message to mike@wnymathguy.com. Gmail will retry for 22 more hours. You'll be notified if the delivery fails permanently. The response from the remote server was:

451 4.3.5 mike@wnymathguy.com: Recipient address rejected: Server configuration problem

Reporting-MTA: dns; googlemail.com Arrival-Date: Thu, 26 Dec 2019 09:02:54 -0800 (PST) X-Original-Message-ID: CAAwQfzvpEoaEVkVzCfjFrVBZGAgwZdPxVS=AfwKiiA=+WF=QtA@mail.gmail.com

Final-Recipient: rfc822; mike@wnymathguy.com Action: delayed Status: 4.3.5 Remote-MTA: dns; mail.wnymathguy.com. (68.133.11.15, the server for the domain wnymathguy.com.) Diagnostic-Code: smtp; 451 4.3.5 mike@wnymathguy.com: Recipient address rejected: Server configuration problem Last-Attempt-Date: Sat, 28 Dec 2019 10:06:05 -0800 (PST) Will-Retry-Until: Sun, 29 Dec 2019 09:02:54 -0800 (PST)

ForwardedMessage.eml Subject: Srsly! From: Mike Rupp outsourcedmath@gmail.com Date: 12/26/19, 12:02 PM To: mike@wnymathguy.com

Test this!

=======================================================================

Error Icon Address not found Your message wasn't delivered to mike@wnymathguy.com because the address couldn't be found, or is unable to receive mail. The response from the remote server was:

451 4.3.5 mike@wnymathguy.com: Recipient address rejected: Server configuration problem

Reporting-MTA: dns; googlemail.com Arrival-Date: Thu, 26 Dec 2019 09:02:54 -0800 (PST) X-Original-Message-ID: CAAwQfzvpEoaEVkVzCfjFrVBZGAgwZdPxVS=AfwKiiA=+WF=QtA@mail.gmail.com

Final-Recipient: rfc822; mike@wnymathguy.com Action: failed Status: 4.3.5 Remote-MTA: dns; mail.wnymathguy.com. (68.133.11.15, the server for the domain wnymathguy.com.) Diagnostic-Code: smtp; 451 4.3.5 mike@wnymathguy.com: Recipient address rejected: Server configuration problem Last-Attempt-Date: Sun, 29 Dec 2019 11:48:39 -0800 (PST)

ForwardedMessage.eml Subject: Srsly! From: Mike Rupp outsourcedmath@gmail.com Date: 12/26/19, 12:02 PM To: mike@wnymathguy.com

Test this!

Howdy -- thanks for contacting us!

The error you're receiving is "Server Configuration Problem". That likely means something in Postfix isn't quite setup right.

What I'd do is run "service postfix restart", and after doing that, to look in /var/log/mail.log to see what messages/errors show up in there at that point.

Oh, and I missed that you did show your mail logs in your initial post, those show this error:

warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory

You'd want to ensure that the milter-greylist service is running.

WNYmathGuy's picture
Submitted by WNYmathGuy on Wed, 01/08/2020 - 16:37 Pro Licensee

Sorry for the delay, I was out of town and had a bandwidth of sometimes as fast as 400Kbps, that was when it worked at all.

Milter (Mail Rate Limiting) wasn't just not running, it was uninstalled!
Same goes for the Greylisting (Email Greylisting)!

I really did a bad thing by upgrading my PHP outside-the-box of Ubuntu's approved packages!

After installing both services, I sent two inbound messages from Gmail accounts to an internal account, then I reloaded the Postfix with the web interface and then opened the log to see some error messages, then I rebooted the server hoping it would help, and this is the log:

Jan 7 17:40:47 srv1 postfix/postfix-script[31288]: refreshing the Postfix mail system
Jan 7 17:40:47 srv1 postfix/master[3012]: reload -- version 3.3.0, configuration /etc/postfix
Jan 7 17:40:47 srv1 postfix/anvil[24903]: statistics: max connection rate 3/60s for (smtp:111.231.85.239) at Jan 7 17:37:41
Jan 7 17:40:47 srv1 postfix/anvil[24903]: statistics: max connection count 2 for (smtp:45.148.10.158) at Jan 7 17:33:37
Jan 7 17:40:47 srv1 postfix/anvil[24903]: statistics: max cache size 2 at Jan 7 17:37:35
Jan 7 17:40:47 srv1 postfix/postfix-script[31400]: warning: not owned by root: /etc/postfix/./cert-20180123-173720.txt
Jan 7 17:40:47 srv1 postfix/postfix-script[31401]: warning: not owned by root: /etc/postfix/./postfix.ca.pem
Jan 7 17:40:47 srv1 postfix/postfix-script[31402]: warning: not owned by root: /etc/postfix/./key-20180123-173720.pem
Jan 7 17:40:47 srv1 postfix/postfix-script[31403]: warning: not owned by root: /etc/postfix/./virtual.db
Jan 7 17:40:47 srv1 postfix/postfix-script[31405]: warning: not owned by root: /etc/postfix/./sender_dependent_relayhost_map.db
Jan 7 17:40:47 srv1 postfix/postfix-script[31406]: warning: not owned by root: /etc/postfix/./virtual
Jan 7 17:40:47 srv1 postfix/postfix-script[31407]: warning: not owned by root: /etc/postfix/./cert-20180123-173720.pem
Jan 7 17:40:47 srv1 postfix/postfix-script[31408]: warning: not owned by root: /etc/postfix/./smtp_sasl_password_map.db
Jan 7 17:40:47 srv1 postfix/postfix-script[31409]: warning: not owned by root: /etc/postfix/./sender_dependent_relayhost_map
Jan 7 17:40:47 srv1 postfix/postfix-script[31410]: warning: not owned by root: /etc/postfix/./smtp_sasl_password_map
Jan 7 17:40:47 srv1 postfix/postfix-script[31411]: warning: not owned by root: /etc/postfix/./key-20180123-173720.txt
Jan 7 17:42:13 srv1 postfix/pickup[31299]: E395E4E107E: uid=0 from=<webmin@srv1.>
Jan 7 17:42:13 srv1 postfix/cleanup[1146]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 17:42:13 srv1 postfix/cleanup[1146]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 17:42:13 srv1 postfix/cleanup[1146]: E395E4E107E: message-id=<1578436933.32486.1@srv1.>
Jan 7 17:42:13 srv1 postfix/qmgr[31298]: E395E4E107E: from=<webmin@srv1>, size=903, nrcpt=1 (queue active)
Jan 7 17:42:13 srv1 postfix/local[1150]: E395E4E107E: to=<support@srv1>, orig_to=support@ruppssites.com, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 17:42:13 srv1 postfix/cleanup[1146]: EA5F64E10D3: message-id=20200107224213.EA5F64E10D3@srv1.ruppssites.com
Jan 7 17:42:13 srv1 postfix/bounce[1153]: E395E4E107E: sender non-delivery notification: EA5F64E10D3
Jan 7 17:42:13 srv1 postfix/qmgr[31298]: EA5F64E10D3: from=<>, size=2965, nrcpt=1 (queue active)
Jan 7 17:42:13 srv1 postfix/qmgr[31298]: E395E4E107E: removed
Jan 7 17:42:13 srv1 postfix/local[1150]: EA5F64E10D3: to=<webmin@srv1>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "webmin")
Jan 7 17:42:13 srv1 postfix/qmgr[31298]: EA5F64E10D3: removed
Jan 7 17:42:40 srv1 postfix/postfix-script[1903]: warning: not owned by root: /etc/postfix/./cert-20180123-173720.txt
Jan 7 17:42:40 srv1 postfix/postfix-script[1905]: warning: not owned by root: /etc/postfix/./postfix.ca.pem
Jan 7 17:42:40 srv1 postfix/postfix-script[1906]: warning: not owned by root: /etc/postfix/./key-20180123-173720.pem
Jan 7 17:42:40 srv1 postfix/postfix-script[1907]: warning: not owned by root: /etc/postfix/./virtual.db
Jan 7 17:42:40 srv1 postfix/postfix-script[1908]: warning: not owned by root: /etc/postfix/./sender_dependent_relayhost_map.db
Jan 7 17:42:40 srv1 postfix/postfix-script[1909]: warning: not owned by root: /etc/postfix/./virtual
Jan 7 17:42:40 srv1 postfix/postfix-script[1910]: warning: not owned by root: /etc/postfix/./cert-20180123-173720.pem
Jan 7 17:42:40 srv1 postfix/postfix-script[1911]: warning: not owned by root: /etc/postfix/./smtp_sasl_password_map.db
Jan 7 17:42:40 srv1 postfix/postfix-script[1912]: warning: not owned by root: /etc/postfix/./sender_dependent_relayhost_map
Jan 7 17:42:40 srv1 postfix/postfix-script[1913]: warning: not owned by root: /etc/postfix/./smtp_sasl_password_map
Jan 7 17:42:40 srv1 postfix/postfix-script[1914]: warning: not owned by root: /etc/postfix/./key-20180123-173720.txt
Jan 7 17:43:12 srv1 postfix/smtpd[2339]: connect from mail-vs1-f44.google.com[209.85.217.44]
Jan 7 17:43:12 srv1 postfix/smtpd[2339]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 17:43:12 srv1 postfix/smtpd[2339]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 17:43:12 srv1 postfix/smtpd[2339]: Anonymous TLS connection established from mail-vs1-f44.google.com[209.85.217.44]: TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
Jan 7 17:43:13 srv1 postgrey[31333]: action=pass, reason=client whitelist, client_name=mail-vs1-f44.google.com, client_address=209.85.217.44/32, sender=wnymathguy@gmail.com, recipient=mike@wnymathguy.com
Jan 7 17:43:13 srv1 postfix/smtpd[2339]: 19B2D4E1160: client=mail-vs1-f44.google.com[209.85.217.44]
Jan 7 17:43:13 srv1 postfix/cleanup[1146]: 19B2D4E1160: message-id=CAEAEUq27+8aWRzOLQWamEwpTnXhkeOBYhXmRqgRO1goaYpaN9w@mail.gmail.com
Jan 7 17:43:13 srv1 postfix/qmgr[31298]: 19B2D4E1160: from=wnymathguy@gmail.com, size=2606, nrcpt=1 (queue active)
Jan 7 17:43:13 srv1 postfix/local[1150]: 19B2D4E1160: to=<mike-wnymathguy.com@srv1>, orig_to=mike@wnymathguy.com, relay=local, delay=0.56, delays=0.55/0/0/0.01, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 17:43:13 srv1 postfix/cleanup[1146]: 2BCCD4E11AB: message-id=20200107224313.2BCCD4E11AB@srv1.ruppssites.com
Jan 7 17:43:13 srv1 postfix/bounce[1153]: 19B2D4E1160: sender non-delivery notification: 2BCCD4E11AB
Jan 7 17:43:13 srv1 postfix/qmgr[31298]: 2BCCD4E11AB: from=<>, size=4710, nrcpt=1 (queue active)
Jan 7 17:43:13 srv1 postfix/qmgr[31298]: 19B2D4E1160: removed
Jan 7 17:43:13 srv1 postfix/smtpd[2339]: disconnect from mail-vs1-f44.google.com[209.85.217.44] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Jan 7 17:43:13 srv1 postfix/smtp[2363]: warning: [smtp.mailgun.org]:587: dane configured with dnssec lookups disabled
Jan 7 17:43:13 srv1 postfix/smtp[2363]: Untrusted TLS connection established to smtp.mailgun.org[34.226.231.135]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:43:13 srv1 postfix/smtp[2363]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:43:13 srv1 postfix/smtp[2363]: 2BCCD4E11AB: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[34.226.231.135]: generic failure
Jan 7 17:43:13 srv1 postfix/smtp[2363]: Untrusted TLS connection established to smtp.mailgun.org[52.203.85.37]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:43:13 srv1 postfix/smtp[2363]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:43:13 srv1 postfix/smtp[2363]: 2BCCD4E11AB: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.203.85.37]: generic failure
Jan 7 17:43:13 srv1 postfix/smtp[2363]: Untrusted TLS connection established to smtp.mailgun.org[54.152.210.106]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:43:13 srv1 postfix/smtp[2363]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:43:13 srv1 postfix/smtp[2363]: 2BCCD4E11AB: to=wnymathguy@gmail.com, relay=smtp.mailgun.org[54.152.210.106]:587, delay=0.62, delays=0.01/0.01/0.6/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.mailgun.org[54.152.210.106]: generic failure)
Jan 7 17:44:34 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=3182, TLS, session=<rggmhZSb/MjAqAEB>
Jan 7 17:44:34 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=42 out=479
Jan 7 17:44:35 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=3196, TLS, session=<xaQphZSb/cjAqAEB>
Jan 7 17:44:45 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=577 out=5412
Jan 7 17:45:47 srv1 postfix/qmgr[31298]: C46084E1E7F: from=<>, size=10426, nrcpt=1 (queue active)
Jan 7 17:45:47 srv1 postfix/smtp[3924]: warning: [smtp.mailgun.org]:587: dane configured with dnssec lookups disabled
Jan 7 17:45:48 srv1 postfix/smtp[3924]: Untrusted TLS connection established to smtp.mailgun.org[52.11.129.150]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:45:48 srv1 postfix/smtp[3924]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:45:48 srv1 postfix/smtp[3924]: C46084E1E7F: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.11.129.150]: generic failure
Jan 7 17:45:49 srv1 postfix/smtp[3924]: Untrusted TLS connection established to smtp.mailgun.org[52.34.143.247]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:45:49 srv1 postfix/smtp[3924]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:45:49 srv1 postfix/smtp[3924]: C46084E1E7F: to=outsourcedmath@gmail.com, relay=smtp.mailgun.org[52.34.143.247]:587, delay=497, delays=496/0.02/1.3/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.34.143.247]: generic failure)
Jan 7 17:46:33 srv1 postfix/anvil[2342]: statistics: max connection rate 1/60s for (smtp:209.85.217.44) at Jan 7 17:43:12
Jan 7 17:46:33 srv1 postfix/anvil[2342]: statistics: max connection count 1 for (smtp:209.85.217.44) at Jan 7 17:43:12
Jan 7 17:46:33 srv1 postfix/anvil[2342]: statistics: max cache size 1 at Jan 7 17:43:12
Jan 7 17:49:35 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=6761, TLS, session=
Jan 7 17:49:35 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=42 out=479
Jan 7 17:49:36 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=6777, TLS, session=
Jan 7 17:49:47 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=577 out=5404
Jan 7 17:50:43 srv1 postfix/smtpd[8060]: connect from unknown[185.234.219.70]
Jan 7 17:50:43 srv1 postfix/smtpd[8060]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 17:50:43 srv1 postfix/smtpd[8060]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 17:50:46 srv1 postfix/smtpd[8060]: warning: unknown[185.234.219.70]: SASL LOGIN authentication failed: authentication failure
Jan 7 17:50:46 srv1 postfix/smtpd[8060]: lost connection after AUTH from unknown[185.234.219.70]
Jan 7 17:50:46 srv1 postfix/smtpd[8060]: disconnect from unknown[185.234.219.70] ehlo=1 auth=0/1 commands=1/2
Jan 7 17:50:47 srv1 postfix/qmgr[31298]: 2BCCD4E11AB: from=<>, size=4710, nrcpt=1 (queue active)
Jan 7 17:50:57 srv1 postfix/smtp[8192]: warning: [smtp.mailgun.org]:587: dane configured with dnssec lookups disabled
Jan 7 17:50:57 srv1 postfix/smtp[8192]: Untrusted TLS connection established to smtp.mailgun.org[52.11.129.150]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:50:58 srv1 postfix/smtp[8192]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:50:58 srv1 postfix/smtp[8192]: 2BCCD4E11AB: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.11.129.150]: generic failure
Jan 7 17:50:58 srv1 postfix/smtp[8192]: Untrusted TLS connection established to smtp.mailgun.org[52.34.143.247]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:50:58 srv1 postfix/smtp[8192]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:50:58 srv1 postfix/smtp[8192]: 2BCCD4E11AB: to=wnymathguy@gmail.com, relay=smtp.mailgun.org[52.34.143.247]:587, delay=466, delays=454/0.02/12/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.34.143.247]: generic failure)
Jan 7 17:51:20 srv1 spamd[27398]: spamd: server killed by SIGTERM, shutting down
Jan 7 17:51:20 srv1 spamd[27398]: spamd: cannot send SIGINT to child process [27429]: No such process
Jan 7 17:51:20 srv1 spamd[27398]: spamd: cannot send SIGINT to child process [27428]: No such process
Jan 7 17:54:49 srv1 opendkim[2603]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf)
Jan 7 17:54:57 srv1 postgrey[2899]: Process Backgrounded
Jan 7 17:54:57 srv1 postgrey[2899]: 2020/01/07-17:54:57 postgrey (type Net::Server::Multiplex) starting! pid(2899)
Jan 7 17:54:57 srv1 postgrey[2899]: Resolved [localhost]:10023 to [::1]:10023, IPv6
Jan 7 17:54:57 srv1 postgrey[2899]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4
Jan 7 17:54:58 srv1 postgrey[2899]: Binding to TCP port 10023 on host ::1 with IPv6
Jan 7 17:54:58 srv1 postgrey[2899]: Binding to TCP port 10023 on host 127.0.0.1 with IPv4
Jan 7 17:54:58 srv1 postgrey[2899]: Setting gid to "126 126"
Jan 7 17:54:58 srv1 postgrey[2899]: Setting uid to "121"
Jan 7 17:54:58 srv1 dovecot: master: Dovecot v2.2.33.2 (d6601f4ec) starting up for imap, pop3 (core dumps disabled)
Jan 7 17:55:01 srv1 postfix/postfix-script[2967]: warning: not owned by root: /etc/postfix/./cert-20180123-173720.txt
Jan 7 17:55:01 srv1 postfix/postfix-script[2968]: warning: not owned by root: /etc/postfix/./postfix.ca.pem
Jan 7 17:55:01 srv1 postfix/postfix-script[2971]: warning: not owned by root: /etc/postfix/./key-20180123-173720.pem
Jan 7 17:55:01 srv1 postfix/postfix-script[2972]: warning: not owned by root: /etc/postfix/./virtual.db
Jan 7 17:55:01 srv1 postfix/postfix-script[2973]: warning: not owned by root: /etc/postfix/./sender_dependent_relayhost_map.db
Jan 7 17:55:01 srv1 postfix/postfix-script[2974]: warning: not owned by root: /etc/postfix/./virtual
Jan 7 17:55:01 srv1 postfix/postfix-script[2975]: warning: not owned by root: /etc/postfix/./cert-20180123-173720.pem
Jan 7 17:55:01 srv1 postfix/postfix-script[2976]: warning: not owned by root: /etc/postfix/./smtp_sasl_password_map.db
Jan 7 17:55:01 srv1 postfix/postfix-script[2977]: warning: not owned by root: /etc/postfix/./sender_dependent_relayhost_map
Jan 7 17:55:01 srv1 postfix/postfix-script[2978]: warning: not owned by root: /etc/postfix/./smtp_sasl_password_map
Jan 7 17:55:01 srv1 postfix/postfix-script[2980]: warning: not owned by root: /etc/postfix/./key-20180123-173720.txt
Jan 7 17:55:02 srv1 postfix/postfix-script[3047]: starting the Postfix mail system
Jan 7 17:55:02 srv1 postfix/master[3049]: daemon started -- version 3.3.0, configuration /etc/postfix
Jan 7 17:55:02 srv1 postfix/qmgr[3055]: C46084E1E7F: from=<>, size=10426, nrcpt=1 (queue active)
Jan 7 17:55:02 srv1 spamd[2196]: logger: removing stderr method
Jan 7 17:55:03 srv1 postfix/pickup[3054]: D096B4E0BE4: uid=1003 from=
Jan 7 17:55:03 srv1 postfix/cleanup[3068]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 17:55:03 srv1 postfix/cleanup[3068]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 17:55:03 srv1 postfix/cleanup[3068]: D096B4E0BE4: message-id=20200107225502.D096B4E0BE4@srv1.ruppssites.com
Jan 7 17:55:03 srv1 postfix/qmgr[3055]: D096B4E0BE4: from=<outmathadmin@srv1>, size=1748, nrcpt=1 (queue active)
Jan 7 17:55:05 srv1 postfix/local[3097]: D096B4E0BE4: to=<outmathadmin@srv1>, orig_to=, relay=local, delay=217, delays=216/0.3/0/0.84, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 17:55:05 srv1 postfix/smtp[3080]: warning: [smtp.mailgun.org]:587: dane configured with dnssec lookups disabled
Jan 7 17:55:06 srv1 postfix/cleanup[3068]: 16F3A4E0C1F: message-id=20200107225505.16F3A4E0C1F@srv1.ruppssites.com
Jan 7 17:55:06 srv1 postfix/qmgr[3055]: 16F3A4E0C1F: from=<>, size=3824, nrcpt=1 (queue active)
Jan 7 17:55:06 srv1 postfix/bounce[3104]: D096B4E0BE4: sender non-delivery notification: 16F3A4E0C1F
Jan 7 17:55:06 srv1 postfix/qmgr[3055]: D096B4E0BE4: removed
Jan 7 17:55:07 srv1 postfix/local[3097]: 16F3A4E0C1F: to=<outmathadmin@srv1>, relay=local, delay=2, delays=1.3/0/0/0.61, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 17:55:07 srv1 postfix/smtp[3080]: Untrusted TLS connection established to smtp.mailgun.org[52.34.143.247]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:55:07 srv1 postfix/qmgr[3055]: 16F3A4E0C1F: removed
Jan 7 17:55:07 srv1 postfix/smtp[3080]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:55:07 srv1 postfix/smtp[3080]: C46084E1E7F: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.34.143.247]: generic failure
Jan 7 17:55:08 srv1 postfix/smtp[3080]: Untrusted TLS connection established to smtp.mailgun.org[52.11.129.150]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 17:55:08 srv1 postfix/smtp[3080]: warning: SASL authentication failure: All-whitespace username.
Jan 7 17:55:08 srv1 postfix/smtp[3080]: C46084E1E7F: to=outsourcedmath@gmail.com, relay=smtp.mailgun.org[52.11.129.150]:587, delay=1057, delays=1051/3.2/2.6/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.11.129.150]: generic failure)
Jan 7 17:55:13 srv1 spamd[3076]: zoom: able to use 392/393 'body_0' compiled rules (99.745%)
Jan 7 17:55:15 srv1 spamd[3076]: spamd: server started on IO::Socket::IP [::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 3.4.2)
Jan 7 17:55:15 srv1 spamd[3076]: spamd: server pid: 3076
Jan 7 17:55:15 srv1 spamd[3076]: spamd: server successfully spawned child process, pid 3181
Jan 7 17:55:15 srv1 spamd[3076]: spamd: server successfully spawned child process, pid 3182
Jan 7 17:55:15 srv1 spamd[3076]: prefork: child states: IS
Jan 7 17:55:15 srv1 spamd[3076]: prefork: child states: II
Jan 7 17:56:38 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=3662, TLS, session=
Jan 7 17:56:38 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=3663, TLS, session=
Jan 7 17:56:38 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=115 out=932
Jan 7 17:59:12 srv1 postfix/pickup[3054]: A8A544E20C6: uid=1003 from=
Jan 7 17:59:12 srv1 postfix/cleanup[5845]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 17:59:12 srv1 postfix/cleanup[5845]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 17:59:12 srv1 postfix/cleanup[5845]: A8A544E20C6: message-id=20200107225912.A8A544E20C6@srv1.ruppssites.com
Jan 7 17:59:12 srv1 postfix/qmgr[3055]: A8A544E20C6: from=<outmathadmin@srv1>, size=16042, nrcpt=1 (queue active)
Jan 7 17:59:12 srv1 postfix/local[5848]: A8A544E20C6: to=<outmathadmin@srv1>, orig_to=, relay=local, delay=0.07, delays=0.04/0.01/0/0.02, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 17:59:12 srv1 postfix/cleanup[5845]: B33E94E20CC: message-id=20200107225912.B33E94E20CC@srv1.ruppssites.com
Jan 7 17:59:12 srv1 postfix/bounce[5851]: A8A544E20C6: sender non-delivery notification: B33E94E20CC
Jan 7 17:59:12 srv1 postfix/qmgr[3055]: B33E94E20CC: from=<>, size=18118, nrcpt=1 (queue active)
Jan 7 17:59:12 srv1 postfix/qmgr[3055]: A8A544E20C6: removed
Jan 7 17:59:12 srv1 postfix/local[5848]: B33E94E20CC: to=<outmathadmin@srv1>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 17:59:12 srv1 postfix/qmgr[3055]: B33E94E20CC: removed
Jan 7 18:00:02 srv1 postfix/qmgr[3055]: 2BCCD4E11AB: from=<>, size=4710, nrcpt=1 (queue active)
Jan 7 18:00:02 srv1 postfix/qmgr[3055]: CFCB84E11C6: from=<>, size=5181, nrcpt=1 (queue active)
Jan 7 18:00:02 srv1 postfix/smtp[6397]: warning: [smtp.mailgun.org]:587: dane configured with dnssec lookups disabled
Jan 7 18:00:02 srv1 postfix/smtp[6395]: warning: [smtp.mailgun.org]:587: dane configured with dnssec lookups disabled
Jan 7 18:00:03 srv1 postfix/smtp[6395]: Untrusted TLS connection established to smtp.mailgun.org[54.152.210.106]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 18:00:03 srv1 postfix/smtp[6395]: warning: SASL authentication failure: All-whitespace username.
Jan 7 18:00:03 srv1 postfix/smtp[6395]: 2BCCD4E11AB: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[54.152.210.106]: generic failure
Jan 7 18:00:03 srv1 postfix/smtp[6397]: Untrusted TLS connection established to smtp.mailgun.org[54.152.210.106]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 18:00:03 srv1 postfix/smtp[6397]: warning: SASL authentication failure: All-whitespace username.
Jan 7 18:00:03 srv1 postfix/smtp[6397]: CFCB84E11C6: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[54.152.210.106]: generic failure
Jan 7 18:00:03 srv1 postfix/smtp[6395]: Untrusted TLS connection established to smtp.mailgun.org[52.203.85.37]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 18:00:03 srv1 postfix/smtp[6395]: warning: SASL authentication failure: All-whitespace username.
Jan 7 18:00:03 srv1 postfix/smtp[6395]: 2BCCD4E11AB: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.203.85.37]: generic failure
Jan 7 18:00:03 srv1 postfix/smtp[6397]: Untrusted TLS connection established to smtp.mailgun.org[52.203.85.37]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 18:00:03 srv1 postfix/smtp[6397]: warning: SASL authentication failure: All-whitespace username.
Jan 7 18:00:03 srv1 postfix/smtp[6397]: CFCB84E11C6: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[52.203.85.37]: generic failure
Jan 7 18:00:03 srv1 postfix/smtp[6395]: Untrusted TLS connection established to smtp.mailgun.org[34.226.231.135]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 18:00:03 srv1 postfix/smtp[6395]: warning: SASL authentication failure: All-whitespace username.
Jan 7 18:00:03 srv1 postfix/smtp[6397]: Untrusted TLS connection established to smtp.mailgun.org[34.226.231.135]:587: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Jan 7 18:00:03 srv1 postfix/smtp[6397]: warning: SASL authentication failure: All-whitespace username.
Jan 7 18:00:03 srv1 postfix/smtp[6395]: 2BCCD4E11AB: to=wnymathguy@gmail.com, relay=smtp.mailgun.org[34.226.231.135]:587, delay=1010, delays=1010/0.12/0.72/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.mailgun.org[34.226.231.135]: generic failure)
Jan 7 18:00:03 srv1 postfix/smtp[6397]: CFCB84E11C6: to=bounce_636911922+a.134b6cc54c1eb030_11699e4beccf320_v27@zcsend.net, relay=smtp.mailgun.org[34.226.231.135]:587, delay=2466, delays=2465/0.04/0.85/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server smtp.mailgun.org[34.226.231.135]: generic failure)
Jan 7 18:00:51 srv1 postfix/smtpd[6903]: connect from unknown[185.234.219.70]
Jan 7 18:00:51 srv1 postfix/smtpd[6903]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 18:00:51 srv1 postfix/smtpd[6903]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 18:00:53 srv1 postfix/smtpd[6903]: warning: unknown[185.234.219.70]: SASL LOGIN authentication failed: authentication failure
Jan 7 18:00:53 srv1 postfix/smtpd[6903]: lost connection after AUTH from unknown[185.234.219.70]
Jan 7 18:00:53 srv1 postfix/smtpd[6903]: disconnect from unknown[185.234.219.70] ehlo=1 auth=0/1 commands=1/2
Jan 7 18:01:38 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=7319, TLS, session=
Jan 7 18:01:38 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=42 out=479
Jan 7 18:01:39 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=7322, TLS, session=
Jan 7 18:01:49 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=577 out=5484
Jan 7 18:04:13 srv1 postfix/anvil[6906]: statistics: max connection rate 1/60s for (smtp:185.234.219.70) at Jan 7 18:00:51
Jan 7 18:04:13 srv1 postfix/anvil[6906]: statistics: max connection count 1 for (smtp:185.234.219.70) at Jan 7 18:00:51
Jan 7 18:04:13 srv1 postfix/anvil[6906]: statistics: max cache size 1 at Jan 7 18:00:51
Jan 7 18:06:40 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=9673, TLS, session=<9mMh1JSbF8nAqAEB>
Jan 7 18:06:40 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=42 out=479
Jan 7 18:06:40 srv1 dovecot: imap-login: Login: user=mike@wnymathguy.com, method=PLAIN, rip=192.168.1.1, lip=192.168.1.196, mpid=9675, TLS, session=<K/wk1JSbGMnAqAEB>
Jan 7 18:06:50 srv1 dovecot: imap(mike@wnymathguy.com): Logged out in=577 out=5412
Jan 7 18:07:22 srv1 postfix/pickup[3054]: 82BE84E2ADC: uid=0 from=<webmin@srv1.>
Jan 7 18:07:22 srv1 postfix/cleanup[10727]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 18:07:22 srv1 postfix/cleanup[10727]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 18:07:22 srv1 postfix/cleanup[10727]: 82BE84E2ADC: message-id=<1578438442.9756.1@srv1.>
Jan 7 18:07:22 srv1 postfix/qmgr[3055]: 82BE84E2ADC: from=<webmin@srv1>, size=814, nrcpt=1 (queue active)
Jan 7 18:07:22 srv1 postfix/local[10733]: 82BE84E2ADC: to=<jarhead@srv1>, orig_to=jarhead@wnymathguy.com, relay=local, delay=0.05, delays=0.03/0.01/0/0.02, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 18:07:22 srv1 postfix/cleanup[10727]: 8D00F4E2D7B: message-id=20200107230722.8D00F4E2D7B@srv1.ruppssites.com
Jan 7 18:07:22 srv1 postfix/bounce[10737]: 82BE84E2ADC: sender non-delivery notification: 8D00F4E2D7B
Jan 7 18:07:22 srv1 postfix/qmgr[3055]: 8D00F4E2D7B: from=<>, size=2876, nrcpt=1 (queue active)
Jan 7 18:07:22 srv1 postfix/qmgr[3055]: 82BE84E2ADC: removed
Jan 7 18:07:22 srv1 postfix/local[10733]: 8D00F4E2D7B: to=<webmin@srv1>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "webmin")
Jan 7 18:07:22 srv1 postfix/qmgr[3055]: 8D00F4E2D7B: removed
Jan 7 18:07:24 srv1 postfix/pickup[3054]: E602F4E2ADC: uid=0 from=<webmin@srv1.>
Jan 7 18:07:24 srv1 postfix/cleanup[10727]: warning: connect to Milter service local:/var/run/milter-greylist/milter-greylist.sock: No such file or directory
Jan 7 18:07:24 srv1 postfix/cleanup[10727]: warning: connect to Milter service inet:localhost:8891: Connection refused
Jan 7 18:07:24 srv1 postfix/cleanup[10727]: E602F4E2ADC: message-id=<1578438444.9756.2@srv1.>
Jan 7 18:07:24 srv1 postfix/qmgr[3055]: E602F4E2ADC: from=<webmin@srv1>, size=818, nrcpt=1 (queue active)
Jan 7 18:07:24 srv1 postfix/local[10733]: E602F4E2ADC: to=<support@srv1>, orig_to=support@ruppssites.com, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.3.0, status=bounced (Command died with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME". Command output: sh: 1: /usr/bin/procmail-wrapper: not found )
Jan 7 18:07:24 srv1 postfix/cleanup[10727]: EA6EA4E2D7B: message-id=20200107230724.EA6EA4E2D7B@srv1.ruppssites.com
Jan 7 18:07:24 srv1 postfix/bounce[10737]: E602F4E2ADC: sender non-delivery notification: EA6EA4E2D7B
Jan 7 18:07:24 srv1 postfix/qmgr[3055]: EA6EA4E2D7B: from=<>, size=2880, nrcpt=1 (queue active)
Jan 7 18:07:24 srv1 postfix/qmgr[3055]: E602F4E2ADC: removed
Jan 7 18:07:24 srv1 postfix/local[10733]: EA6EA4E2D7B: to=<webmin@srv1>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "webmin")
Jan 7 18:07:24 srv1 postfix/qmgr[3055]: EA6EA4E2D7B: removed
Jan 7 18:08:29 srv1 dovecot: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=196.52.43.62, lip=192.168.1.196, TLS handshaking: SSL_accept() syscall failed: Success, session=<uEGv2pSbW8DENCs+>

Hmm, your server appears to be missing a command that's normally installed with Virtualmin.

What is the output of this command:

dpkg -l 'procmail*'
WNYmathGuy's picture
Submitted by WNYmathGuy on Wed, 01/08/2020 - 10:10 Pro Licensee

~]# dpkg -l 'procmail*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  procmail       3.22-26      amd64        Versatile e-mail processor


But when I go into Webmin => Servers => Procmail Mail Filter it has this in its contents:

Action to take Conditions Move Add
Set variable LOGFILE to /var/log/procmail.log
Set variable TRAP to /etc/webmin/virtual-server/procmail-logger.pl
Set variable VIRTUALMIN Always execute action
Set variable EXITCODE to $?
Append to file /dev/null Exit status of command /usr/bin/test "$EXITCODE" = "73"

Set variable EXITCODE to 0
Execute conditional block Exit status of command /usr/bin/test "$VIRTUALMIN" != ""

Set variable ORGMAIL to $HOME/Maildir/
Set variable DEFAULT to $HOME/Maildir/
Set variable DROPPRIVS to yes


A quick Webmin => System => Package Search for procmail gave this result:
procmail 3.22-26 P-T amd64 Versatile e-mail processor

Ilia's picture
Submitted by Ilia on Wed, 01/08/2020 - 10:05

Did you install Virtualmin using install.sh script?

WNYmathGuy's picture
Submitted by WNYmathGuy on Wed, 01/08/2020 - 10:23 Pro Licensee

@Ilia, yes I did, but because I'm a hacky systems admin instead of a pro, I did non-standard things since then. Like long ago I switched the running system from MySQL to MariaDB which was a fiasco that I got through. Recently this whole mess was caused because an app in my Nextcloud Server on the system (secure password manager) required PHP 7 to continue operating in the latest version of Nextcloud.

I forced the installation of PHP 7 by going out of the Ubuntu options to the http://ppa.launchpad.net/ondrej/php/ubuntu repository, and that Ondrej recommended adding the Apache repository too, so I did. Somehow in the panick of webservers not working right I decided to remove the other versions of PHP and that wound up deleting my BIND server and other yet unknown problems like this one. See My incompetence

It looks like you're missing the procmail-wrapper package.

I always get nervous when some packages are missing, as that could indicate a larger issue.

But for now, you can start by running this command:

apt-get install procmail-wrapper

After trying that, see if you're then able to send yourself an email, as the missing procmail-wrapper command is the error that was showing up in your logs.

Ilia's picture
Submitted by Ilia on Wed, 01/08/2020 - 10:36

:) Well. You must understand that it can be fixed but the amount of time invested might be great.

Ubuntu 18.04 by default has PHP v7.2.24, how come it's not great?

WNYmathGuy's picture
Submitted by WNYmathGuy on Wed, 01/08/2020 - 16:17 Pro Licensee

@andreychek Well, mark this part solved! I just got an inbound message from a Gmail account. Your ~]# dpkg -l 'procmail*' test gives the wrapper now:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name             Version      Architecture Description
+++-================-============-============-=================================
ii  procmail         3.22-26      amd64        Versatile e-mail processor
ii  procmail-wrapper 1.0-2        amd64        Suexec wrapper for procmail


Sadly, I think I could have known that problem long ago if I would have been curious enough to look at the eMail queue in Postfix. There were stuck outbound error messages that would have told the reason for the fault.

<nsfw-wnymathguy.com@srv1> (expanded from nsfw@wnymathguy.com): Command died
with status 127: "/usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME".
Command output: sh: 1: /usr/bin/procmail-wrapper: not found

I think that if I would have programmed in the admin sender password for Mailgun the error messages wouldnt have been stuck in the queue.

Maybe Virtualmin would save a lot of time by making all customers take a mini-class where we had to check-boxes signifying we knew about and understood how to look at various places to find useful trouble codes. Instead of searching the forums for answers a new service request would require the manual copy & paste of various logs. On more than one occasion I have found a solution to a problem while trying to write a really good ticket on Git or here and never had to submit the trouble ticket. Just a thought. :)

@Ilia I so know that too. I only pay a nominal fee to the Virtualmin per year and I have got a lot of great technical service. I don't want to be the whiny admin that never looks for answers on their own, but I have found a lot of "Solutions" on the Internet that were solutions to a different but similar problem that just made my problem worse. Like there's tiger medicine available, and I have a black and white striped animal that I give it to not knowing that zebras can't take tiger medicine because my Veterinarian school is DuckDuckGo.