-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi Hill,
Am Mo den 13. Aug 2012 um 18:32 schrieb Hill Ruyter: > So my config says this when it comes to acl_smtp_rcpt ?? > > > # Defines the access control list that is run when an > # SMTP RCPT command is received. > # > .ifndef MAIN_ACL_CHECK_RCPT > MAIN_ACL_CHECK_RCPT = acl_check_rcpt > .endif > acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT > > > What I don't get is what is ifndef ? Does it mean if it is not defined > then define it ? Oh, that is trivial to answer. The debian config is done with many of that constructs. It allows you to overwrite the setting in, for example, main/000_local. The snippet set acl_smtp_rcpt to MAIN_ACL_CHECK_RCPT. But MAIN_ACL_CHECK_RCPT is only set to acl_check_rcpt if it is not set. So the result ist »acl_smtp_rcpt = acl_check_rcpt«. If you set MAIN_ACL_CHECK_RCPT to an other value then this value will be set for acl_smtp_rcpt. Speaking in technical terms, MAIN_ACL_CHECK_RCPT is a macro, .ifndef a preprocessor directive and acl_smtp_rcpt is a exim setting. acl_check_rcpt at least is the name of the ACL. [0][2] > Then a bit later says ?? should I place the filters I want in the > configuration below, if so does it matter where and can anyone give me an > example text to try ? > > > acl_check_rcpt: This is the definition of the acl. See the documentation[1] for that. The massive use of preprocessor directives makes the debian configuration more complex than needed. But it allows them to be flexible and working out of the box for the most common tasks. I have to point you also to the exim documentation[3]. It is very complete and written in good English. It is also understandable for foreign people (You seems to be from UK so this should be no problem). Take the time and dig through it. I did find it fun to read. And my native language is German. Regards Klaus [0] http://www.exim.org/exim-html-current/doc/html/spec_html/ch06.html#SECTmacrodefs [1] http://www.exim.org/exim-html-current/doc/html/spec_html/ch07.html#SECID54 [2] http://www.exim.org/exim-html-current/doc/html/spec_html/ch06.html#SECID46 [3] http://www.exim.org/exim-html-current/doc/html/spec_html/index.html - -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <[email protected]> Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQGcBAEBCgAGBQJQKfQxAAoJEKZ8CrGAGfasqw0L/28gnlKkKRnlhliaOEIKvntO MiDN3tQJaXnxEkLKSs0tXR2pGIFhdN/1LyMfr6SeJeJiKbA4kJ1n8O24MQlodUsL QrfrnCgP0hctYJabenVYDnmWYc5yt6IC0FjZOMxeL8nNXss9I8hKTNop8hdQsUpn TR5ekPEhxAtXjcjs73L0a4DWwbsyCCOMiMWkyF98p4F87+Bf8Gzoh0YZiUaoOKRY KI9mI4F30FLe75+3SShPvys4LkuufyOaovFX1jkelBGP9uzEnNOlw/LEhNJU8JTm c3dg779Wj4JwPam7n3b3xAk+FcEhtZ4Q6/2aWF/TuHX6yweoid42PsBrHDBB6R1F +WJViP+YafvjhVv9FglEwQjXBjMPocZa3l/Vx011Uz0heozZF2L0XJjlVjjiU1jG 7pF6CG+Ck4ydVvGTEXS03kLN8e1UUR2mgNSC148DSOmney76o4cAUWM92EIfe4rc BrwyGdj0RF9gHK+ejo6lIbYnVCCzQe2zVjlnzm29DQ== =+PXU -----END PGP SIGNATURE----- -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
