Re: [EXIM] Recipe requests...

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sherwood Botsford
CC: exim-users
Subject: Re: [EXIM] Recipe requests...
On Wed, 14 Jan 1998, Sherwood Botsford wrote:

> 1. If I have sender_host_reject = "partial2-lsearch;/share/etc/spamsites"
>
> then how do I allow mail to postmaster from these spamsites.
> Occasionally a site will be added when it has some legitimate traffic.
> I'd like a mechanism by which people who administer that site can
> contact me.


You can't. I take the point that this isn't well explained in section
40.2, and I'll improve it in the next edition. If you want to permit
mail to certain recipients as an exception, then you must use one of the
xxx_recipients options (e.g. sender_host_reject_recipients), so that
rejection happens at RCPT TO time, not when the host first connects.
Then you can use recipients_reject_except to permit mail to postmaster
to get through. I will also index "exceptions".

> 2. If I wanted to accept the mail that was apparently spam,
> and store it, rather than reject it out of hand, how would I do that?


Depends what you mean by "I" and "store". Is "I" as system
administrator, or as an ordinary user? Is "store" "keep on the Exim
spool" or "deliver to some particular mailbox"? Either a system or a
user filter are probably the answers to this.

> 3. Like 2, but as a trap for outsider relay mail.


That is probably not possible exactly as you state it. What do you want
done with a message that has two addresses, one being one of your local
users, one being an attempt at at relay? With the current relay checking
facilities, the relay address is rejected at RCPT TO time, while the
local address is accepted and the delivery to that address proceeds. I
have made a note to think about ways of trapping rather than rejecting.

> 4. Suppose I have a machine that in addtion to it's local duties
> acts as a mail storage area for any mail for a remote domain, which
> periodically would login and pick it up. E.g. I want
> relay.math.ualberta.ca to be a store & forward for anything addressed
> to school.ab.ca


Depends on what protocol it is going to use when it logs in. Is it going
to be SMTP, or something else like UUCP? If it's SMTP, you can treat it
like any other remote host. Mail will sit on the Exim queue. (For
efficiency, setting a large retry time is a good idea.) When the host
logs in, it can issue an ETRN command to get anything waiting for it
delivered. See chapter 38 - "Intermittently connected hosts". (Actually,
I've just about said it all in this paragraph.)

I have added all these questions to my "stuff-for-use-when-writing-an-FAQ-
if-nobody-else-has-done-it-before-I-get-time" file.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***