Force queue delivery

A

arstacey

Guest
We are using version 2.6 with Exchange 2010. Periodically, we will have an issue with out Exchange server where messages will be rejected and a reply of "452 4.3.1 Insufficient system resources (in
reply to MAIL FROM command" sent back to proxmox. All incoming messages will be in a queued/deferred state. Once I reboot the Exchange server, messages will start being delivered again. But sometimes it takes 20-30 minutes for proxmox to retry delivery. Is there a way for me to force it to retry delivery on all queued mail?

Also, if I reboot proxmox while all this mail is in the queue, will it still be there waiting when it comes back up or does it drop the messages?

Thanks!
 
first, you should find the cause of the insufficient resources and fix it.

you can flush the queue, just go to "Administration/Queues" and click on the red arrow (near Mail Queue) and select "Flush Queue"
 
Thanks. To be clear, will Flush Queue try to deliver the mail or just empty the queue?
 
yes, this will just force delivery.

if you choose "delete all messages" you will loose the messages, but this sounds clear.
 
Hello

I am having same problems with multiple emails, how to disable deferred?


Feb 26 06:13:07 security postfix/smtpd[9647]: connect from zimbra.iwebhosting.com.br[142.4.201.238]
Feb 26 06:13:07 security postfix/smtpd[9647]: B018D14771: client=zimbra.iwebhosting.com.br[142.4.201.238]
Feb 26 06:13:07 security postfix/cleanup[9650]: B018D14771: message-id=<1197418513.40728.1519636682194.JavaMail.zimbra@iwebhosting.com.br>
Feb 26 06:13:07 security postfix/qmgr[30779]: B018D14771: from=<juliano@iwebhosting.com.br>, size=2939, nrcpt=1 (queue active)
Feb 26 06:13:07 security postfix/smtpd[9647]: disconnect from zimbra.iwebhosting.com.br[142.4.201.238] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 26 06:13:07 security postfix/lmtp[9652]: B018D14771: to=<check-auth@verifier.port25.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=0.24, delays=0.07/0.01/0.04/0.12, dsn=4.0.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.0.0 4.7.1 Service unavailable - try again later (in reply to end of DATA command))
Feb 26 06:19:26 security postfix/qmgr[10377]: B018D14771: from=<juliano@iwebhosting.com.br>, size=2939, nrcpt=1 (queue active)
Feb 26 06:19:26 security postfix/lmtp[13353]: B018D14771: to=<check-auth@verifier.port25.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=379, delays=379/0.02/0.11/0.1, dsn=4.0.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.0.0 4.7.1 Service unavailable - try again later (in reply to end of DATA command))
Feb 26 06:23:34 security postfix/qmgr[10377]: B018D14771: from=<juliano@iwebhosting.com.br>, size=2939, nrcpt=1 (queue active)
Feb 26 06:23:34 security postfix/lmtp[15974]: B018D14771: to=<check-auth@verifier.port25.com>, relay=127.0.0.1[127.0.0.1]:10023, delay=627, delays=627/0.02/0.16/0.1, dsn=4.0.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.0.0 4.7.1 Service unavailable - try again later (in reply to end of DATA command))

 
This is greylisting. This is just a temporary reject, and is not really a problem. If you are concerned about delays, you can turn off greylisting at Configuration/MailProxy/Options/Greylisting
 
Oh sorry - I was wrong. Seems the filter daemon is not running (pmg-smtp-filter). Please check and restart that service if not running.
 
Any hints in /var/log/syslog? How much RAM does that machine have?

Correct now, I'll solve the problem, thank you.

Feb 27 08:06:47 security opendkim[7249]: mail._domainkey.iwebhosting.com.br: key data is not secure: /etc/opendkim/keys/iwebhosting.c$
Feb 27 08:06:47 security opendkim[7249]: A4D561BC8C: error loading key 'mail._domainkey.iwebhosting.com.br'
 
Correct now, I'll solve the problem, thank you.

Feb 27 08:06:47 security opendkim[7249]: mail._domainkey.iwebhosting.com.br: key data is not secure: /etc/opendkim/keys/iwebhosting.c$
Feb 27 08:06:47 security opendkim[7249]: A4D561BC8C: error loading key 'mail._domainkey.iwebhosting.com.br'
hi juliano ;
can you tell me how do you solve this issue , i had the same probleme
 

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!