Re: how to disable local email delivery

2022-12-08 Thread Tim via users
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 mai

how to disable local email delivery

2022-12-08 Thread Eyal Lebedinsky
I have a domain eyal.emu.id.au which can receive email to many users. My server at home calls itself eyal.emu.id.au. As such, locally generated mail often goes directly to my spool at /var/spool/mail/ For example, echo "from e7 cli to e...@eyal.emu.id.au" | mail -s 'test' e...@eyal.emu