[Pkg-exim4-users] local macros
Andrew
a_critchlow at hotmail.com
Fri Feb 2 00:24:55 CET 2007
Hi All,
I have a big problem with exim4 on debian. I have a basic installation
(Comes pre-installed on Debian). I am using the single file config.
Problem is I don't know how to 'define' a macro?
In exim4.conf.template I have:
ifndef CHECK_RCPT_LOCAL_LOCALPARTS
CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|\''`#&?]
endif
I want it so that when my local users send an email to someone else in the
local domain, if their local part name matches 'CHECK_RCPT_LOCAL_LOCALPARTS'
they should be denied.
So I tried this:
ifndef CHECK_RCPT_LOCAL_LOCALPARTS
CHECK_RCPT_LOCAL_LOCALPARTS = a^[.] : ^.*[@%!/|\''`#&?]
endif
So because 'a' was specified, any mail send to say admin at whatever.com would
be denied. I still believe I need to define the macro so that this acl will
work. Because I don't know the correct format of exim4.conf.localmacros I
did this:
#.ifndef CHECK_RCPT_LOCAL_LOCALPARTS
CHECK_RCPT_LOCAL_LOCALPARTS = a^[.] : ^.*[@%!/|\''`#&?]
#.endif
But again still no luck. When I said an email to admin at whatever.com it goes
through quite happily.
I hope someone can help me with this as I am completely stuck what to do!
Many thanks to anyone who can help
Andrew.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 30/01/2007
23:30
More information about the Pkg-exim4-users
mailing list