[SOLVED] Proxmox not using SMTP settings

showiproute

Renowned Member
Mar 11, 2020
657
45
68
36
Austria
Hello there,

I have configured both of my proxmox nodes to use my internal SMTP server and set the default-matcher rule to use it.
But day after day I see emails at my inbox where both PBS are using my public IP trying to connect to my SMTP server (which also uses a different public IP):

Code:
This is the mail system at host proxmox2.hks.lan.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<user@domain.at>: connect to
    domain.at[external ip address]:25: Connection refused


Reporting-MTA: dns; proxmox2.hks.lan
X-Postfix-Queue-ID: B6DDD4D1FF
X-Postfix-Sender: rfc822; root@proxmox2.hks.lan
Arrival-Date: Sun, 13 Apr 2025 00:08:34 +0200 (CEST)

Final-Recipient: rfc822; user@domain.at
Original-Recipient: rfc822;user@domain.at
Action: failed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to domain.at[external ip address]:25:
    Connection refused


ForwardedMessage.eml
Betreff:
Garbage Collect Datastore 'Backup' successful
Von:
Proxmox Backup Server - proxmox2 <root@proxmox2.hks.lan>
Datum:
13.04.2025, 00:08
An:
user@domain.at

Datastore:            Backup
Task ID:              UPID:proxmox2:0002EBB5:001394BC:000000F2:67FAE260:garbage_collection:Backup:root@pam:
Index file count:     2073

Removed garbage:      200.667 GiB
Removed chunks:       112951
Removed bad chunks:   0

Leftover bad chunks:  0
Pending removals:     119.698 GiB (in 78209 chunks)

Original Data usage:  297.456 TiB
On-Disk usage:        11.748 TiB (3.95%)
On-Disk chunks:       5239455

Deduplication Factor: 25.32

Garbage collection successful.


Please visit the web interface for further details:

<https://proxmox2.hks.lan:8007/#DataStore-Backup>

I am not sure how to get rid of this?

Sending a test email via PBS works without any issues.
 
Hi,
Hello there,

I have configured both of my proxmox nodes to use my internal SMTP server and set the default-matcher rule to use it.
But day after day I see emails at my inbox where both PBS are using my public IP trying to connect to my SMTP server (which also uses a different public IP):

Code:
This is the mail system at host proxmox2.hks.lan.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<user@domain.at>: connect to
    domain.at[external ip address]:25: Connection refused


Reporting-MTA: dns; proxmox2.hks.lan
X-Postfix-Queue-ID: B6DDD4D1FF
X-Postfix-Sender: rfc822; root@proxmox2.hks.lan
Arrival-Date: Sun, 13 Apr 2025 00:08:34 +0200 (CEST)

Final-Recipient: rfc822; user@domain.at
Original-Recipient: rfc822;user@domain.at
Action: failed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to domain.at[external ip address]:25:
    Connection refused


ForwardedMessage.eml
Betreff:
Garbage Collect Datastore 'Backup' successful
Von:
Proxmox Backup Server - proxmox2 <root@proxmox2.hks.lan>
Datum:
13.04.2025, 00:08
An:
user@domain.at

Datastore:            Backup
Task ID:              UPID:proxmox2:0002EBB5:001394BC:000000F2:67FAE260:garbage_collection:Backup:root@pam:
Index file count:     2073

Removed garbage:      200.667 GiB
Removed chunks:       112951
Removed bad chunks:   0

Leftover bad chunks:  0
Pending removals:     119.698 GiB (in 78209 chunks)

Original Data usage:  297.456 TiB
On-Disk usage:        11.748 TiB (3.95%)
On-Disk chunks:       5239455

Deduplication Factor: 25.32

Garbage collection successful.


Please visit the web interface for further details:

<https://proxmox2.hks.lan:8007/#DataStore-Backup>

I am not sure how to get rid of this?

Sending a test email via PBS works without any issues.
please verify that you are using the notification system for sending mails for your datastore. Go to Datastore > 'your-datastore-name' > Options > Notification Mode to select the notification system.
 
  • Like
Reactions: showiproute
Hi,

please verify that you are using the notification system for sending mails for your datastore. Go to Datastore > 'your-datastore-name' > Options > Notification Mode to select the notification system.
Thanks - that did the trick.
Althought it's a bit confusing if "Default (Email)" & "Email (legacy)" are the same.
Maybe you can do a cleanup at the next release?
 
AFAIK it is planned to switch over the default to the new notification system on the next major release.