How does emos disable anti-virus and anti-spam functions?

Source: Internet
Author: User

1. Modify the main. cf configuration file. The red part is the part to be commented out.

Vim/etc/Postfix/Main. cf

# Smtpd related config

Smtpd_recipient_restrictions =

Permit_mynetworks,

Permit_sasl_authenticated,

Reject_non_fqdn_hostname,

Reject_non_fqdn_sender,

Reject_non_fqdn_recipient,

Reject_unauth_destination,

Reject_unauth_pipelining,

Reject_invalid_hostname #

# Check_policy_service Inet: 127.0.0.1: 10030

# Header_checks = Regexp:/etc/Postfix/dspam_header_checks

# Content-Filter

# Content_filter = SMTP-amavis: [127.0.0.1]: 10024

# Receive_override_options = no_address_mappings

 

2. Modify the master. cf configuration file. The red part is the part to be commented out.

Vim/etc/Postfix/master. cf

#

# Dspam training settings

#

# Retrain Unix-N-pipe

# Flags = RHQ user = dspam argv =/usr/bin/dspam -- client -- mode = teft -- class = $ nexthop # -- source = corpus -- User extmail -- deliver = spam, innocent

 

# Spamtrap Unix-N-pipe

# Flags = RHQ user = dspam argv =/usr/bin/dspam -- client -- mode = teft -- class = spam # -- source = inoculation -- User extmail

 

# SMTP-amavis Unix--N-3 SMTP

#-O smtp_data_done_timeout = 1200

#-O smtp_send_xforward_command = Yes

#-O disable_dns_lookups = Yes

#-O max_use = 10


How does emos disable anti-virus and anti-spam functions?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.