|
|
发表于 2005-8-30 10:59:19
|
显示全部楼层
peal.com.cn 在本地dns有mx记录
# telnet ark.pearl.com.cn 25
Trying 140.116.100.223...
Connected to ark.pearl.com.cn.
Escape character is '^]'.
220 ark.pearl.com.cn ESMTP Postfix (Debian/GNU)
ehlo femco.com.cn
250-ark.pearl.com.cn
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
250-AUTH=CRAM-MD5 DIGEST-MD5 LOGIN PLAIN
250 8BITMIME
mail from:<root@pearl.com.cn>
到这个地方按<return>系统没有反应,请高手指点一下
/var/log/mail.log
- Aug 30 09:00:12 localhost amavis[2405]: starting. amavisd-new at ark amavisd-new-20030616-p10, Unicode aware
- Aug 30 09:00:12 localhost amavis[2405]: Perl version 5.008007
- Aug 30 09:00:12 localhost amavis[2405]: Module Amavis::Conf 1.15
- Aug 30 09:00:12 localhost amavis[2405]: Module Archive::Tar 1.23
- Aug 30 09:00:12 localhost amavis[2405]: Module Archive::Zip 1.14
- Aug 30 09:00:12 localhost amavis[2405]: Module Compress::Zlib 1.34
- Aug 30 09:00:12 localhost amavis[2405]: Module Convert::TNEF 0.17
- Aug 30 09:00:12 localhost amavis[2405]: Module Convert::UUlib 1.051
- Aug 30 09:00:12 localhost amavis[2405]: Module MIME::Entity 5.417
- Aug 30 09:00:12 localhost amavis[2405]: Module MIME::Parser 5.417
- Aug 30 09:00:12 localhost amavis[2405]: Module MIME::Tools 5.417
- Aug 30 09:00:12 localhost amavis[2405]: Module Mail::Header 1.67
- Aug 30 09:00:12 localhost amavis[2405]: Module Mail::Internet 1.67
- Aug 30 09:00:12 localhost amavis[2405]: Module Net::Cmd 2.26
- Aug 30 09:00:12 localhost amavis[2405]: Module Net::SMTP 2.29
- Aug 30 09:00:12 localhost amavis[2405]: Module Net::Server 0.87
- Aug 30 09:00:12 localhost amavis[2405]: Module Time::HiRes 1.66
- Aug 30 09:00:12 localhost amavis[2405]: Module Unix::Syslog 0.100
- Aug 30 09:00:12 localhost amavis[2406]: Found $file at /usr/bin/file
- Aug 30 09:00:12 localhost amavis[2406]: No $arc, not using it
- Aug 30 09:00:12 localhost amavis[2406]: Found $gzip at /bin/gzip
- Aug 30 09:00:12 localhost amavis[2406]: Found $bzip2 at /usr/bin/bzip2
- Aug 30 09:00:12 localhost amavis[2406]: No $lzop, not using it
- Aug 30 09:00:12 localhost amavis[2406]: Found $lha at /usr/bin/lha
- Aug 30 09:00:12 localhost amavis[2406]: No $unarj, not using it
- Aug 30 09:00:12 localhost amavis[2406]: Found $uncompress at /bin/uncompress
- Aug 30 09:00:12 localhost amavis[2406]: No $unfreeze, not using it
- Aug 30 09:00:12 localhost amavis[2406]: Found $unrar at /usr/bin/unrar
- Aug 30 09:00:12 localhost amavis[2406]: Found $zoo at /usr/bin/zoo
- Aug 30 09:00:12 localhost amavis[2406]: Found $cpio at /bin/cpio
- Aug 30 09:00:12 localhost amavis[2406]: Using internal av scanner code for (primary) Clam Antivirus-clamd
- Aug 30 09:00:12 localhost amavis[2406]: Found secondary av scanner Clam Antivirus - clamscan at /usr/bin/clamscan
- Aug 30 09:00:14 localhost authdaemond.mysql: modules="authmysql", daemons=5
- Aug 30 09:00:17 localhost postfix/postfix-script: starting the Postfix mail system
- Aug 30 09:00:18 localhost postfix/master[2733]: daemon started -- version 2.2.4, configuration /etc/postfix
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 4BCEB103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2739]: warning: connect to mysql server 127.0.0.1: #HY000Host 'localhost.localdomain' is not allowed to connect to this MySQL server
- Aug 30 09:00:18 localhost postfix/cleanup[2739]: warning: 4BCEB103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/5106010425: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 7ACC7103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2739]: warning: 7ACC7103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/53D561081F: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 82E30103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2742]: warning: connect to mysql server 127.0.0.1: #HY000Host 'localhost.localdomain' is not allowed to connect to this MySQL server
- Aug 30 09:00:18 localhost postfix/cleanup[2742]: warning: 82E30103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/6366A10412: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 87634103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2739]: warning: 87634103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/2A6E91081C: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 88920103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2742]: warning: 88920103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/5677C10821: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 9005D103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2739]: warning: 9005D103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/28B95104E5: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 90D25103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2742]: warning: 90D25103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/F0C2710461: Error writing message file
- Aug 30 09:00:18 localhost postfix/pickup[2735]: 91543103FF: uid=0 from=<root>
- Aug 30 09:00:18 localhost postfix/cleanup[2739]: warning: 91543103FF: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:00:18 localhost postfix/pickup[2735]: warning: maildrop/57D1310431: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 90B1C1084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2742]: warning: 90B1C1084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/5106010425: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 945391084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2739]: warning: 945391084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/53D561081F: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 950FF1084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2742]: warning: 950FF1084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/6366A10412: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 95AC71084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2739]: warning: 95AC71084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/2A6E91081C: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 965651084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2742]: warning: 965651084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/5677C10821: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 9782E1084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2739]: warning: 9782E1084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/28B95104E5: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 9840B1084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2742]: warning: 9840B1084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/F0C2710461: Error writing message file
- Aug 30 09:01:18 localhost postfix/pickup[2735]: 98F6B1084A: uid=0 from=<root>
- Aug 30 09:01:18 localhost postfix/cleanup[2739]: warning: 98F6B1084A: virtual_alias_maps map lookup problem for root@ark.pearl.com.cn
- Aug 30 09:01:18 localhost postfix/pickup[2735]: warning: maildrop/57D1310431: Error writing message file
复制代码
/etc/postfix/main.cf
- smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
- myhostname = ark.pearl.com.cn
- mydestination = $pearl.com.cn
- mynetworks = 127.0.0.0/8,140.116.100.0/24
- virtual_alias_domains =
- virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfix/mysql-virtual_email2email.cf
- virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
- virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
- virtual_mailbox_base = /home/vmail
- virtual_uid_maps = static:5000
- virtual_gid_maps = static:5000
- smtpd_sasl_auth_enable = yes
- broken_sasl_auth_clients = yes
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
- smtpd_use_tls = yes
- smtpd_tls_cert_file = /etc/postfix/smtpd.cert
- smtpd_tls_key_file = /etc/postfix/smtpd.key
复制代码 |
|