Updating etc mail aliases

It does need to match the account in aliases though.

It is also necessary to add the record so that the forward to [email protected]'t get resent to root.

At the end of this tutorial you will have a functional and very secure mail transfer agent (MTA). The Free BSD port or package will update the /etc/mail/file with the full paths of the opensmtpd binaries.

updating etc mail aliases-71

) and deliver it to the appropriate mailer as defined by its configuration file.

sendmail can also accept network connections and deliver mail to local mailboxes or deliver it to another program.

If you do not provide the mail stop, the mail is delivered to a central address.

Extra effort is required to determine where the mail is to be delivered within the building, and the possibility of error increases.

when sending mail through Sendmail an error is displayed: vectortrade sm-mta[16951]: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied what rights should be?

Now we set the following: [email protected]:/etc/mail# ls -la total 232 drw---S--- 7 smmta smmsp 4096 Mar 22 . -rw------- 1 root root 4261 Mar 22 access -rwx-wx--x 1 root root 12288 Mar 22 -rw-r--r-- 1 root root 281 Feb 11 2014 address.resolve lrwxrwxrwx 1 root smmsp 10 Feb 7 aliases - ../aliases -rw-r----- 1 root smmsp 12288 Mar 22 -rw-r--r-- 1 root smmsp 3218 Mar 22 databases -rw------- 1 root root 826 Mar 22 -rw-r--r-- 1 root root 5657 Feb 11 2014 helpfile -rw-r--r-- 1 root smmsp 47 Mar 22 local-host-names drwxr-sr-x 2 smmta smmsp 4096 Feb 7 m4 -rwxr-xr-- 1 root smmsp 9994 Mar 22 Makefile drwxr-xr-x 2 root root 4096 Feb 7 peers drwxr-xr-x 2 root smmsp 4096 Feb 11 2014 sasl -rw-r--r-- 1 root smmsp 60131 Mar 22 -rw-r--r-- 1 root root 12236 Mar 22 -rw-r--r-- 1 root smmsp 4218 Mar 22 -rw-r--r-- 1 root root 149 Feb 11 2014 service.switch -rw-r--r-- 1 root root 180 Feb 11 2014 ervice.switch-nodns drwxr-sr-x 2 smmta smmsp 4096 Feb 7 smrsh -rw-r--r-- 1 root smmsp 44049 Mar 22 -rw-r--r-- 1 root smmsp 2383 Mar 22 drwxr-xr-x 2 smmta smmsp 4096 Feb 7 tls -rw-r--r-- 1 root smmsp 0 Feb 7 trusted-users Mar 22 vectortrade sm-mta[19331]: NOQUEUE: SYSERR(root): hash map "access": unsafe map file /etc/mail/access.db: Permission denied Mar 22 vectortrade sm-mta[19331]: ruleset=check_relay, arg1=localhost.localdomain, arg2=127.0.0.1, relay=localhost.localdomain [127.0.0.1], reject=451 4.3.0 Temporary system failure.

The next entry rejects mail from a specific host on the Internet, controls the overall behavior of sendmail, including everything from rewriting e-mail addresses to printing rejection messages to remote mail servers.

Naturally, with such a diverse role, this configuration file is quite complex and its details are a bit out of the scope of this section.

To enhance the portability and flexibility of alias files, make your alias entries as generic and system independent as possible.

Tags: , ,