Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th January 2010, 01:04
qiubosu qiubosu is offline
Senior Member
 
Join Date: Jan 2010
Posts: 140
Thanks: 2
Thanked 0 Times in 0 Posts
Default Email delivery problem - Ubuntu Karmic Koala (Ubuntu 9.10) [ISPConfig 2]

Dear Sir/Madam,

I followed Falko Timme's tutorial of "The Perfect Server - Ubuntu Karmic
Koala (Ubuntu 9.10) [ISPConfig 2]" to setup the ISP web hosting system, ISPConfig 2 and Squirrelmail, but I have problem when testing the email (in ISPConfig 2, create client, website, user & mail for squirrelmail etc before testing the email):

1. in Ubuntu prompt, run "mail root" to send email message to my personal
email address qiubosu@gmail.com, to email address root@qiubosu.dyndns.org created in ISPConfig 2 for the user & mail. But the email message could neither be received from qiubosu@gmail.com nor root@qiubosu.dyndns.org.

2. login into Squirrlemail webmail interface and sent email message to my
personal email address qiubosu@gmail.com, but the email message couldn't be received from qiubosu@gmail.com as well.

3. from qiubosu@gmail.com, sent email message to root@qiubosu.dyndns.org, but the email message couldn't be received in root@qiubosu.dyndns.org.

In all, the email message delivery into and out the email system hasn't been
worked so far.

It is much appreciated if anyone can help with this, e.g. the information
guidance to identify and solve the problem; the approach to test each
part/server in the email delivery chain to discover the issue; whatever
helpful approach/method.
Reply With Quote
Sponsored Links
  #2  
Old 18th January 2010, 16:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Any errors in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th January 2010, 07:25
qiubosu qiubosu is offline
Senior Member
 
Join Date: Jan 2010
Posts: 140
Thanks: 2
Thanked 0 Times in 0 Posts
Default Email delivery problem - Ubuntu Karmic Koala (Ubuntu 9.10) [ISPConfig 2]

hello falko,

thank you very much for the help. i have been working on other thing and just got the chance to reply you.

after i run the below commands in the Ubuntu terminal

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

i got below output log in the /var/log/mail.log file. how do you identify the issues from the below log?

Jan 26 19:10:12 smartracksolutions postfix/pickup[2478]: D1E5A1B71: uid=0 from=<root>
Jan 26 19:10:12 smartracksolutions postfix/cleanup[2543]: D1E5A1B71: message-id=<20100126061012.D1E5A1B71@smartracksolutions.dy ndns.org>
Jan 26 19:10:12 smartracksolutions postfix/qmgr[2479]: D1E5A1B71: from=<root@smartracksolutions.dyndns.org>, size=409, nrcpt=2 (queue active)
Jan 26 19:10:13 smartracksolutions postfix/smtpd[2547]: connect from localhost.localdomain[127.0.0.1]
Jan 26 19:10:13 smartracksolutions postfix/trivial-rewrite[2545]: warning: do not list domain smartracksolutions.dyndns.org in BOTH mydestination and virtual_mailbox_domains
Jan 26 19:10:13 smartracksolutions postfix/smtpd[2547]: BC5CC1E1F: client=localhost.localdomain[127.0.0.1]
Jan 26 19:10:13 smartracksolutions postfix/cleanup[2543]: BC5CC1E1F: message-id=<20100126061012.D1E5A1B71@smartracksolutions.dy ndns.org>
Jan 26 19:10:13 smartracksolutions postfix/qmgr[2479]: BC5CC1E1F: from=<root@smartracksolutions.dyndns.org>, size=866, nrcpt=2 (queue active)
Jan 26 19:10:13 smartracksolutions postfix/smtpd[2547]: disconnect from localhost.localdomain[127.0.0.1]
Jan 26 19:10:13 smartracksolutions postfix/trivial-rewrite[2545]: warning: do not list domain smartracksolutions.dyndns.org in BOTH mydestination and virtual_mailbox_domains
Jan 26 19:10:13 smartracksolutions amavis[1186]: (01186-02) Passed CLEAN, <root@smartracksolutions.dyndns.org> -> <qiubosu@gmail.com>,<root@smartracksolutions.dyndn s.org>, Message-ID: <20100126061012.D1E5A1B71@smartracksolutions.dyndn s.org>, mail_id: qgpxSjDy3b9K, Hits: 2.794, size: 409, queued_as: BC5CC1E1F, 902 ms
Jan 26 19:10:13 smartracksolutions postfix/smtp[2546]: D1E5A1B71: to=<qiubosu@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.21/0.05/0.01/0.94, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01186-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BC5CC1E1F)
Jan 26 19:10:13 smartracksolutions postfix/smtp[2546]: D1E5A1B71: to=<root@smartracksolutions.dyndns.org>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.21/0.05/0.01/0.94, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01186-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BC5CC1E1F)
Jan 26 19:10:13 smartracksolutions postfix/qmgr[2479]: D1E5A1B71: removed
Jan 26 19:10:14 smartracksolutions postfix/smtpd[2523]: warning: 125.236.178.150: address not listed for hostname dsldevice.lan
Jan 26 19:10:14 smartracksolutions postfix/smtpd[2523]: connect from unknown[125.236.178.150]
Jan 26 19:10:14 smartracksolutions postfix/smtp[2549]: warning: host smartracksolutions.dyndns.org[125.236.178.150]:25 greeted me with my own hostname smartracksolutions.dyndns.org
Jan 26 19:10:14 smartracksolutions postfix/smtp[2549]: warning: host smartracksolutions.dyndns.org[125.236.178.150]:25 replied to HELO/EHLO with my own hostname smartracksolutions.dyndns.org
Jan 26 19:10:14 smartracksolutions postfix/smtp[2549]: BC5CC1E1F: to=<root@smartracksolutions.dyndns.org>, relay=smartracksolutions.dyndns.org[125.236.178.150]:25, delay=0.61, delays=0.12/0.16/0.33/0, dsn=5.4.6, status=bounced (mail for smartracksolutions.dyndns.org loops back to myself)
Jan 26 19:10:14 smartracksolutions postfix/smtpd[2523]: disconnect from unknown[125.236.178.150]
Jan 26 19:10:33 smartracksolutions postfix/smtp[2482]: connect to alt3.gmail-smtp-in.l.google.com[209.85.219.25]:25: Connection timed out
Jan 26 19:10:33 smartracksolutions postfix/smtp[2484]: connect to alt3.gmail-smtp-in.l.google.com[209.85.219.25]:25: Connection timed out
Jan 26 19:10:44 smartracksolutions postfix/smtp[2548]: connect to gmail-smtp-in.l.google.com[209.85.222.94]:25: Connection timed out
Jan 26 19:11:03 smartracksolutions postfix/smtp[2482]: connect to alt4.gmail-smtp-in.l.google.com[209.85.220.17]:25: Connection timed out
Jan 26 19:11:03 smartracksolutions postfix/smtp[2484]: connect to alt4.gmail-smtp-in.l.google.com[209.85.220.17]:25: Connection timed out
Jan 26 19:11:03 smartracksolutions postfix/smtp[2482]: A8E158402: to=<qiubosu@gmail.com>, relay=none, delay=2055, delays=1904/0.24/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[209.85.220.17]:25: Connection timed out)
Jan 26 19:11:03 smartracksolutions postfix/smtp[2484]: AD348642A: to=<qiubosu@gmail.com>, relay=none, delay=2659, delays=2508/0.23/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[209.85.220.17]:25: Connection timed out)
Jan 26 19:11:14 smartracksolutions postfix/smtp[2548]: connect to alt1.gmail-smtp-in.l.google.com[209.85.211.82]:25: Connection timed out
Reply With Quote
  #4  
Old 27th January 2010, 14:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Jan 26 19:10:13 smartracksolutions postfix/trivial-rewrite[2545]: warning: do not list domain smartracksolutions.dyndns.org in BOTH mydestination and virtual_mailbox_domains
Is it possible that you used the tutorial for ISPConfig 3 instead of ISPConfig 2?
What's in /etc/postfix/main.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th January 2010, 23:51
qiubosu qiubosu is offline
Senior Member
 
Join Date: Jan 2010
Posts: 140
Thanks: 2
Thanked 0 Times in 0 Posts
Default

hello falko,

this one is for ispconfig 3. i installed both ispconfig 2 & 3. the original post is for ispconfig 2. but when i tested the email for ispconfig 3, it doesn't work as well, so i replied you with the mail.log file when i tested the email under ispconfig 3.

the /etc/postfix/main.cf for ispconfig 3 is as below:

# 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 = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/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 = smartracksolutions.dyndns.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = smartracksolutions.dyndns.org, localhost, localhost.localdomain
relayhost = [192.168.1.64]:submission
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
Reply With Quote
  #6  
Old 28th January 2010, 10:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,503
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

I hope you formatted the server adter you installed one ispconfig version? If not, the system will not work. You can noz install ispconfig 2 on a system were ispconfig 3 was installed before and vice versa without a complete reinstall of the operating system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
Postfix Email Delivery Problem sedat1903 HOWTO-Related Questions 2 22nd December 2008 11:19
Postfix not honoring email aliases for local delivery rneilson Installation/Configuration 24 22nd March 2007 11:12
problem with incoming email sumwoman Installation/Configuration 7 27th January 2007 08:09
Problem with 'CC' & 'BCC' email not being delivered. snowfly HOWTO-Related Questions 10 20th July 2006 12:36


All times are GMT +2. The time now is 20:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.