The POSTFIX cannot be used to receive emails !! Help

Source: Internet
Author: User
Tags dovecot
The POSTFIX cannot be used to receive emails !! For help-Linux Enterprise Application-Linux server application information, see the following for details. This is the case. The younger brother has learned POSTFiX over the past few days because the company wants to talk to the new company's MD. As a result, Google and baidu have no choice but to turn to you.

Below is the configuration file,

Main. cf
# Postconf-n
Command_directory =/usr/sbin
Config_directory =/etc/postfix
Daemon_directory =/usr/libexec/postfix
Debug_peer_level = 2
Enable_original_recipient = no
Html_directory = no
Inet_interfaces = all
Mail_owner = postfix
Mailq_path =/usr/bin/mailq
Manpage_directory =/usr/local/man
Message _ size_limit = 14336000
Mydestination =
Mydomain = mail2.com
Myhostname = mail.mail2.com
Mynetworks = 192.168.4.0/24
Myorigin = $ mydomain
Newaliases_path =/usr/bin/newaliases
Queue_directory =/var/spool/postfix
Readme_directory = no
Sample_directory =/etc/postfix
Sendmail_path =/usr/sbin/sendmail
Setgid_group = postdrop
Unknown_local_recipient_reject_code = 550
Virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
Virtual_gid_maps = static: 12345
Virtual_mailbox_base =/var/mailbox
Virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf
Virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf
Virtual_transport = virtual
Virtual_uid_maps = static: 12345


Dovecot. conf

Protocols = pop3
Listen = *
Disable_plaintext_auth = no
Ssl_disable = yes
Default_mail_env = maildir:/var/mailbox/% d/% n
First_valid_uid = 12345
Protocol pop3 {
Pop3_uidl_format = % v. %/u
}

Protocol lda {
Postmaster_address = postmaster@example.com
}

Auth default {
Mechanical ISMs = plain login digest-md5 cram-md5
Passdb SQL {
Args =/usr/local/dovecot/etc/dovecot-sql.conf
}
Userdb SQL {
Args =/usr/local/dovecot/etc/dovecot-sql.conf
}
Userdb prefetch {
}
User = root
}
Dict {
}
Plugin {
}


New virtual domain mail2.com
User jose@mail2.com

Use outlook express to send a mail to yourself, and a new mail appears under/var/mailbox/jose@mail2.com/new/***. mail -----


/Var/log/maillog:
Jun 25 04:17:32 mail postfix/postfix-script: starting the Postfix mail system
Jun 25 04:17:32 mail postfix/master [16253]: daemon started -- version 2.3.3, configuration/etc/postfix
Jun 25 04:17:45 mail postfix/smtpd [16256]: warning: dict_nis_init: NIS domain name not set-NIS lookups disabled
Jun 25 04:17:45 mail postfix/smtpd [16256]: connect from unknown [192.168.4.3]
Jun 25 04:17:45 mail postfix/smtpd [16256]: F15021AD223: client = unknown [192.168.4.3]
Jun 25 04:17:46 mail postfix/cleanup [16262]: F15021AD223: message-id = <8FA9BDC5DFD84322ADD4720ABB5A298A @ postfixtest>
Jun 25 04:17:46 mail postfix/qmgr [16255]: F15021AD223: from = , Size = 3781, nrcpt = 1 (queue active)
Jun 25 04:17:46 mail postfix/smtpd [16256]: disconnect from unknown [192.168.4.3]
Jun 25 04:17:46 mail postfix/virtual [16264]: F15021AD223: to = , Relay = virtual, delay = 0.18, delays = 0.1/0.05/0/0.03, dsn = 2.0.0, status = sent (delivered to maildir)
Jun 25 04:17:46 mail postfix/qmgr [16255]: F15021AD223: removed







Check that the log content has been sent successfully, but the client has not received the email! Please kindly enlighten me (5ty (
Related Article

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.