proxmox exim /usr/bin/pvemailforward

bars

New Member
Dec 19, 2021
13
0
1
38
Hello.
I see strange mailings in the exim log.
Code:
tail -n 10 /var/log/exim4/mainlog
2021-12-24 17:21:53 Start queue run: pid=982221
2021-12-24 17:21:53 1n0b9V-0039wU-Jg == |/usr/bin/pvemailforward <root@my.dom.com> R=userforward T=address_pipe defer (-52): Retry time not yet reached
2021-12-24 17:21:53 1n08j9-000VK4-5f == |/usr/bin/pvemailforward <root@my.dom.com> R=userforward T=address_pipe defer (-52): Retry time not yet reached
2021-12-24 17:21:53 1n0VCh-002bP3-4j == |/usr/bin/pvemailforward <root@my.dom.com> R=userforward T=address_pipe defer (-52): Retry time not yet reached
2021-12-24 17:21:53 End queue run: pid=982221
2021-12-24 17:51:53 Start queue run: pid=992595
2021-12-24 17:51:53 1n0b9V-0039wU-Jg == |/usr/bin/pvemailforward <root@my.dom.com> R=userforward T=address_pipe defer (-52): Retry time not yet reached
2021-12-24 17:51:53 1n08j9-000VK4-5f == |/usr/bin/pvemailforward <root@my.dom.com> R=userforward T=address_pipe defer (-52): Retry time not yet reached
2021-12-24 17:51:53 1n0VCh-002bP3-4j == |/usr/bin/pvemailforward <root@my.dom.com> R=userforward T=address_pipe defer (-52): Retry time not yet reached
2021-12-24 17:51:53 End queue run: pid=992595
What are these mail send and how can I turn them off?
 
It's been a while since I last dealt with exim and it's logs (and the question is probably better suited for an exim forum) - but the lines look to me like logs from queued mails, which have not reached their retry time yet - meaning when the mail was first submitted - the next SMTP server responded with a 4xx temporary failure (then the mail gets queued and is delivery will be tried later on)

check your mailq (`mailq` or `exim -bp` should work for that) - if this is indeed the case

else - check your logs for why the mail was not accepted initially

I hope this helps!
 
It's been a while since I last dealt with exim and it's logs (and the question is probably better suited for an exim forum) - but the lines look to me like logs from queued mails, which have not reached their retry time yet - meaning when the mail was first submitted - the next SMTP server responded with a 4xx temporary failure (then the mail gets queued and is delivery will be tried later on)

check your mailq (`mailq` or `exim -bp` should work for that) - if this is indeed the case

else - check your logs for why the mail was not accepted initially

I hope this helps!
What is it /usr/bin/pvemailforward ?
 
What is it /usr/bin/pvemailforward ?
this is default in proxmox - it's a small binary which looks up the mail-address configured for the 'root@pam' user in the GUI and sends the mail to them (by invoking `sendmail`)
 
this is default in proxmox - it's a small binary which looks up the mail-address configured for the 'root@pam' user in the GUI and sends the mail to them (by invoking `sendmail`)
How can I check this sending of mail?
What I specified in the proxmox user parameters.
 
Last edited:
Nothing should be done - the script logs to journal if it sends a mail (or if no e-mail address is configured for 'root@pam')
then it calls sendmail - and exim will forward the mail

the exim log should tell you if there is a problem with mail sending
 

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!