Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 27th October 2012, 21:38
blinky blinky is offline
Join Date: Sep 2012
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default multiple domains - postfix/dovecot/mysql

Hidee ho... again...

Some of you are likely going to think I'm thick as a plank I've been here so often in the past couple months but I keep coming back to the well because it's got water in it.

I have been able to configure postfix/dovecot/mysql with virtual users/domains (and postfixadmin) on a Ubuntu 12.04 system. I was having some problems connecting to the SMTP server off-site but determined the most likely cause was that the *other* ISP was blocking port 25 so I thought I'd use port 587 instead. As a result, I added the following to the postfix master.cf file:

submission inet n - - - - smtpd
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=private/auth
  -o smtpd_sasl_security_options=noanonymous
  -o smtpd_sasl_local_domain=$myhostname
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
The above information I found via Google.

Now, for my primary domain (which I'll call mail.example.com) everything works fine... mail gets processed by accessing the mysql virtual database without problem. But for the secondary domain (which I'll call mail.otherexample.com) the mail gets bounced rejecting it as anonymous.

Interestingly, if I connect to the same machine from an ISP that does not block port 25 and I configure the client to use port 25 both domains get processed fine.

What I need to figure out is how to configure the server to handle ALL domains and users on port 587.

I'm sure there's a simple setting I've overlooked. Sheesh, talk about a pile of configuration files to get this puppy up and running!

I thank you all in adance for your time and patience.
Reply With Quote
Sponsored Links


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
Apache - same subdomain on multiple domains tahunasky Server Operation 3 8th August 2012 17:18
DKIM with multiple domains compner Installation/Configuration 0 15th October 2009 17:15
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 9th May 2009 00:00
ISPconfig to host multiple domains in one IP with multiple DynDns addresses agelospanagiotakis Installation/Configuration 23 2nd April 2008 12:10
Is there a Script to add Multiple Domains (websites) to ISPCONFIG??? bpmee Programming/Scripts 2 23rd February 2007 02:33

All times are GMT +2. The time now is 05:18.

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