Open arrowmaster opened 2 years ago
msmtp-mta might be a better option as it is currently maintained, but it has a daemon. I have not done any testing and do not know if it can still operate without the daemon running.
I'm happy to accept PR adding this to Dockerfile.
Any news about this? would be very great!
It seems that we could use ssmtp for that.
On Mon, 13 Feb 2023 at 17:55, n3ro @.***> wrote:
Any news about this? would be very great!
— Reply to this email directly, view it on GitHub https://github.com/ayufan/pve-backup-server-dockerfiles/issues/18#issuecomment-1428286111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASOSQMNKV6HAVJNBDOP35LWXJRP3ANCNFSM5S25765Q . You are receiving this because you commented.Message ID: @.***>
Any news about ssmtp? It would be really cool!
I cannot test as I'm not using PBS in docker anymore. PBS now supports the new notification system and allows an external mail server to be configured directly in the WebGUI in addition to the old method of using the system MTA.
If this works then this issue can probably be closed just by documenting that the default does not work and a custom notification needs to be configured.
Is the actual docker version with this feature?
Currently the container has postfix installed but does not start it and provides no way to start the postfix daemon to allow PBS to send emails. I think a possible solution would be to replace postfix with a simpler MTA. Looking through the MTA options available on Debian, I found that ssmtp is daemonless and could be a suitable simple MTA to provide
/usr/sbin/sendmail
as used by PBS. Any users that wanted to make use of ssmtp would need to have a persistent /etc and configure ssmtp themselves.