Mark Constable writes:

On 04/02/13 02:24, Matus UHLAR - fantomas wrote:
>> I set up one small VPS as an alternate outgoing mail server for those
>> times when our main mailservers gets blacklisted
>
> What do you mean by "outgoing" mail?

Mail in to this server via ports 587/465 and out to the rest of the world.

> The allowed ports only depend on your clients' mail configuration, if they
> only send mail using 587/submission, you don't need other ports open.

I guesss what I don't understand is that this server will "send" mail to
other mailservers from it's port 25 (I presume) so it needs to be open. I
just don't want any offsite incoming mail (not from our clients) coming
back through this server, ie; not used as a 2nd MX.

Have this server listen only on its internal port that's reachable only via your VPN.

> However: you don't need to have extra server, you can change outgoing IP on
> your mailserver by specifying SOURCE_ADDRESS= in ${ETC}/courier, if you get
> into problems. This means nobody has to change configuration of its client.

<blink> Really! I was unaware of this setting so maybe my Debian stable
version 0.65.0 does not have this setting. My configs do not have it although
they are probably up to 5 years old now.

Would you or Sam mind confirming when SOURCE_ADDRESS became available?

The logs on that one go pretty far back. Looks like it predates the source being imported into its current subversion repository. In fact, it's so old, it's been superceded by other settings, as noted.

But, yes, if you can assign an additional IP address to your server, you can have all outgoing mail use it. In 0.68, SOURCE_ADDRESS has been superceded by the ipout configuration file, which is settable, and it takes effect without having to restart Courier. Changing SOURCE_ADDRESS in courierd requires a server restart, to take effect, so that's even better.


Attachment: pgpyJQyBvxV8S.pgp
Description: PGP signature

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to