HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Problem receiving mail (http://www.howtoforge.com/forums/showthread.php?t=1266)

CorrosionX 15th November 2005 20:22

Problem receiving mail
 
Hi there

My isp finally unblocked my port 25 so I'm into setting up the mail server correctly.

My problem is that emails that should be received at anyuser@arconsultant.com are delivered to web3_admin@ptsgroup.ca which is the catch-all address of my main domain (ptsgroup.ca). In fact any email sent to any of my non-main domain all get transfered to that address.

Someone on IRC #postfix told me to add @arconsultant.com to the end of each line of my virtusertable, but that seems unnecessary, lots of people use ISPconfig as is and have no problems.

Can someone help me out with this?

Thanks in advance
Dave

falko 15th November 2005 21:17

Have a look here: http://www.howtoforge.com/faq/13_33_en.html

CorrosionX 15th November 2005 21:26

Ok mydomain wasn't even in the main.cf file. I had myhostname though and it was www.ptsgroup.ca

If I understand correcly i have to change them to something else than ptsgroup.ca (i used www.ptsweb.ca, which is in my hosts file).

I tried changing a couple of things around but still all mail is delivered to the catch-all of ptsgroup.ca (which is our main domain)

CorrosionX 15th November 2005 22:02

Ok I didn't succeed in not having the bug, but at least when I removed the catchall from my address all mail was being distributed nicely.

In case I want the catch-all for my main domain again , what should I do?

till 15th November 2005 22:49

Quote:

Originally Posted by CorrosionX
In case I want the catch-all for my main domain again , what should I do?

Use a domain for $mydomain in your main.cf that was not used by a website in ISPConfig. E.g. create a new subdomain like server1.maindomain.com and use this as $mydomain in your main.cf.


All times are GMT +2. The time now is 21:57.

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