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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th May 2010, 10:30
odx odx is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Email for hostname goes to /var/mail instead of /var/vmail

hello,
mailboxes that i setup with ispconfig get stored in /var/vmail. I can send and recieve mails for my virtual domains fine.
just for my server name its a bit diffrent:

i fist set up a new mail domain which is equal to my hostname.
mailboxes i set up for that mail domain will be created in /var/vmail as supposed.

when there are incoming mails for that domain postfix tries to put them in /var/mail instead of /var/vmail.

so only mails for one preconfigured mail account (i guess i set that up during installation) get delivered others will be rejected with "user unknown".

i also cannot find the mailboxes in my IMAP/POP3 account since its loaded from /var/vmail...

what might be configured incorrectly here? can anyone point me to where i can fix this?

greetings
Reply With Quote
Sponsored Links
  #2  
Old 4th May 2010, 10:32
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,041
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

Do not use a domain that you want to use for email as server name as postfix does not support it to mix virtual and real system users. Reconfigure postfix to use a subdomain like mail.yourdomain.com instead of just yourdomain.com
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th May 2010, 10:48
odx odx is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So i am supposed to have this in /etc/postfix/main.cf

myhostname = mail.mydomain.com

instead of

myhostname = mydomain.com
?
Reply With Quote
  #4  
Old 4th May 2010, 10:53
odx odx is offline
Junior Member
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

ok thanks a lot i fixed it by also setting:

mydestination = mail.mydomain.com, ....
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
I can't read the email after a replication of /var/vmail voltron81 Installation/Configuration 12 4th August 2010 09:30
Email delivery problem - Ubuntu Karmic Koala (Ubuntu 9.10) [ISPConfig 2] qiubosu General 58 16th April 2010 12:24
Email /var/vmail creation failed wieserdk Installation/Configuration 3 25th May 2009 10:31
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43


All times are GMT +2. The time now is 10:17.


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