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 11th June 2008, 16:47
samuch samuch is offline
Member
 
Join Date: Apr 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Emails With Periods Not Working

We've setup several email accounts on a domain with periods "." in them and they are not working properly. They are set to forward only however they do nothing. An example email is samuch.samuch@host.com

Email addresses without the period work just fine and forward as expected.

Any thoughts on where to look or if this is a known issue?

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 11th June 2008, 21:11
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Post

Hello,
I have detected the same problem and also detected the following:

The /etc/passwd file is ¿corrupted?. It has lots of lines with the line splited at the end of the name of the user. Also it repeats the second half of the line lots of times.

Example in the same order it appears on the file:
**********************************************
....
....
:/var/www/web2/user/firstname.lastname:/bin/false
....
....
:/var/www/web2/user/firstname.lastname:/bin/false
....
....
:/var/www/web2/user/firstname.lastname:/bin/false
....
a total of 25 times ....
....
Normal /etc/passwd lines
....
firstname.lastname:x:13038:10002:firstname middlename lastname
:/var/www/web2/user/firstname.lastname:/bin/false
....
....
************************************************** ***
In the /etc/mail/virtusertable everything seems to be ok.

Also when a email is received, if the acount is redirected, the following shows up in the /var/log/maillog file:

"SYSERR(root): forward: no home"

Thank's in advance....Larry.
Reply With Quote
  #3  
Old 11th June 2008, 21:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts
Default

Quote:
Originally Posted by samuch View Post
We've setup several email accounts on a domain with periods "." in them and they are not working properly. They are set to forward only however they do nothing. An example email is samuch.samuch@host.com

Email addresses without the period work just fine and forward as expected.

Any thoughts on where to look or if this is a known issue?

Thanks!
There is no known issue, my personal email addrss contains a dot too. Please post a excerpt of your mail log file with the lines that apper when you send a email to such a account.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 11th June 2008, 22:14
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Jun 11 18:37:35 ns4 sendmail[4425]: NOQUEUE: connect from rv-out-0708.google.com [209.85.198.240]
Jun 11 18:37:36 ns4 sendmail[4425]: m5BGbZVt004425: from=<javier.net.68@gmail.com>, size=1840, class=0, nrcpts=1, msgid=<2bcbdb9b0806110937q77b60739kf623ccfd74073c8 d@mail.gmail.com>, proto=ESMTP, daemon=MTA, relay=rv-out-0708.google.com [209.85.198.240]
Jun 11 18:37:36 ns4 sendmail[4451]: m5BGbZVt004425: SYSERR(root): forward: no home
Jun 11 18:37:36 ns4 sendmail[4451]: m5BGbZVt004425: to=<antonio.coca@cunef.edu>, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32057, dsn=2.0.0, stat=Sent
Jun 11 18:37:36 ns4 sendmail[4451]: m5BGbZVt004425: done; delay=00:00:01, ntries=1
J
Reply With Quote
  #5  
Old 12th June 2008, 15:47
samuch samuch is offline
Member
 
Join Date: Apr 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

After testing I've found that the problem only happens with email clients. If I use sendmail on the same server or even outside one, it goes through fine:

echo "test" | mail -s testsubject first.last@problemdomain.com

However, I watch the email leave the mail server using a client and it showed as delivered fine. They don't bounce back. The only difference I can think is the server said it converted to MIME first.

lrider, can you test with the sendmail line above and see if it works for you?

Till, can you think of where I can look on the mail server to see where the emails are coming in? The /var/log/mail.err, mail.info, mail.warn are all empty
Reply With Quote
  #6  
Old 13th June 2008, 18:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Does the MX record for the domain point to the correct server? You can check that with
Code:
dig mx yourdomain.com
__________________
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
  #7  
Old 13th June 2008, 21:24
samuch samuch is offline
Member
 
Join Date: Apr 2007
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think it could be MX related as any email addresses that don't have periods work just fine.
Reply With Quote
  #8  
Old 14th June 2008, 20:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Does your /etc/passwd look correct?
What's in /etc/postfix/virtusertable?
__________________
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
  #9  
Old 16th June 2008, 13:17
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
Default

Hello,

As I posted before, in my case the /etc/passwd is corrupted and the /etc/virtusertable is OK.

Even thought the /etc/passwd is corrupted, the server is working ok, and only its fauling the "forwarding" that does not work.

It just happens that I have 300 accounts forwarded and they don't work.

Thank's in advance.... Larry.
Reply With Quote
  #10  
Old 19th June 2008, 22:36
lrider lrider is offline
Member
 
Join Date: Nov 2006
Posts: 70
Thanks: 1
Thanked 2 Times in 2 Posts
 
Default

More data

I have changed a user and checked the log /home/admispconfig/ispconfig/ispconfig.log file and the following shows up:

19.06.2008 - 20:49:04 => INFO - USER:
jmabando:x:12993:10002:Jose Maria Abando Plaza:/var/www/web2/user/jmabando:/bin/false
19.06.2008 - 20:49:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u jmabando 0 0 0 0 -a &> /dev/null
19.06.2008 - 20:49:04 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u jmabando 604800 604800 -a &> /dev/null
19.06.2008 - 20:49:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/jmabando/.forward
19.06.2008 - 20:49:06 => INFO - USER:
beatrizabascal:x:12994:10002:Beatriz Maria Abascal Alonso-Lamberti
:/var/www/web2/user/beatrizabascal:/bin/false

19.06.2008 - 20:49:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u beatrizabascal 0 0 0 0 -a &> /dev/null
19.06.2008 - 20:49:06 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u beatrizabascal 604800 604800 -a &> /dev/null
19.06.2008 - 20:49:06 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/beatrizabascal/.forward
19.06.2008 - 20:49:08 => INFO - USER:
diegoacebal:x:12995:10002iego Acebal de Salas
:/var/www/web2/user/diegoacebal:/bin/false
19.06.2008 - 20:49:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 891: setquota -u diegoacebal 0 0 0 0 -a &> /dev/null
19.06.2008 - 20:49:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 892: setquota -T -u diegoacebal 604800 604800 -a &> /dev/null
19.06.2008 - 20:49:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 57: cp -f /root/ispconfig/isp/conf/forward.master /var/www/web2/user/diegoacebal/.forward


Here we can see where the /etc/passwd file starts to get messed up.

Hope this gives you a clue of what is happening.

I also have another thread with the /etc/passwd corrupted file thing and will post also this data since the it may be a problem in common.

Thank's in advance.....Larry.
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
Finally a working postfix server. But need a easy dns configuration mnewbegin Server Operation 5 17th October 2007 23:35
Bounce emails not working lapena Installation/Configuration 3 2nd July 2007 19:52
Few questions about Hostname and emails vladoportos Installation/Configuration 4 4th June 2007 15:20
emails not working andyreynolds Installation/Configuration 11 21st March 2007 16:57
Emails suddenly not working -- centos3 and ispconfig mxc General 5 16th November 2006 15:54


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


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