• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue I don't get any system emails

Bunta

New Pleskian
Server operating system version
Ubuntu 22.04 and 20.04
Plesk version and microupdate number
18.0.56 #4
Hello,
I have 3 servers with Plesk. One quite old and two newer ones.
For example, on the old one I receive emails about updates, problems and other system emails.
I don't get anything on the two new ones.
In my opinion, I have compared everything and it is the same.
I can't find a way to send such an email manually to check what the problem is.

I can send and receive other emails from the servers via existing mailboxes without any problems.

I'm really at a loss.
 
Are the mails placed into the mail queue, e.g. do they show up in /var/log/maillog? Or are no such mails found in the log?
 
The mail queue is empty. So nothing got stuck there.
If I take a look at the outgoing mail control, I can assume that the weekly mail was attempted to be sent on November 11th, 2023 at around 1 a.m.

The maillog is so large from various login attempts. Probably the curse of a V-Server.
If I don't know exactly what to look for, it's probably like looking for a needle in a haystack.
 
In /var/log/maillog you could look for the recipient address. You can use "grep" to only show the entries where that string is included.
 
Ah thx.
I found some strange entries between 1 and 2 o'clock. This looks like the email from the system.

Unfortunately, I can't figure it out. I just find the gmail addresses strange. Where could they be stored in a config?
I changed the names of the two gmail addresses before posting them here. I also replaced my domain with “mydomain.de”. I also changed the server name. Otherwise I haven't changed anything.

Code:
Nov 11 01:35:35 h1234567 plesk-sendmail[2712432]: S2712432: from=<[email protected]> to=<[email protected]>
Nov 11 01:35:36 h1234567 plesk-sendmail[2712433]: S2712432: add-from: stderr: SKIP
Nov 11 01:35:37 h1234567 plesk-sendmail[2712433]: S2712432: py-limit-out: stderr: INFO:__main__:Setting 'X-PPP-Vhost' header to 'h1234567.stratoserver.net'
Nov 11 01:35:37 h1234567 plesk-sendmail[2712433]: S2712432: py-limit-out: stderr: PASS
Nov 11 01:35:37 h1234567 plesk-sendmail[2712433]: S2712432: check-quota: stderr: SKIP
Nov 11 01:35:37 h1234567 postfix/smtpd[2707723]: connect from unknown[46.148.40.74]
Nov 11 01:35:37 h1234567 postfix/pickup[2705695]: C716A404C4: uid=999 from=<[email protected]>
Nov 11 01:35:38 h1234567 postfix/cleanup[2712443]: C716A404C4: message-id=<[email protected]>
Nov 11 01:35:38 h1234567 postfix/qmgr[466667]: C716A404C4: from=<[email protected]>, size=12614, nrcpt=1 (queue active)
Nov 11 01:35:38 h1234567 postfix-local[2712450]: C716A404C4: from=<[email protected]>, to=<[email protected]>, dirname=/var/qmail/mailnames
Nov 11 01:35:38 h1234567 spamc[2712452]: connect to spamd on ::1 failed, retrying (#1 of 3): Connection refused
Nov 11 01:35:38 h1234567 spamd[2650759]: spamd: connection from 127.0.0.1 [127.0.0.1]:52986 to port 783, fd 5
Nov 11 01:35:38 h1234567 spamd[2650759]: spamd: using default config for [email protected]: /var/qmail/mailnames/mydomain.de/plesk/.spamassassin/user_prefs
Nov 11 01:35:38 h1234567 spamd[2650759]: spamd: processing message <[email protected]> for [email protected]:30
Nov 11 01:35:39 h1234567 spamd[2650759]: spamd: clean message (2.8/7.0) for [email protected]:30 in 0.4 seconds, 12423 bytes.
Nov 11 01:35:39 h1234567 spamd[2650759]: spamd: result: . 2 - DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE,MIME_HTML_ONLY,NML_ADSP_CUSTOM_MED,NO_RELAYS,T_REMOTE_>
Nov 11 01:35:39 h1234567 spamd[2650755]: prefork: child states: I
Nov 11 01:35:40 h1234567 postfix-local[2712450]: C716A404C4: spam: stderr: PASS
Nov 11 01:35:40 h1234567 dk_check[2712453]: C716A404C4: DKIM Feed: No signature
Nov 11 01:35:40 h1234567 postfix-local[2712450]: C716A404C4: dk_check: stderr: PASS
Nov 11 01:35:40 h1234567 dmarc[2712454]: C716A404C4: SPF record was not found in Authentication-Results
Nov 11 01:35:40 h1234567 postfix-local[2712450]: C716A404C4: dmarc: stderr: PASS
Nov 11 01:35:40 h1234567 postfix-local[2712450]: C716A404C4: send message: id=S2712450 from=<[email protected]> to=<[email protected]>
Nov 11 01:35:40 h1234567 plesk-sendmail[2712456]: S2712450: from=<[email protected]> to=<[email protected]>
Nov 11 01:35:40 h1234567 plesk-sendmail[2712457]: S2712450: add-from: stderr: SKIP
Nov 11 01:35:40 h1234567 plesk-sendmail[2712457]: S2712450: py-limit-out: stderr: INFO:__main__:Setting 'X-PPP-Vhost' header to 'mydomain.de'
Nov 11 01:35:40 h1234567 plesk-sendmail[2712457]: S2712450: py-limit-out: stderr: PASS
Nov 11 01:35:40 h1234567 plesk-sendmail[2712457]: S2712450: check-quota: stderr: SKIP
Nov 11 01:35:40 h1234567 plesk-sendmail[2712463]: S2712450: dk_sign: stderr: PASS
Nov 11 01:35:41 h1234567 postfix/pickup[2705695]: 12A6740769: uid=30 from=<[email protected]>
Nov 11 01:35:41 h1234567 postfix/cleanup[2712443]: 12A6740769: message-id=<[email protected]>
Nov 11 01:35:41 h1234567 postfix/qmgr[466667]: 12A6740769: from=<[email protected]>, size=13709, nrcpt=1 (queue active)
Nov 11 01:35:41 h1234567 postfix/pipe[2712449]: C716A404C4: to=<[email protected]>, relay=plesk_virtual, delay=3.3, delays=0.69/0/0/2.6, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Nov 11 01:35:41 h1234567 postfix/qmgr[466667]: C716A404C4: removed
Nov 11 01:35:41 h1234567 postfix/smtpd[2707720]: connect from unknown[46.148.40.118]
Nov 11 01:35:42 h1234567 postfix/smtp[2712468]: 12A6740769: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[108.177.126.26]:25, delay=1.8, delays=0/0.01/1.2/0.57, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[1>
Nov 11 01:35:42 h1234567 postfix-srs[2712448]: <[email protected]> rewritten as <[email protected]>
Nov 11 01:35:42 h1234567 postfix-srs[2712448]: <[email protected]> rewritten as <[email protected]>
Nov 11 01:35:42 h1234567 postfix/cleanup[2712443]: CFD04404C4: message-id=<[email protected]>
Nov 11 01:35:42 h1234567 postfix/bounce[2712470]: 12A6740769: sender non-delivery notification: CFD04404C4
Nov 11 01:35:42 h1234567 postfix/qmgr[466667]: CFD04404C4: from=<>, size=16632, nrcpt=1 (queue active)
Nov 11 01:35:42 h1234567 postfix/qmgr[466667]: 12A6740769: removed
Nov 11 01:35:43 h1234567 postfix/smtp[2712471]: connect to gmail-smtp-in.l.google.com[2a00:1450:4013:c01::1b]:25: Network is unreachable
Nov 11 01:35:43 h1234567 postfix/smtp[2712471]: CFD04404C4: to=<[email protected]>, orig_to=<[email protected]>, relay=gmail-smtp-in.l.google.com[108.177.126.26]:25, delay=0.93, delays=0/0.01/0.34/0.58>
Nov 11 01:35:43 h1234567 postfix/qmgr[466667]: CFD04404C4: removed
 
I think I cannot be of any help here, because I do not know what sender or recipient addresses you have set in your Plesk for Plesk notifications. Th SRS0 lines rather indicate that an autoresponder or mail forwarding list is involved, so maybe the lines shown are not the right ones.

Maybe in this case, it would be better to ask Plesk support for assistance, so that they can look into your server. They'll surely be able to identify an issue, if there is any, and solve it. https://support.plesk.com
 
Back
Top