New answers tagged sendmail
The /var/spool/mail/ is the folder that mail is saved as a file as /var/spool/mail/$USER. when you call mail it will by default read that file. all read mails will be stored in mbox file and you can access them using mail -f ~/mbox.
You may use FEATURE(mailertable) to select relay host based on recipient's domain. Using Mailertables mailertable file: # default route (SMART_HOST equivalent). #  are used to disable MX lookups . relay:[smarthost.example.net] # route for "internal" domain example.com relay:[smarthost.example.com] # route for subdomain of "internal" domain ...
Top 50 recent answers are included