Solution to Linux Crash and failure to restart due to excessive Postfix sending queues-Linux general technology-Linux technology and application information. For details, refer to the following. When using postfix to send emails, there are about 2 million emails due to the large mail queue, resulting in a Linux Crash. Linux cannot be started after the server is restarted. The check process is as follows:
Author: Tony
Postfix is a short process for installing logs.
1. APT-get-F install Postfix postfix-TLS sasl2-bin qpopper
2. zookeeper VI/etc/default/saslauthdStart = YesMechanisms = Pam
3. Add VI/etc/Postfix/SASL/smtpd. confPwcheck_method: saslauthdMech_list: Login Plain
4. chown Po
Understanding how a virtual domain works is important to understanding how our virtual mail system is established. There are two domain types in Postfix.
Local Region: all regions specified by mydestination are treated as local regions by Postfix. Emails in the local region are sent to users in the/etc/passwd file and stored in the/var/mail directory.Virtual domain: in addition to the local region, the
I usePostfixAfter a long time, I have seen many knowledge points about Postfix and want to share them with others. Let's talk about the address Operation Problems in Postfix.
1. Rewrite the address to the standard format
Before the cleanup process performs a Table query, it prefers to request the trivial-rewrite process to rewrite the new mail address to the standard user@fully.qualified.domain format. The
The film service environment of Red Hat Enterprise Edition 6.5, 6.3 of the test may be slightly different, but the method is roughly the same.The postfix version of the current system is postfix-2.6.6-2.2.el6_1.x86_64We want to use the latest to go online Dow under the latest. Get the new Postfix package postfix-2.11.0
From this guy, because one in the group said that the mailbox was used as a gun to read novels today .. At this time, I learned something. In fact, people are learning the fastest way under pressure. No wonder the Ancients are so smart.
Postfix forwarding server (192.168.0.188 ):
Mynetworks = 127.0.0.0/8 192.168.0.50 # enter the IP address of the host to be forwarded
Local_recipient_maps = $ alias_maps hash:/etc/
PreparationsInstall the compiling environment:# Yum groupinstall Development Tools# Yum groupinstall Development Libraries# Yum install mysql-devel postgresql-devel submit CT libtool-ltdl-devel gamin-devel pcre-develDuring compilation, you need to add a user under a common user:# Useradd username# Passwd usernameUse the "cmddo" command to configure sudo and add users:Root ALL = (ALL) ALLUsername ALL = (ALL) ALLSwitch to this user:# Su usernameCreate a working directory:$ Mkdir $ HOME/rpm$ Mkdir
In LINUX, sending emails via external SMTP (directly abandoning sendmail and postfix). as for how troublesome the sentmail and postfix configurations are, the old man will not talk nonsense here... it takes N hours for the old man to complete the configuration... the following method can completely get rid of this...
In LINUX, sending emails via external SMTP (directly abandoning sendmail and
"Query and Settings for JS object Properties"
You can get the value of a property by using the dot (.) or square brackets ([]) operator. The left side of the operator should be an expression that returns an object. For dots (.) , the right side must be a simple identifier named after the property name. for square brackets ([]), the square brackets must be an exp
Tags: Linux mail system POP3 postfix dovecot8. Install Apache Http Server:[email protected] ~]# Yum install httpd9. Download Extmail and Extman and initialize the Extmail database using the MySQL script provided by ExtmanVisit the Extmail official website (http://www.extmail.org/) to download the Extmail and Extman package, unzip:[Email protected] ~]# tar-xf extmail-1.2.tar.gz
[[email protected] ~]# TAR-XF extman-1.1.tar.gzCreate a new/var/www/extsuit
Users # cdpostfix-2.8.8 # make # makeinstall note: According to the installation prompt to create a user and group www.2cto.com #... postfix installation configuration (SMTP) 1, prepare the compressed package www.2cto.com postfix-2.8.8.tar.gz2, unzip # tar-zxvf postfix-2.8.8.tar.gz # cd postfix-2.8.8 # make install not
Use fail2ban to protect the POSTFIX email systemI have met several users who have been guessed by the program and used to forward spam. After checking the mail log, I found that a large number of IP addresses were connected to send emails. Of course, I also guessed the POP3 PASSWORD, the following uses postfix as an example. My debian system is installed with the following command: apt-get install-y fail2ba
In the Spring Festival, the mail system sent a large number of emails, and the system also accumulated a large number of emails. Suddenly, it was found that the most accumulated emails were from yahoo.com.cn and yahoo.cn.
Later, I thought it was because yahoo Mail stopped its service. Because users had previously registered with yahoo Mail, they repeatedly sent emails to yahoo Mail after purchasing tickets, about emails will be accumulated in a day. simply discard emails from yahoo Mail to save
Fail2ban helped the postfix filter malicious IP today read the postfix log, and found that a large number of NOQUEUE: reject: RCPT from unknown [183.60.103.208]: 504 5.5.2 are reported in the log, and IP address changing is frequently performed, A connection of about 2000 is received in one minute. Although the postfix has rejected the request, this is a waste of
File cleanup A server disk space alarm was reported recently. During the troubleshooting process, it was found that many small files had been accumulated under the "/var/spool/Postfix/maildrop" directory and wanted to be deleted directly at first, however, when you use RM to delete a file, the following message is displayed: "The parameter list is too long." Later, Rsync is used to identify the junk file: # Create a temporary space-time folder mkdir/
of the MTA host is to collect incoming letters from the client or other MTA, at this time the MTA is using simple Mail Transfer Protocol (SMTP), which uses port 25.2) transmitting lettersIf the destination of the letter is not the user, and the relevant data of the letter complies with the power of the MTA, then the MTA transmits the letter to the next host. This is the function of the so-called transmitting (Relay).3) Respond to user's request for creditPOP or IMAP protocol users can receive t
Postfix installation configuration (SMTP) 1, prepare the compressed package www.2cto.com postfix-2.8.8.tar.gz2, unzip # tar-zxvf postfix-2.8.8.tar.gz # cd postfix-2.8.8 # make install note: create a user and a group www.2cto.com # groupadd postfix # useradd-g
After the last installation of the service, I configured last to be a magic for configuration reference
The format and parameters in this configuration file can refer to postfix official documentation: http://www.postfix.com/documentation.html
SMTP inet n-n--SMTPD#submission inet N----SMTPD#-O Smtpd_enforce_tls=yes#-O Smtpd_sasl_auth_enable=yes#-O Smtpd_client_restrictions=permit_sasl_authenticated,reject#smtps inet N----SMTPD#smtp inet n-n--SMTPD#-O
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.