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 22nd January 2012, 22:03
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
Default vhost / postfix / courier TLS question

Hi all,

Looking at the postfix config ( main.cf ) I saw it's using a couple of variables to determine the hostname / mailname / data_directory etc ...
So I guess this config is read for every incoming mail.

As some of my users would like to fill in their domain as mailserver ( I enforce TLS ), I'm wondering if it's possible to use a variable to point to their site certs.

so instead of ( in /etc/postfix/main.cf ) :
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key

something like :
smtpd_tls_cert_file = $maildomain.cert
smtpd_tls_key_file = $maildomain.key

same thing for courier imap ( imapd.pem ) / pop3 ( pop3d.pem )

Or am I missing something ?


Thanks
__________________
Windows, the only virus you pay for

Last edited by Djamu; 22nd January 2012 at 23:08.
Reply With Quote
Sponsored Links
  #2  
Old 23rd January 2012, 11:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

This is what I've found:

http://www.irbs.net/internet/postfix/0409/2077.html
http://groups.google.com/group/maili...dd66692e?pli=1

Another solution would be to get a multi-domain SSL cert, but you need to get a new one each time you want to include a new domain.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Djamu (23rd January 2012)
  #3  
Old 23rd January 2012, 17:15
Djamu Djamu is offline
Member
 
Join Date: Sep 2007
Posts: 51
Thanks: 2
Thanked 12 Times in 7 Posts
 
Default

Ok, thanks for the pointers.

"Another solution would be to get a multi-domain SSL cert, but you need to get a new one each time you want to include a new domain. "

that's what I thought too.

"Since the SMTP protocol does not tell the server what domain name the
client thinks it is connecting to, there is no way to do what you ask. "

Ok,

I'll test multiple instances setup > need to get a test rig running 1st, I'll let you know how that went ... > future inclusion in ISPconfig ? > every domain running it's own instance

Jan
__________________
Windows, the only virus you pay for
Reply With Quote
Reply

Bookmarks

Tags
vhost postfix courier tls

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
postfix problem jagsler Server Operation 41 7th July 2011 14:19
RoundCube Sends but will not receive. happz Installation/Configuration 33 17th April 2010 21:55
ftp authentication fails fooboo Installation/Configuration 34 26th March 2010 14:04
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56


All times are GMT +2. The time now is 23:01.


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