Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We are currently running a root server with Debian 6 and Plesk 10.4.4. We have some virtual hosts using one IP adress (shared) - e.g. example1.com - and another virtual host using a dedicated IP address (example2.com).

Is there a way to configure postfix to do the following

  1. Always use the IP address of the virtual host to which the e-mail account belongs (so that an e-mail from example@example1.com will originate from the shared IP-Address and an e-mail from example@example2.com will originate from the dedicated IP?
  2. Use different certificates for TLS for example1.com and example2.com?

If the latter is not possible: Could any problems arrive when using example1.com as certificate for example2.com users? Of course, example2.com users would have to configure their clients to use example1.com as the SMTP server name to avoid annoying security warnings. But if we still would be able to get the effect of the first point that would still be acceptable.

share|improve this question
1  
No, you are not running "root server". Well, I hope so. bit.ly/HIi5ph (lmgtfy, see first result) –  coincoin Oct 1 '12 at 8:32

1 Answer 1

As of #1 - this should be default behavior of Plesk if you are on Postfix mail server:

[+] (Only for Linux) Outgoing e-mails from a customer's exclusive IP. Outgoing e-mails are sent from a dedicated IP address owned by a customer, thus reducing the risk of blacklisting the whole server for spam. Subscriptions hosted on a single shared IP address will use this shared address for outgoing e-mail (instead of using the IP address occupied by Panel). The feature requires Postfix 2.7+ and is supported on the following operating systems:...

see more here

share|improve this answer
    
Thank you. I've noticed that, too. –  JulianB Oct 18 '12 at 16:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.