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.id.au
ends up locally, but
        echo "from e7 cli to upstream smtp" | mail -s 'test' 
e...@upstream.server.au
does get relayed, and ends up on my MX server.

The reason? When I am away from home I can access the MX server and read/fetch 
my email.
I cannot read local email on my home server.

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.

How can I force it?

--
Eyal Lebedinsky (fed...@eyal.emu.id.au)
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to