Matus UHLAR - fantomas writes:

Matus UHLAR - fantomas writes:
We are providing our users SMTP submission service at port 587 via
esmtpd-msa and on port 465 via esmtpd-ssl.

However, neither the esmtpd-ssl script, nor config file are configured to
provide this kind of service - the esmtpd-ssl script sources esmtpd and
esmtpd-ssl configs, but there's no option for BLACKLISTS and ACCESSFILE
that are e.g. redefined in esmtpd-msa config.

On 30.11.10 23:50, Sam Varshavchik wrote:
By definition, port 587, and port 465, is to be used for authenticated SMTP only. So only clients that succesfully authenticate, using standard authenticated SMTP, have any beeswax connecting to these ports.

As such, no action is necessary. Once they authenticate, they have relaying privileges, no ACCESSFILE is required for that.

That's it - I defined ACCESSFILE in esmtpd, since I use it for port 25
clients. I want to have it empty for esmtpd-msa, but the ACCESSFILE isn't
defined there, but it is in esmtpd-msa config.

The same applies for BLACKLISTS - I don't need blacklists for port 465 thus
I want to undefine them.

Of course I can just put ACCESSFILE="" and BLACKLISTS="" at the end of
esmtpd-msa config but I wonder if I could do it more universally.

I see that many of settings that are in esmtpd-msa can be used in esmtpd-ssl
thus I think sourcing esmtpd-msa config (in addition to esmtpd and
esmtpd-ssl) would make things easier.
Otherwise, the sections where these variables are defined should be put into
esmtpd-msa.dist file.

That's why the configuration files are, essentially, shell scripts. No one size fits all, everyone have their own requirements. Having them as shell scripts gives everyone the ability to do whatever they want.

And given how sysconftool gets used to update the configuration files, as long as the magical comments don't get clobbered, you have a high degree of assurance that custom logic won't get nuked when upgrading; in the worst case you'll be able to fish it out from a .bak file.


Attachment: pgprTmszJAAEc.pgp
Description: PGP signature

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to