Sendmail configuration notes (2)

xiaoxiao2021-03-06  37

The file of the BadmailFrom file similar to Qmail in Sendmail is

/ etc / mail / access, the specific path of the file is different depending on the different sets of systems.

Instance file:

ABC.COM OK

Def.com relays

123.com Discard

abc@345.com reject

File

The first line indicates that the mail sent by ABC.com is allowed.

The second line indicates that the mail sent by Def.com is allowed to forward. Under normal circumstances, the current mail server is turned off the Open-Relay function.

The third line means ignores the mail sent by 123.com. Ignore does not make any response, nor will I play back the error prompt. Acceptable messages will disappear in the network.

The fourth line means that the bomb is coming back.

ABC@345.com This email address of the address. For messages that are bounce, the mail server will send a notification message to the send server.

It is unclear that there are two cases of discard and reject, which case consumes the minimum system resources?

After the new Access file is generated, Makemap Hash /etc/mail/access.db

Then restart Sendmail.

转载请注明原文地址:https://www.9cbs.com/read-72379.html

New Post(0)