At 11:46 +0100 12/6/02, Philip Hazel wrote:
> > If a non-sender posts to the list, I get the log message:
>>
>> 2002-06-12 16:07:39 H=localhost [127.0.0.1]
>> F=<someone@???> rejected RCPT <testlist@zany>: mail
>> testlist-request for permission to post to this mailing list
>>
>> But the SMTP server says:
>>
>> 550 unknown user
>>
> > Why doesn't the fail message make it through to the SMTP server?
>
>What is in your ACL?
Ahh.
That would be:
accept domains = +local_domains
endpass
message = unknown user
verify = recipient
I see, so the message there goes back through the SMTP server even
though the reason it failed was
> data = :fail: mail $local_part-request for permission to post to
> this mailing list
in the router.
So, I guess I would do something like making an ACLE to accept for
the mailing list and that could have the appropriate failure message.
Yep. I added this ACLE before my normal local_domains ACLE:
accept domains = +local_domains
condition = ${if exists
{/Users/exim/exim/lists/$local_part} \
{yes} \
{no} \
}
endpass
message = mail $local_part-request for permission to
post to this mailing list
verify = recipient
I tried using the require_files = /Users/exim/exim/lists/$local_part,
but that doesn't seem to be supported for ACLs, so I used the
condition instead.
Thanks,
Peter.
--
<
http://www.interarchy.com/> <
http://download.interarchy.com/>