Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2007, 04:16
DantePasquale DantePasquale is offline
Senior Member
 
Join Date: Feb 2007
Location: Lakewood, OH US
Posts: 108
Thanks: 10
Thanked 3 Times in 3 Posts
Send a message via AIM to DantePasquale
Default Mail woes, roundcube + seperate wemail site

Hi, I've followed the installation and configuration sites as closely as possible and things seem to be working correctly. But I can't receive e-mail - Users can't receive e-mails is what I should say. Senders see:
This is the Postfix program at host inferno.cocoanet.us.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<web1_webadmin@www.cocoanet.us> (expanded from <DanteBell@cocoanet.us>): mail
forwarding loop for web1_webadmin@www.cocoanet.us

When I look at the virtual user table, I'm not sure what to look for, but it seems correct.

What step(s) did I miss ? I get this message when I send to either the "DanteBell@cocoanet.us" and "DanteBell@webmail.cocoanet.us"

Mail log shows:



Jun 5 22:02:22 inferno postfix/smtpd[4268]: connect from host5.lanespioneer.com[216.75.56.152]
Jun 5 22:02:22 inferno postfix/smtpd[4268]: BF9BF3D27C: client=host5.lanespioneer.com[216.75.56.152]
Jun 5 22:02:23 inferno postfix/cleanup[4272]: BF9BF3D27C: message-id=<20070606020222.BF9BF3D27C@inferno.cocoanet.us>
Jun 5 22:02:23 inferno postfix/qmgr[12994]: BF9BF3D27C: from=<epl3485107849431@lanespioneer.com>, size=14212, nrcpt=1 (queue active)
Jun 5 22:02:23 inferno postfix/cleanup[4272]: 939023D27D: message-id=<20070606020222.BF9BF3D27C@inferno.cocoanet.us>
Jun 5 22:02:23 inferno postfix/local[4273]: BF9BF3D27C: to=<web1_dantepasquale@www.cocoanet.us>, orig_to=<dantepasquale@cocoanet.us>, relay=local, delay=1, status=sent (forwarded as 939023D27D)
Jun 5 22:02:23 inferno postfix/qmgr[12994]: 939023D27D: from=<epl3485107849431@lanespioneer.com>, size=14361, nrcpt=1 (queue active)
Jun 5 22:02:23 inferno postfix/qmgr[12994]: BF9BF3D27C: removed
Jun 5 22:02:23 inferno postfix/cleanup[4272]: 987B13D27C: message-id=<20070606020222.BF9BF3D27C@inferno.cocoanet.us>
Jun 5 22:02:23 inferno postfix/local[4273]: 939023D27D: to=<web1_webadmin@www.cocoanet.us>, orig_to=<dantepasquale@cocoanet.us>, relay=local, delay=0, status=sent (forwarded as 987B13D27C)
Jun 5 22:02:23 inferno postfix/qmgr[12994]: 987B13D27C: from=<epl3485107849431@lanespioneer.com>, size=14505, nrcpt=1 (queue active)
Jun 5 22:02:23 inferno postfix/qmgr[12994]: 939023D27D: removed
Jun 5 22:02:23 inferno postfix/local[4273]: 987B13D27C: to=<web1_webadmin@www.cocoanet.us>, orig_to=<dantepasquale@cocoanet.us>, relay=local, delay=0, status=bounced (mail forwarding loop for web1_webadmin@www.cocoanet.us)
Jun 5 22:02:23 inferno postfix/cleanup[4272]: A116F3D27F: message-id=<20070606020223.A116F3D27F@inferno.cocoanet.us>
Jun 5 22:02:23 inferno postfix/qmgr[12994]: A116F3D27F: from=<>, size=16385, nrcpt=1 (queue active)
Jun 5 22:02:23 inferno postfix/qmgr[12994]: 987B13D27C: removed
Jun 5 22:02:23 inferno postfix/smtpd[4268]: disconnect from host5.lanespioneer.com[216.75.56.152]
Jun 5 22:02:24 inferno postfix/smtp[4275]: A116F3D27F: to=<epl3485107849431@lanespioneer.com>, relay=mail.lanesnetwork.com[69.28.74.98], delay=1, status=sent (250 ok 1181095345 qp 6516)
Jun 5 22:02:24 inferno postfix/qmgr[12994]: A116F3D27F: removed
Jun 5 22:05:43 inferno postfix/anvil[4120]: statistics: max connection rate 1/60s for (smtp:192.18.43.132) at Jun 5 22:00:26
Jun 5 22:05:43 inferno postfix/anvil[4120]: statistics: max connection count 1 for (smtp:192.18.43.132) at Jun 5 22:00:26
Jun 5 22:05:43 inferno postfix/anvil[4120]: statistics: max cache size 2 at Jun 5 22:00:26

Which kind of looks like everything is working OK.

Thanks for the help!
Reply With Quote
Sponsored Links
  #2  
Old 6th June 2007, 07:26
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default

Please post the output of your /etc/postfix/main.cf file here.

One note:
If you're the Maildir format, you need to enable it within ISPConfig under Management > Server > Settings > Email.
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #3  
Old 6th June 2007, 15:10
DantePasquale DantePasquale is offline
Senior Member
 
Join Date: Feb 2007
Location: Lakewood, OH US
Posts: 108
Thanks: 10
Thanked 3 Times in 3 Posts
Send a message via AIM to DantePasquale
Default

Code:
# 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/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.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 = inferno.cocoanet.us
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
##mydestination = inferno.cocoanet.us, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = 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 = cocoanet.us,crustypanties.us,inferno.cocoanet.us,localhost.cocoanet.us,localhost

mydestination = /etc/postfix/local-host-names
Reply With Quote
  #4  
Old 6th June 2007, 16:05
DantePasquale DantePasquale is offline
Senior Member
 
Join Date: Feb 2007
Location: Lakewood, OH US
Posts: 108
Thanks: 10
Thanked 3 Times in 3 Posts
Send a message via AIM to DantePasquale
Default

Hi, I forgot to mention that MailDir is checked in ISPconfig (on).

Also, I did an uninstall then re-install of ISPConfig and am wondering if something was left around from the uninstall, like the virutaluser table?

Here is that table also ...

Code:
###################################
#
# ISPConfig virtusertable Configuration File
#         Version 1.0
#
###################################
webmaster@webmail.cocoanet.us    web2_webmailmgr
webmailmgr@webmail.cocoanet.us    web2_webmailmgr
web2_webmailmgr@webmail.cocoanet.us    web2_webmailmgr
@webmail.cocoanet.us    web2_webmailmgr
dantebell@webmail.cocoanet.us    web2_dantebell
web2_dantebell@webmail.cocoanet.us    web2_dantebell
dantepasquale@webmail.cocoanet.us    web2_dantepasquale
web2_dantepasquale@webmail.cocoanet.us    web2_dantepasquale
donziguy@webmail.cocoanet.us    web2_donziguy
web2_donziguy@webmail.cocoanet.us    web2_donziguy
bcbgirl@webmail.cocoanet.us    web2_bcbgirl
web2_bcbgirl@webmail.cocoanet.us    web2_bcbgirl
webmailmgr@webmail.crustypanties.us    web5_webmailmgr
web5_webmailmgr@webmail.crustypanties.us    web5_webmailmgr
@webmail.crustypanties.us    web5_webmailmgr
webadmin@www.cocoanet.us    web1_webadmin
web1_webadmin@www.cocoanet.us    web1_webadmin
@www.cocoanet.us    web1_webadmin
webadmin@cocoanet.us    web1_webadmin
web1_webadmin@cocoanet.us    web1_webadmin
@cocoanet.us    web1_webadmin
webadmin@www.crustypanties.us    web3_webadmin
web3_webadmin@www.crustypanties.us    web3_webadmin
@www.crustypanties.us    web3_webadmin
webadmin@crustypanties.us    web3_webadmin
web3_webadmin@crustypanties.us    web3_webadmin
@crustypanties.us    web3_webadmin
dantebell@www.cocoanet.us    web1_dantebell
web1_dantebell@www.cocoanet.us    web1_dantebell
dantebell@cocoanet.us    web1_dantebell
web1_dantebell@cocoanet.us    web1_dantebell
dantepasquale@www.cocoanet.us    web1_dantepasquale
web1_dantepasquale@www.cocoanet.us    web1_dantepasquale
dantepasquale@cocoanet.us    web1_dantepasquale
web1_dantepasquale@cocoanet.us    web1_dantepasquale
bcbgirl@www.cocoanet.us    web1_bcbgirl
web1_bcbgirl@www.cocoanet.us    web1_bcbgirl
bcbgirl@cocoanet.us    web1_bcbgirl
web1_bcbgirl@cocoanet.us    web1_bcbgirl
Reply With Quote
  #5  
Old 6th June 2007, 16:24
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default

You have 2 lines like: smtpd_use_tls = yes
You can remove one line, leave the other behind.

Do you use ISPConfig and do you use the Maildir format?

-If you use ISPConfig AND the Maildir format, please enable this within ISPConfig under > Management > Server > Settings > Email.

-If you do not use ISPConfig but you use the Maildir format, please add the following lines at the end of your /etc/postfix/main.cf:

#Enable Maildir format
home_mailbox = Maildir/

After making any modification, you need to restart Postfix with:
/etc/init.d/postfix restart
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #6  
Old 6th June 2007, 17:23
DantePasquale DantePasquale is offline
Senior Member
 
Join Date: Feb 2007
Location: Lakewood, OH US
Posts: 108
Thanks: 10
Thanked 3 Times in 3 Posts
Send a message via AIM to DantePasquale
Default

Hi, I'll take that extra line out. I do use ISPConfig and Mildir format. This shows as enabled under > Management > Server > Settings > Email.

See anything else?
Dante
Reply With Quote
  #7  
Old 7th June 2007, 15:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's in the .procmailrc file in the homedir of web1_webadmin?

What's the output of
Code:
netstat -tap
?
__________________
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
  #8  
Old 7th June 2007, 16:06
DantePasquale DantePasquale is offline
Senior Member
 
Join Date: Feb 2007
Location: Lakewood, OH US
Posts: 108
Thanks: 10
Thanked 3 Times in 3 Posts
Send a message via AIM to DantePasquale
 
Default

Hi All, I think I screwed up the DNS and that's why things weren't working. I deleted the "site" and recreated and now I can send/recieve e-mails!

Thanks for the help as I did learn a great deal. I've been working in Open Systems since 1986 and have succesfully avoided anything to do with mail, so this was interesting debugging session.
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
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
postfix-tls sasl2 mysql courier-authmysql gabrix Server Operation 4 12th January 2007 22:09
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 16:24.


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