Article Title: how to solve the security problem of the Sendmail server ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Author: ideal
Sendmail is the most widely used email sending/receiving proxy in Unix environments. Because the
First, to build the mail server before preparing the following:Centos 7.2 64-bitpostfix-2.8.12.tar.gz Postfix MTA (mail transfer agent)dovecot-2.1.8.tar.gz IMAP and POP3 mail serversPostfixadmin-2.3.5.tar.gz Open source Web mailbox and Domain name account management tool written in PHPROUNDCUBEMAIL-0.8.1.TAR.GZ Open source IMAP mail Web client written in PHPSecond, the installation process1. Installing PostfixYum-y install
Saslauthd.serverTest 1:# telnet mail.wc365.com 25Trying 192.168.1.2 ...Connected to Mail.wc365.com (192.168.1.2).Escape character is ' ^] '.Mail.yjw.com ESMTP PostfixEHLO 163.com (you just need to enter the line, it's real information)250-mail.wc365.com250-pipelining250-size 10240000250-vrfy250-etrn250-auth LOGIN PLAIN250-auth=login PLAIN250-enhancedstatuscodes250-8bitmimeDSNQuit (Enter Exit command)221 2.0.0 ByeConnection closed by foreign host.Test 2:echo "This is a test mail" | Mail-s mailna
higher than SendMailExim: Simple configuration Syntax, Cambridge University open Source projectExchange: There is an asynchronous messaging collaboration platformSASL:SMTPD User authentication function implementationSYRUS-SASL V2 VersionCourier--authlib: Generally used to do SASL authentication mechanism, more powerful, and flexibleMDA: implementation of mail deliveryProcmail (used in sendmail)MaildropImplementation of the Mra:pop3,ima protocolCyrus-
I sent an email today, but failed to send it. Then I went to the server to check the log and found that the hard disk was filled with the cache queue and logs of spam,
Tail-F/var/log/maillog found the screen was flushed. Some logs are as follows:
Aug 17 09:39:01 www postfix/error[1173]: 455F050663: to=
Let's take a look at the process and load of the system. The system is dizzy and the load is 28, so the server is not moving.
[[emailprotected] /]#
Summary
There is no special service running on the host, so no monitoring alarm is added. This sudden execution of a command cannot be realized because the disk is slow. The error was found because the directory was /var/spool/postfix/mailfdrop too large to cause.
By understanding the discovery because:由于 Linux 在执行 cron 时,会将 cron 执行脚本中的 output 和 warning 信息,都会以邮件的形式发送 cron 所有者, 而由于客户环境中的 sendmail
Speed-up update of Sendmail-Linux Enterprise Application-Linux server application information. For details, refer to the following section. As a mail service software, Sendmail has always been widely used by IT manufacturers. However, Since Sendmail was designed to provide users with mail sending and receiving services, network security has not been taken too muc
First, the basic knowledge:SendMail is the most widely used message transfer agent in a UNIX environment, SendMail mail server features powerful but complex configuration, sendmail version upgrades very frequently, The SendMail version number used by the host can be judged by telnet to the host's Port 25th. For example:
Telnet xxx.xxx.xxx.xxx 25
xxx.xxx.xxx.xxx E
PostfixForTlsYes. It is provided by a set of patch files written by lutz janicke. This set of patch files can be obtained from the add-on software link on the postfix homepage. If you use the pre-compiled postfix package that is included with the platform, make sure that this version does contain the tls patch.
In addition to the tls support for postfix, you must
Postfix Anti-Spam technology-Linux Enterprise Application-Linux server application information. The following is a detailed description. The Anti-Spam function of MTA is to filter sessions during MTA processing. This filter not only filters the Spam Sent to itself, but also prevents itself from being maliciously used to send spam. Postfix implements all major MTA filtering technologies ..
MTA filtering is
As a result of the writing of an article also just contact Postfix, the e-mail system is also very superficial understanding, although barely built to run the mail system, but also exposed a lot of problems. At the same time blind pursuit of function, make the whole installation process is long, for want to get started friend is more difficult. This time I will revise the previous article, and remove the search and anti-spam functions, complete the in
In linux, configure sendmail (RPM package)-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Environment: RedHat Linux 9.0 is fully installed or the following installation packages have been installed:
Imap-2001a-18.i286.rpm
Sendmail-8.12.8-4.i386.rpm
M4-1.4.1-13.i386.rpm
Cyrus-sasl-2.1.10-4.i386.rpm
Cyrus-sasl-md5-2.1.10-4.i386.rpm
Cyrus-sasl-pl
Article Title: use Sendmail to set up a Mail server in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Email is the most commonly used on the Internet, and many enterprise users often use free email systems. Today, I will introduce you to Sendmail, a mail server s
Today, the system needs to use its SMTP server to send emails. Our system architecture is based on appfuse. In fact, it uses spring mail to encapsulate javamail calls, previously, we used a third-party SMTP service.
I started to consider Postfix, good reputation, and had a long time. It was set up and needed support for domain name MX record. We just used it for testing. There was no domain name case test, but it was not done well!
However,
Difficulty sending e-mails:2015/3/12 15:54Tail-f/var/log/maillog:noqueue:syserr (Apache): Can not ChDir (/var/spool/clientmqueue/): Permission deniedsudo chown smmsp:smmsp/var/spool/clientmqueueSUDO/USR/SBIN/USERMOD-G smmsp-g Apache ApacheRestarting Apache is still not possible.Maillog Error Change:Noqueue:syserr (Apache): Can not write to queue directory/var/spool/clientmqueue/(runasgid=48, required=51): Permission Deniedand/var/log/httpd/error_log has no error.chmod 777 Clientmqueue Mail will
The mail server configuration is troublesome because you need to know a lot about the domain name service DNS/Bind, Web sending and receiving emails Apache/PHP/MySQL/SquirrelMail, authentication service LDAP, Kerberos, PAM, emails are usually stored in additional storage but also NFS/SAN, mail service Postfix/Dovecot, anti-spam Postgrey/Clam AV/SpamAssassion, security authentication SSL, monitoring and backup, etc, this set covers almost all aspects o
1. Install sendmailIf you have installed the sendmail 8.11 service in Redhat9 by default, you can ignore the installation process. For more information, see the redhat CD documentation.
If the sendmail service is not installed, follow these steps:
// Check whether sendmail is installed
# Rpm-qa | grep sendmail
// Mount
Detailed tutorial on installing and configuring Postfix Mail Service on Ubuntu 14.04Postfix: The mail server used to accept and send mail, the correct statement should be called the Mail Delivery agent (mail Transfer Agent,mta), is the most important part of the mail service;Dovecot:pop and IMAP server, used to manage the local mail directory so that users can log in and download mail through Mail.app, Thunderbird, Mutt and other mail clients (also ca
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.