Can I replace postfix with ssmtp?

  • Thread starter Deleted member 205422
  • Start date
D

Deleted member 205422

Guest
It seems so, should I expect any shenanigans as a result?

Can I rely it will survive apt updates?

Code:
# apt-cache depends pve-manager
pve-manager

...

 |Depends: postfix
  Depends: <mail-transport-agent>
    courier-mta
    dma
    esmtp-run
    exim4-daemon-heavy
    exim4-daemon-light
    msmtp-mta
    nullmailer
    opensmtpd
    postfix
    sendmail-bin
    ssmtp
...
 
It seems so, should I expect any shenanigans as a result?
AFAIK, postfix is the default because Proxmox Mail Gateway also uses it.

Can I rely it will survive apt updates?
It should. The depenencies are in a way that it "should work".

I use ssmtp also a lot, yet I never thought about its use for PVE. What is your point on that in comparison to a default satellite system with postfix mimicking the functionality that ssmtp offers? Postfix advantage is the queueing if the upstream smtp is inavailable (e.g. because the VM that hosts it has a problem).
 
AFAIK, postfix is the default because Proxmox Mail Gateway also uses it.
I see.

It should. The depenencies are in a way that it "should work".

I just wondered if they are not planning to e.g. change it in the future.

I use ssmtp also a lot, yet I never thought about its use for PVE. What is your point on that in comparison to a default satellite system with postfix mimicking the functionality that ssmtp offers?

I think it's a philosophy thing, why use a cannon where a slingshot would do? Apart from that, less likely to cause a headache later (i.e. CVEs) as in any system that is less complex. Also if it can use ssmtp, it will play fine with anything that mimics an MTA (and e.g. sends it all out without any SMTP whatsover).

Postfix advantage is the queueing if the upstream smtp is inavailable (e.g. because the VM that hosts it has a problem).

I am aware of that, see above for my case, however even if that was my concern (there's always syslog to monitor if something did not get sent out though) I would still prefer e.g. dma to postfix.
 

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!