Discussion:
[ale] Setting up local mail on Ubuntu 16.04
Jonathan Meek via Ale
2018-07-28 16:32:36 UTC
Permalink
Hello folks,

I am looking at setting up a simple mail server to send mail for knowing a
backup fails so in my head it would work like so:

- Backup script runs
-if it fails, script sends mail to a local mailbox
-I check the local mailbox and see the failed message

I would send to an external email address but my understanding this is very
painful to do setup and deal with due to filters. If I am wrong then I am
happy to set that up.

Thanks in advance,

Jonathan
DJ-Pfulio via Ale
2018-07-28 16:41:10 UTC
Permalink
There are guides to setup sending email to an external address. But
those how-tos are distro specific. You don't need to run a full MTA to
send msgs to gmail, for example.

Which distro and release?
Post by Jonathan Meek via Ale
Hello folks,
I am looking at setting up a simple mail server to send mail for knowing
- Backup script runs
-if it fails, script sends mail to a local mailbox
-I check the local mailbox and see the failed message
I would send to an external email address but my understanding this is
very painful to do setup and deal with due to filters. If I am wrong
then I am happy to set that up.
Thanks in advance,
Jonathan
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
Pete Hardie via Ale
2018-07-28 16:44:40 UTC
Permalink
It's not too terribly hard to write a program that will send mail to Gmail,
and (I presume) the other webmail providers. You'd need to get a
authorization key set up, but that's also not terrible.
Post by Jonathan Meek via Ale
Hello folks,
I am looking at setting up a simple mail server to send mail for knowing a
- Backup script runs
-if it fails, script sends mail to a local mailbox
-I check the local mailbox and see the failed message
I would send to an external email address but my understanding this is
very painful to do setup and deal with due to filters. If I am wrong then I
am happy to set that up.
Thanks in advance,
Jonathan
_______________________________________________
Ale mailing list
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
--
Pete Hardie
--------
Better Living Through Bitmaps
Phil Turmel via Ale
2018-07-28 21:29:24 UTC
Permalink
I use msmtp to divert local mail in a server to the main domain
mailserver. The main domain is set up with a "slavemail" user that
the other servers submit under, and that user has permission to submit
Post by Jonathan Meek via Ale
Hello folks,
I am looking at setting up a simple mail server to send mail for knowing
- Backup script runs
-if it fails, script sends mail to a local mailbox
-I check the local mailbox and see the failed message
I would send to an external email address but my understanding this is
very painful to do setup and deal with due to filters. If I am wrong
then I am happy to set that up.
Thanks in advance,
_______________________________________________
Ale mailing list
***@ale.org
https://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo

Loading...