On Fri, 2022-12-09 at 17:44 +1100, Eyal Lebedinsky wrote:
I want this (spooling) to not happen, but have all mail relayed to
my
upstream SMTP server which is the SMART_HOST defined in sendmail.mc.
If you look at the bottom of the /etc/aliases file, you'll see
something like this about root mail:
# Person who should get root's mail
#root: marc
eyal: eyal(a)UPSTREAM.SERVER.au
You can add your name on a line below, colon, and an external email
address to forward your mail. Afterwards, you run the "newaliases"
command to activate your changes.
That's probably the simplest way to deal with it. So long as your
upstream server will accept mail to the address it was originally
addressed to.
An alternative, if you want, is to install Dovecot as a local mail
server, and then you can remotely access it the same as any other mail
server. Of course, you also have to learn how to make it secure from
miscreants on the web.
--
uname -rsvp
Linux 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.