View Single Post
  #9  
Old 28th January 2010, 21:17
qiubosu qiubosu is offline
Senior Member
 
Join Date: Jan 2010
Posts: 141
Thanks: 2
Thanked 0 Times in 0 Posts
Default

dear falko,

as you suggested, i did another test under ispconfig 2 server:

mail root
Subject: test
test
.
Cc: qiubosu@gmail.com

below is the main.log for this test:

Jan 29 07:41:34 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:41:34 smartrack imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=30, sent=470
Jan 29 07:43:43 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:43:43 smartrack imapd: LOGIN, user=web15_admin, ip=[::ffff:127.0.0.1], port=[41636], protocol=IMAP
Jan 29 07:43:43 smartrack imapd: LOGOUT, user=web15_admin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=30, sent=238, time=0
Jan 29 07:43:44 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:43:44 smartrack imapd: LOGIN, user=web15_admin, ip=[::ffff:127.0.0.1], port=[41637], protocol=IMAP
Jan 29 07:43:44 smartrack imapd: LOGOUT, user=web15_admin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=113, sent=261, time=0
Jan 29 07:43:44 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:43:44 smartrack imapd: LOGIN, user=web15_admin, ip=[::ffff:127.0.0.1], port=[41638], protocol=IMAP
Jan 29 07:43:44 smartrack imapd: LOGOUT, user=web15_admin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=77, sent=419, time=0
Jan 29 07:46:59 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:46:59 smartrack imapd: LOGIN, user=web15_admin, ip=[::ffff:127.0.0.1], port=[41639], protocol=IMAP
Jan 29 07:46:59 smartrack imapd: LOGOUT, user=web15_admin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=113, sent=261, time=0
Jan 29 07:47:21 smartrack postfix/pickup[6515]: 84FA68F62: uid=0 from=<root>
Jan 29 07:47:21 smartrack postfix/cleanup[6771]: 84FA68F62: message-id=<20100128184721.84FA68F62@smartrack.dyndns.org>
Jan 29 07:47:21 smartrack postfix/qmgr[6332]: 84FA68F62: from=<root@smartrack.dyndns.org>, size=339, nrcpt=2 (queue active)
Jan 29 07:47:21 smartrack postfix/pickup[6515]: C6BC78F6C: uid=10018 from=<web15_admin>
Jan 29 07:47:21 smartrack postfix/local[6773]: 84FA68F62: to=<web15_admin@smartrack.dyndns.org>, orig_to=<root>, relay=local, delay=0.33, delays=0.1/0.05/0/0.17, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Jan 29 07:47:21 smartrack postfix/cleanup[6771]: C6BC78F6C: message-id=<20100128184721.C6BC78F6C@smartrack.dyndns.org>
Jan 29 07:47:21 smartrack postfix/qmgr[6332]: C6BC78F6C: from=<web15_admin@smartrack.dyndns.org>, size=391, nrcpt=1 (queue active)
Jan 29 07:47:21 smartrack postfix/local[6773]: C6BC78F6C: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.18, delays=0.08/0/0/0.1, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Jan 29 07:47:21 smartrack postfix/qmgr[6332]: C6BC78F6C: removed
Jan 29 07:47:25 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:47:25 smartrack imapd: LOGIN, user=web15_admin, ip=[::ffff:127.0.0.1], port=[41641], protocol=IMAP
Jan 29 07:47:25 smartrack imapd: LOGOUT, user=web15_admin, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=113, sent=259, time=0
Jan 29 07:47:27 smartrack imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 29 07:47:27 smartrack imapd: LOGIN, user=web15_admin, ip=[::ffff:127.0.0.1], port=[41642], protocol=IMAP
Jan 29 07:47:27 smartrack imapd: LOGOUT, user=web15_admin, ip=[::ffff:127.0.0.1], headers=51, body=0, rcvd=222, sent=713, time=0
Jan 29 07:47:54 smartrack postfix/smtp[6774]: connect to gmail-smtp-in.l.google.com[209.85.222.21]:25: Connection timed out
Jan 29 07:48:24 smartrack postfix/smtp[6774]: connect to alt1.gmail-smtp-in.l.google.com[209.85.211.32]:25: Connection timed out
Jan 29 07:48:54 smartrack postfix/smtp[6774]: connect to alt2.gmail-smtp-in.l.google.com[209.85.221.14]:25: Connection timed out

below is the /etc/postfix/main.cf for this ispconfig 2 server:

# 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

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_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 = smartrack.dyndns.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = /etc/postfix/local-host-names
relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
Reply With Quote