- 论坛徽章:
- 0
|
$CONF['encrypt'] = 'md5crypt';
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
# TLS parameters
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
#smtpd_use_tls=yes
#smtpd_tls_session_cache_database = btree {queue_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree {queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = mail.erabay.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = erabay.com,localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
#===========================sasl==============================
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
broken_sasl_auth_clients = yes
smtpd_helo_required = yes
smtpd_delay_reject=no
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
inet_interfaces = all
#=====================MySQL==================================
#virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf
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_mailbox_base = /home/Virtual/
home_mailbox = maildir/
virtual_mailbox_limit = 51200000
virtual_minimum_uid = 33
#transport_maps = mysql:/etc/postfix/mysql/mysql_virtual_transport.cf
virtual_transport = virtual
#virtual_transport = weifeng270
virtual_uid_maps = static:33
virtual_gid_maps = static:33
#=====================Quota=====================
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
#virtual_trash_count=yes
#virtual_trash_name=.Trash
May 23 16:04:37 erabay postfix/virtual[8427]: 2A95F9460A: to=<xxx@weifeng.com>, relay=virtual, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
May 23 16:04:37 erabay postfix/qmgr[8358]: 2A95F9460A: removed
May 23 16:05:25 erabay postfix/smtpd[8423]: connect from localhost[127.0.0.1]
May 23 16:05:25 erabay postfix/smtpd[8423]: CD1D99460A: client=localhost[127.0.0.1]
May 23 16:05:25 erabay postfix/cleanup[8426]: CD1D99460A: message-id=<20080523080525.CD1D99460A@mail.erabay.com>
May 23 16:05:25 erabay postfix/qmgr[8358]: CD1D99460A: from=<weifeng270@gmail.com>, size=483, nrcpt=1 (queue active)
May 23 16:05:25 erabay postfix/smtpd[8423]: disconnect from localhost[127.0.0.1]
May 23 16:05:25 erabay postfix/virtual[8427]: CD1D99460A: to=<22@2.com>, relay=virtual, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
May 23 16:05:25 erabay postfix/qmgr[8358]: CD1D99460A: removed
May 23 16:08:18 erabay postfix/master[8356]: terminating on signal 15
May 23 16:11:11 erabay postfix/master[8562]: daemon started -- version 2.4.5, configuration /etc/postfix
May 23 16:11:15 erabay postfix/master[8562]: terminating on signal 15
May 23 16:11:15 erabay postfix/master[8636]: daemon started -- version 2.4.5, configuration /etc/postfix
May 23 16:13:51 erabay postfix/smtpd[8667]: connect from localhost[127.0.0.1]
May 23 16:13:51 erabay postfix/smtpd[8667]: 5FF849460A: client=localhost[127.0.0.1]
May 23 16:13:51 erabay postfix/cleanup[8670]: 5FF849460A: message-id=<20080523081351.5FF849460A@mail.erabay.com>
May 23 16:13:51 erabay postfix/qmgr[8638]: 5FF849460A: from=<weifeng270@gmail.com>, size=483, nrcpt=1 (queue active)
May 23 16:13:51 erabay postfix/smtpd[8667]: disconnect from localhost[127.0.0.1]
May 23 16:13:51 erabay postfix/virtual[8671]: 5FF849460A: to=<77@5.com>, relay=virtual, delay=0.1, delays=0.03/0.02/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
May 23 16:13:51 erabay postfix/qmgr[8638]: 5FF849460A: removed
May 23 16:14:18 erabay postfix/smtpd[8667]: connect from localhost[127.0.0.1]
May 23 16:14:18 erabay postfix/smtpd[8667]: D36B79460A: client=localhost[127.0.0.1]
May 23 16:14:18 erabay postfix/cleanup[8670]: D36B79460A: message-id=<20080523081418.D36B79460A@mail.erabay.com>
May 23 16:14:18 erabay postfix/qmgr[8638]: D36B79460A: from=<weifeng270@gmail.com>, size=481, nrcpt=1 (queue active)
May 23 16:14:18 erabay postfix/smtpd[8667]: disconnect from localhost[127.0.0.1]
May 23 16:14:18 erabay postfix/virtual[8671]: D36B79460A: to=<1@1.com>, relay=virtual, delay=0.07, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
May 23 16:14:18 erabay postfix/qmgr[8638]: D36B79460A: removed
May 23 16:14:30 erabay postfix/smtpd[8667]: connect from localhost[127.0.0.1]
May 23 16:14:30 erabay postfix/smtpd[8667]: 35BD29460A: client=localhost[127.0.0.1]
May 23 16:14:30 erabay postfix/cleanup[8670]: 35BD29460A: message-id=<20080523081430.35BD29460A@mail.erabay.com>
May 23 16:14:30 erabay postfix/qmgr[8638]: 35BD29460A: from=<weifeng270@gmail.com>, size=481, nrcpt=1 (queue active)
May 23 16:14:30 erabay postfix/smtpd[8667]: disconnect from localhost[127.0.0.1]
May 23 16:14:30 erabay postfix/virtual[8671]: 35BD29460A: to=<3@1.com>, relay=virtual, delay=0.09, delays=0.07/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
May 23 16:14:30 erabay postfix/qmgr[8638]: 35BD29460A: removed
但是
$CONF['encrypt'] = 'md5crypt';
换成
$CONF['encrypt'] = 'cleartext';
就又出现
May 23 16:04:01 erabay postfix/qmgr[8358]: DE1379460A: from=<weifeng270@gmail.com>, size=499, nrcpt=1 (queue active)
May 23 16:04:01 erabay postfix/virtual[8427]: DE1379460A: to=<kkkk@weifeng.com>, relay=virtual, delay=0.05, delays=0.04/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
May 23 16:04:01 erabay postfix/qmgr[8358]: DE1379460A: removed
May 23 16:04:01 erabay postfix/smtpd[8423]: disconnect from localhost[127.0.0.1]
May 23 16:04:37 erabay postfix/smtpd[8423]: connect from localhost[127.0.0.1]
May 23 16:04:37 erabay postfix/smtpd[8423]: 2A95F9460A: client=localhost[127.0.0.1]
May 23 16:04:37 erabay postfix/cleanup[8426]: 2A95F9460A: message-id=<20080523080437.2A95F9460A@mail.erabay.com>
May 23 16:04:37 erabay postfix/qmgr[8358]: 2A95F9460A: from=<weifeng270@gmail.com>, size=497, nrcpt=1 (queue active)
May 23 16:04:37 erabay postfix/smtpd[8423]: disconnect from localhost[127.0.0.1]
May 23 16:04:37 erabay postfix/virtual[8427]: 2A95F9460A: to=<xxx@weifeng.com>, relay=virtual, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
May 23 16:04:37 erabay postfix/qmgr[8358]: 2A95F9460A: removed
May 23 16:05:25 erabay postfix/smtpd[8423]: connect from localhost[127.0.0.1]
May 23 16:05:25 erabay postfix/smtpd[8423]: CD1D99460A: client=localhost[127.0.0.1]
May 23 16:05:25 erabay postfix/cleanup[8426]: CD1D99460A: message-id=<20080523080525.CD1D99460A@mail.erabay.com>
May 23 16:05:25 erabay postfix/qmgr[8358]: CD1D99460A: from=<weifeng270@gmail.com>, size=483, nrcpt=1 (queue active)
May 23 16:05:25 erabay postfix/smtpd[8423]: disconnect from localhost[127.0.0.1]
May 23 16:05:25 erabay postfix/virtual[8427]: CD1D99460A: to=<22@2.com>, relay=virtual, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
May 23 16:05:25 erabay postfix/qmgr[8358]: CD1D99460A: removed
但是我需要明文的目录名。 |
|