accepted/bounced internal Mail Server voll

Robkd4

Member
Jan 7, 2021
18
2
8
44
Hallo zusammen,

ich hatte heute morgen leider das Problem das das log eines Mailservers vollgelaufen ist und deshalb der PMG einige Emails accepted/bounced hat. Diese Mails wurden dann natürlich nicht zugestellt, Wie bekomme ich PMG jetzt dazu, die Mails die per Fetchmail vom MailProvider abzuholen und oder zuzustellen?

pmg.JPG
Grüße

Robkd4
 
bitte mal die logs zu so einer mail posten - auch das log von 'fetchmail'
Code:
journalctl -u fetchmail.service --since '2021-03-02'

ist auf dem downstream server wieder platz frei?
 
Hallo Stoiko,

Code:
Mar 2 08:16:32 ****ServerName**** postfix/smtpd[5580]: connect from ****ServerName****.****DomainName****[****ServerIP****]
Mar 2 08:16:32 ****ServerName**** postfix/smtpd[5580]: C7EB63600CF: client=****ServerName****.****DomainName****[****ServerIP****]
Mar 2 08:16:32 ****ServerName**** postfix/cleanup[5583]: C7EB63600CF: message-id=<5df71623-0b7e-29b8-e8cb-4e10b836ea15@****DomainName****>
Mar 2 08:16:33 ****ServerName**** postfix/qmgr[1372]: C7EB63600CF: from=<****SenderEmail****@****DomainName****>, size=8409118, nrcpt=1 (queue active)
Mar 2 08:16:33 ****ServerName**** postfix/smtpd[5580]: disconnect from ****ServerName****.****DomainName****[****ServerIP****] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 2 08:16:34 ****ServerName**** pmg-smtp-filter[3338]: 360798603DE651E614A: new mail message-id=<5df71623-0b7e-29b8-e8cb-4e10b836ea15@****DomainName****>#012
Mar 2 08:16:50 ****ServerName**** pmg-smtp-filter[3338]: 360798603DE651E614A: SA score=3/5 time=3.928 bayes=undefined autolearn=no autolearn_force=no hits=AWL(-0.850),BODY_8BITS(1.5),DKIM_INVALID(0.1),DKIM_SIGNED(0.1),HTML_MESSAGE(0.001),KAM_DMARC_STATUS(0.01),KAM_NUMSUBJECT(0.5),LOTS_OF_MONEY(0.001),MISSING_HEADERS(1.207),RDNS_NONE(1.274),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
Mar 2 08:16:50 ****ServerName**** postfix/smtpd[5590]: connect from localhost.localdomain[127.0.0.1]
Mar 2 08:16:50 ****ServerName**** postfix/smtpd[5590]: 12D9536133F: client=localhost.localdomain[127.0.0.1], orig_client=****ServerName****.****DomainName****[****ServerIP****]
Mar 2 08:16:50 ****ServerName**** postfix/cleanup[5583]: 12D9536133F: message-id=<5df71623-0b7e-29b8-e8cb-4e10b836ea15@****DomainName****>
Mar 2 08:16:50 ****ServerName**** postfix/qmgr[1372]: 12D9536133F: from=<****SenderEmail****@****DomainName****>, size=8410274, nrcpt=1 (queue active)
Mar 2 08:16:50 ****ServerName**** postfix/smtpd[5590]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 commands=5
Mar 2 08:16:50 ****ServerName**** pmg-smtp-filter[3338]: 360798603DE651E614A: accept mail to <****EmpfaengerEmail****@****DomainName****> (12D9536133F) (rule: Whitelist)
Mar 2 08:16:50 ****ServerName**** pmg-smtp-filter[3338]: 360798603DE651E614A: processing time: 16.268 seconds (3.928, 11.895, 0)
Mar 2 08:16:50 ****ServerName**** postfix/lmtp[5584]: C7EB63600CF: to=<****EmpfaengerEmail****@****DomainName****>, relay=127.0.0.1[127.0.0.1]:10024, delay=18, delays=1.1/0.02/0/16, dsn=2.5.0, status=sent (250 2.5.0 OK (360798603DE651E614A))
Mar 2 08:16:50 ****ServerName**** postfix/qmgr[1372]: C7EB63600CF: removed
Mar 2 08:16:50 ****ServerName**** postfix/smtp[5591]: 12D9536133F: to=<****EmpfaengerEmail****@****DomainName****>, relay=****MailServerIP****[****MailServerIP****]:25, delay=0.8, delays=0.25/0.02/0/0.53, dsn=5.0.0, status=bounced (host ****MailServerIP****[****MailServerIP****] said: 554 Your message was received but it could not be saved. Please retry later. (in reply to end of DATA command))
Mar 2 08:16:50 ****ServerName**** postfix/qmgr[1372]: 12D9536133F: removed

Code:
root@****ServerName****:~# journalctl -u fetchmail.service --since '2021-03-02'
-- Logs begin at Tue 2021-03-02 09:44:16 CET, end at Tue 2021-03-02 11:52:34 CET. --
Mar 02 09:44:24 ****ServerName**** systemd[1]: Starting LSB: init-Script for system wide fetchmail daemon...
Mar 02 09:44:24 ****ServerName**** fetchmail[1349]: starting fetchmail 6.4.0.beta4 daemon
Mar 02 09:44:24 ****ServerName**** fetchmail[1334]: Starting mail retriever agent: fetchmail.
Mar 02 09:44:24 ****ServerName**** systemd[1]: Started LSB: init-Script for system wide fetchmail daemon.
Mar 02 09:44:25 ****ServerName**** fetchmail[1349]: 1289 messages (1288 seen) for ****EmailAccount5**** at proxmox0003 (513639931 octets).
Mar 02 09:44:25 ****ServerName**** fetchmail[1349]: reading message ****EmailAccount5****@****EmailProvider1****:1250 of 1289 (79070 octets) (log message incomplete)
Mar 02 09:44:25 ****ServerName**** fetchmail[1349]: incorrect header line found - see manpage for bad-header option
Mar 02 09:44:25 ****ServerName**** fetchmail[1349]:  not flushed
Mar 02 09:44:25 ****ServerName**** fetchmail[1349]: 376 messages (376 seen) for ****EmailAccount2**** at proxmox0000 (394808897 octets).
Mar 02 09:44:25 ****ServerName**** fetchmail[1349]: 807 messages (806 seen) for ****EmailAccount4**** at proxmox0005 (366425400 octets).
Mar 02 09:44:26 ****ServerName**** fetchmail[1349]: reading message ****EmailAccount4****@****EmailProvider1****:807 of 807 (67907 octets) not flushed
Mar 02 09:44:26 ****ServerName**** fetchmail[1349]: 808 messages (808 seen) for ****EmailAccount3**** at proxmox0001 (556018017 octets).
Mar 02 09:44:26 ****ServerName**** fetchmail[1349]: 268 messages (268 seen) for ****EmailAccount1**** at proxmox0002 (95286733 octets).
Mar 02 09:44:26 ****ServerName**** fetchmail[1349]: 66 messages (66 seen) for ****EmailAccount6**** at proxmox0004 (7299404 octets).
Mar 02 09:57:09 ****ServerName**** systemd[1]: Stopping LSB: init-Script for system wide fetchmail daemon...
Mar 02 09:57:09 ****ServerName**** fetchmail[1349]: terminated with signal 15
Mar 02 09:57:09 ****ServerName**** fetchmail[1882]: Stopping mail retriever agent: fetchmail.
Mar 02 09:57:09 ****ServerName**** systemd[1]: fetchmail.service: Succeeded.
Mar 02 09:57:09 ****ServerName**** systemd[1]: Stopped LSB: init-Script for system wide fetchmail daemon.
Mar 02 09:57:09 ****ServerName**** systemd[1]: fetchmail.service: Found left-over process 1349 (fetchmail) in control group while starting unit. Ignoring.
Mar 02 09:57:09 ****ServerName**** systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Mar 02 09:57:09 ****ServerName**** systemd[1]: Starting LSB: init-Script for system wide fetchmail daemon...
Mar 02 09:57:09 ****ServerName**** fetchmail[1902]: starting fetchmail 6.4.0.beta4 daemon
Mar 02 09:57:09 ****ServerName**** fetchmail[1892]: Starting mail retriever agent: fetchmail.
Mar 02 09:57:09 ****ServerName**** systemd[1]: Started LSB: init-Script for system wide fetchmail daemon.
Mar 02 09:57:14 ****ServerName**** fetchmail[1902]: 268 messages (268 seen) for ****EmailAccount1**** at proxmox0002 (95286733 octets).
Mar 02 09:57:15 ****ServerName**** fetchmail[1902]: 376 messages (376 seen) for ****EmailAccount2**** at proxmox0000 (394808897 octets).
Mar 02 09:57:15 ****ServerName**** fetchmail[1902]: 809 messages (808 seen) for ****EmailAccount3**** at proxmox0001 (556602645 octets).
Mar 02 09:57:15 ****ServerName**** fetchmail[1902]: reading message ****EmailAccount3****@****EmailProvider1****:809 of 809 (584628 octets) not flushed
Mar 02 09:57:16 ****ServerName**** fetchmail[1902]: 807 messages (807 seen) for ****EmailAccount4**** at proxmox0005 (366425400 octets).
Mar 02 09:57:16 ****ServerName**** fetchmail[1902]: 1291 messages (1288 seen) for ****EmailAccount5**** at proxmox0003 (515399859 octets).
Mar 02 09:57:16 ****ServerName**** fetchmail[1902]: reading message ****EmailAccount5****@****EmailProvider1****:1250 of 1291 (79070 octets) (log message incomplete)
Mar 02 09:57:16 ****ServerName**** fetchmail[1902]: incorrect header line found - see manpage for bad-header option
Mar 02 09:57:16 ****ServerName**** fetchmail[1902]:  not flushed
Mar 02 09:57:16 ****ServerName**** fetchmail[1902]: reading message ****EmailAccount5****@****EmailProvider1****:1290 of 1291 (674608 octets) not flushed
Mar 02 09:57:17 ****ServerName**** fetchmail[1902]: reading message ****EmailAccount5****@****EmailProvider1****:1291 of 1291 (1085320 octets) not flushed
Mar 02 09:57:17 ****ServerName**** fetchmail[1902]: 66 messages (66 seen) for ****EmailAccount6**** at proxmox0004 (7299404 octets).
Mar 02 10:02:22 ****ServerName**** fetchmail[1902]: 268 messages (268 seen) for ****EmailAccount1**** at proxmox0002 (95286733 octets).
Mar 02 10:02:23 ****ServerName**** fetchmail[1902]: 376 messages (376 seen) for ****EmailAccount2**** at proxmox0000 (394808897 octets).
Mar 02 10:02:23 ****ServerName**** fetchmail[1902]: 809 messages (809 seen) for ****EmailAccount3**** at proxmox0001 (556602645 octets).
Mar 02 10:02:24 ****ServerName**** fetchmail[1902]: 807 messages (807 seen) for ****EmailAccount4**** at proxmox0005 (366425400 octets).
Mar 02 10:02:24 ****ServerName**** fetchmail[1902]: 1291 messages (1291 seen) for ****EmailAccount5**** at proxmox0003 (515399859 octets).
Mar 02 10:02:25 ****ServerName**** fetchmail[1902]: 66 messages (66 seen) for ****EmailAccount6**** at proxmox0004 (7299404 octets).
Mar 02 10:07:25 ****ServerName**** fetchmail[1902]: 268 messages (268 seen) for ****EmailAccount1**** at proxmox0002 (95286733 octets).
Mar 02 10:07:26 ****ServerName**** fetchmail[1902]: 376 messages (376 seen) for ****EmailAccount2**** at proxmox0000 (394808897 octets).
Mar 02 10:07:26 ****ServerName**** fetchmail[1902]: 809 messages (809 seen) for ****EmailAccount3**** at proxmox0001 (556602645 octets).
Mar 02 10:07:27 ****ServerName**** fetchmail[1902]: 808 messages (807 seen) for ****EmailAccount4**** at proxmox0005 (366711273 octets).
Mar 02 10:07:27 ****ServerName**** fetchmail[1902]: reading message ****EmailAccount4****@****EmailProvider1****:808 of 808 (285873 octets) not flushed
Mar 02 10:07:27 ****ServerName**** fetchmail[1902]: 1291 messages (1291 seen) for ****EmailAccount5**** at proxmox0003 (515399859 octets).
Mar 02 10:07:28 ****ServerName**** fetchmail[1902]: 66 messages (66 seen) for ****EmailAccount6**** at proxmox0004 (7299404 octets).
Mar 02 10:12:33 ****ServerName**** fetchmail[1902]: 268 messages (268 seen) for ****EmailAccount1**** at proxmox0002 (95286733 octets).
Mar 02 10:12:34 ****ServerName**** fetchmail[1902]: 376 messages (376 seen) for ****EmailAccount2**** at proxmox0000 (394808897 octets).
Mar 02 10:12:34 ****ServerName**** fetchmail[1902]: 809 messages (809 seen) for ****EmailAccount3**** at proxmox0001 (556602645 octets).
Mar 02 10:12:35 ****ServerName**** fetchmail[1902]: 808 messages (808 seen) for ****EmailAccount4**** at proxmox0005 (366711273 octets).
Mar 02 10:12:35 ****ServerName**** fetchmail[1902]: 1291 messages (1291 seen) for ****EmailAccount5**** at proxmox0003 (515399859 octets).

Ja auf dem Server ist wieder Platz frei,

Vielen Dank schonmal

Grüße

Robkd4
 
Mar 2 08:16:50 ****ServerName**** postfix/smtp[5591]: 12D9536133F: to=<****EmpfaengerEmail****@****DomainName****>, relay=****MailServerIP****[****MailServerIP****]:25, delay=0.8, delays=0.25/0.02/0/0.53, dsn=5.0.0, status=bounced (host ****MailServerIP****[****MailServerIP****] said: 554 Your message was received but it could not be saved. Please retry later. (in reply to end of DATA command))
der downstream server antwortet mit einem permanent error (5xx) was eigentlich ein temporärer sein sollte (452 wäre korrekt).
Dann hätte PMG die mail einfach in der queue behalten (bis zu 5 Tage) bis wieder Platz frei ist...

In dem fall würde ich versuchen den IMAP/POP account auf einem Mail client (Thunderbird, claws-mail,...) einzurichten - dabei auf jeden fall sicherstellen, dass die mails nicht vom server gelöscht werden) - und dann jene mails, die nicht zugestellt werden konnten als ungelesen markieren.
(Funktioniert nur wenn der fetchmail account mit 'Keep old mails' konfiguriert ist)

Ich hoffe das hilft!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!