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 6th January 2010, 06:23
shdwdrgn shdwdrgn is offline
Junior Member
 
Join Date: Nov 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do you allow postfix subdomain mail delivery?

I have multiple servers on my network receiving emails, and each one is set to receive messages at domain.com, mail.domain.com, and mx?.domain.com (currently running mx1 and mx2; the new ispconfig3 server is designated mx4). Server is Ubuntu, SMTP is postfix. Incoming emails generate the following log:

Quote:
... postfix/local[10524]: E4D3B21265: to=<bogey@mx4.domain.com>, relay=local, delay=0.29, delays=0.11/0.09/0/0.1, dsn=5.1.1, status=bounced (unknown user: "bogey")
Note that the mailbox bogey@domain.com has been created and will accept emails. So this is a two-part question, and I'm hoping there is an easy answer...
  1. A way to tell ispconfig that emails to user@domain.com will also be accepted at user@mail.domain.com
  2. A method of designating that this particular server will also accept emails to all virtual domains that are tagged with this server's mx -- thus emails received for user@mx4.domain.com and client@mx4.example.net would also be accepted.
Question #1 is the most important part I am focusing on, since #2 can be worked around with an easy solution to #1. I can post my config files if needed, but I don't believe this is a configuration issue. Postfix seems to be working as instructed (only allowing emails to known addresses), I just can't figure out how instruct it to allow the subdomain aliases.
Reply With Quote
Sponsored Links
  #2  
Old 6th January 2010, 10:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
Default

Add mx4.domain.com as email domain in ISPConfig and then add email addresses or aliases for the domain mx4.domain.com
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th January 2010, 18:26
shdwdrgn shdwdrgn is offline
Junior Member
 
Join Date: Nov 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So I'm just supposed to create a copy of every user's mailbox for every mx subdomain (and yes, there are reasons why the emails will get the mx tacked onto the address)? Assuming I were to do this, how then do you propose I get all of the received emails back into a single mailbox for the user to read?

I've been using LDAP records for years. Under postfix, I have a query that picks up associatedDomain values for each domain, then allows emails for all users under this domain to also come in under the addition domains or subdomains. I was really hoping to find something straightforward like this to easily expand on the accepted subdomains of all users under a given domain.
Reply With Quote
  #4  
Old 7th January 2010, 08:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,011
Thanks: 826
Thanked 5,379 Times in 4,226 Posts
 
Default

Nobody is doing this as nobody is receiving emails on their subdomain. This catches just more spam and I've never seen that someone is sending emails to user@mx4.domain.com instead of domain.com. But you can use the same setup that you used with ldap for ispconfig too, its just a plain virtualuser setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Catchall and Forwarding not working simmo General 6 22nd March 2014 00:54
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 20:43
postfix, pop3 uvbnserved Server Operation 22 24th May 2009 21:00
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


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


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