Re: [Exim] filter out mails with empty from ? how?

Pàgina inicial
Delete this message
Reply to this message
Autor: Andreas Metzler
Data:  
A: Exim-Users (E-mail)
Assumpte: Re: [Exim] filter out mails with empty from ? how?
On 2004-07-17 Lars Schimmer <schimmer@???> wrote:
> I still have the problem with my acl.
> I use
> accept hosts = :


> And I think this even accept ALL bounces and all messages withj an
> empty from: field.

[...]

No, it won't. There is no relation between the hosts condition and the
return-path.

Quoting spec.txt:
|
|      accept  hosts = :

|
| This ACL statement accepts the recipient if the sending host matches
| the list. But what does that strange list mean? It doesn't actually
| contain any host names or IP addresses. The presence of the colon puts
| an empty item in the list; Exim matches this only if the incoming
| message didn't come from a remote host. The colon is important. Without
| it, the list itself is empty, and can never match anything.

           cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"