Other sections in this FAQ:

Policy controls

How do I block unwanted messages from outside my host?

I don't want to block spam entirely; how can I inspect each message before deciding whether or not to deliver it?

How can I test that my spam blocks are working?

How can I test that Exim is correctly configured to use a DNS black list such as the Realtime Blackhole List (RBL)?

How can I use tcpwrappers in conjunction with Exim?

How can I get POP-auth-before-relay (aka POP-before-SMTP) support in Exim?

I have one or two cases where my host correctly rejects messages, but the remote host is quite persistent, and keeps trying over and over.

How can I run customized verification checks on incoming addresses?

Does Exim apply RBL checks to error messages, those with an envelope sender of <> ?

I want to reject certain sender-recipient combinations, with a specific message for each such combination.

Will Exim allow me to create a file of regexs and match incoming external email to the list - and if a match is found file the offending message into a special location? Also is it possible to make Exim only filter parts of an incoming email - e.g. ignore large MIME attachments for example and only process text/plain?

I've hacked sendmail to make an ioctl call at the time of the SMTP RCPT command, to check if a user has exceeded their email quota. If they have I issue a temporary failure and a message - can I do this with Exim?

I'd like to pass all messages through a virus-scanning system before delivery. Can Exim do this?

Is there a way to configure Exim to reject mail to a certain local host?

How can I get Exim to remove attachments from messages?

How can I arrange for each user to have a file listing the only sender addresses from which she will accept mail? I want to do this so my family members don't get any spam (or other inappropriate mail).

When using Nessus on a system that runs Exim, a number of security issues are raised. Nessus complains that Exim answers to EXPN and/or VRFY; sometimes it even complains that Exim allows relaying.

Could anyone points me to right rules to prevent sending/receiving messages to/for domains which have one MX to localhost or only have address 127.0.0.1 ?

I would like to have a per-user limit for the maximum size of messages that can be sent.

I set accept hosts=192.168.122.96/32 in order to accept mail for relaying from my local LAN, but it doesn't work. What's wrong?

I have POP-before-SMTP set up on my Exim server, but some clients use Outlook Express, which sends queued messages before checking the mailbox, so it doesn't work.

I installed Amavis and it is working, but bounces are simply vanishing.

I can't get Pine to work with PLAIN authentication; Exim keeps responding "535 Incorrect authentication data".

I have used :fail: in some aliases; when one of these addresses is refused, I see the message on the log, but the response to the remote user is “unknown user” instead of the message from the alias file. How can I change this?

I've set up some specific rejection messages for certain recipients, but when I test them, the SMTP message is always 550 5.1.1 <user@mydomain.com>... User unknown.

My SMTP authentication can be bypassed by sending an unknown user name and an empty password. What is wrong with this condition in a PLAIN authenticator?

server_condition = ${if eq{$2} {${lookup mysql{SELECT password FROM \
  accounts WHERE username='${local_part:$1}'} } }{1}{0}}

When a message has many recipients, how can I stop SpamAssassin from being called for each of them? I'm running it from a pipe transport.

How do I use Exiscan, SA-Exim, SpamAssassin, Clam Antivirus, Sophos SAVI, or sophie with Exim?

How can I screen out addresses that are neither valid usernames or distribution lists on mail being forwarded to an internal Win2K server?

How can I use the same passwords for SMTP authentication as I use for Courier IMAP access to my server?

Is there any defence I can use against spam sent through an open proxy?

I would like to either warn or deny when a host uses an underscore in the EHLO command.

Is there any way to tell Exim not to lookup the IP address against any DNS black list if the connection is over IPv6?

How do MailScanner and Exiscan compare? What are the pros and cons?

How can I block non-FQDNs in HELO/EHLOs?

Is it possible to tell exim to drop the connection after a server attempts to send a message to a number of unknown users?

Is there some way to tell Exim not to consider 127.0.0.1 as a valid MX?

How can I configure Exim to delay the SMTP connection if more than 10 invalid recipients are received in one message?

Does Exim support SPF?

How can I change the MAIL FROM address that is used for callouts?

How can I get Outlook Express to use TLS when authenticating?

How do I stop Exim being an open relay?

What should I put in my acl_smtp_rcpt?

I've got a queue full of "bounce" messages. How do I get rid of them?


CategoryFrequentlyAskedQuestions

EximWiki: FAQ/Policy_controls (last edited 2008-10-24 19:58:39 by NigelMetheringham)