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 20th February 2009, 04:11
emdok emdok is offline
Junior Member
 
Join Date: Feb 2009
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default all incoming email gets dumped into /root/maildir

I'm having an issue with incoming mail. It isn't going to the user's mailbox. I think mail destined for a domain is to go to /var/www/<website>/mail or maildir? Instead I see it all in /root/maildir/new

I had followed the perfect server setup for centos 5.2. I started with 2.2.28 then upgraded to 2.2.29 last month. I've only used it for website hosting, just starting to use it for email also

Do I have a configuration error somewhere? Where do I start to troubleshoot?
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2009, 08:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Please remove the unneeded aliases from the /etc/aliases file and then rebuild the database with the command newaliases.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th February 2009, 22:45
emdok emdok is offline
Junior Member
 
Join Date: Feb 2009
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default

I didn't see any entries that looked unneeded. I'm not sure what's needed and what's not though.
Ran newaliases anyway:
Code:
/etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Would you like me to post the aliases file?

I see in the settings tab for email /etc/postfix/virtusertable
When I look at that file I see entries such as:
I was trying to make info@mydomain.com
Is there supposed to be the www before the domain name?
When I created the new site I left the www in the Hostname field then typed the domain name below it. Even if I send email to info@www.mydomain.com it doesn't go into the correct mailbox.

Also, I'm not using ISPConfig for dns, I have an mx record setup under the domain providers dns that points to my ISPConfig box. I can confirm that mail is being delivered to it as it all appears in /root/maildir

Is there something else I should check?

Much Thanks in advance.
Reply With Quote
  #4  
Old 20th February 2009, 22:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

You missed to add a co-domain mydomain.com to the website www.mydomain.com.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 20th February 2009, 22:54
emdok emdok is offline
Junior Member
 
Join Date: Feb 2009
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

wow indeed I did!! It works now.

Thanks very much Till.
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
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
Postfix - Reject incoming email for specific user richi Tips/Tricks/Mods 3 19th February 2009 15:26
problem with incoming email sumwoman Installation/Configuration 7 27th January 2007 08:09
Second domain cannot receive incoming email ariefaisalz General 6 2nd May 2006 15:11
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43


All times are GMT +2. The time now is 06:14.


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