Re: [exim] Custom router problem

Página Inicial
Delete this message
Reply to this message
Autor: Marco
Data:  
Para: exim-users
Assunto: Re: [exim] Custom router problem
Fred Viles ha scritto:

>OK, sorry, no_verify was *not* what you wanted. Second try:
>
>I think you need to add cannot_route_message and possibly no_more
>options to maildir_overquota. The writeup for cannot_route_message
>says it is only useful on the last router (which this isn't) or when
>no_more is in effect, but ISTM that a fail result should also
>qualify. Can't hurt to add no_more, though:
>
>maildir_overquota:
> driver = redirect
> domains = +local_domains
> condition = ${if eq {${readsocket{/var/run/exim_sockd.sock}{QUOTACHECK
>${lookup ldap {LDAP_Q_HOMEDIRECTORY} {$value} fail} ${lookup ldap
>{LDAP_Q_QUOTA} {$value} fail} $message_size}{3s}{\n}{0}}}{0}{0}{1}}
> allow_fail
> data = :fail:
> cannot_route_message = Mailbox quota exceeded
> no_more
>
>- Fred
>
>
>

Hi,
I have try with this settings and:
- Exim block an user overquota, but I have as SMTP respose User Unknown
and in rejectlog
I haven't the description:
ex.
2005-12-10 20:13:30 H=adsl-ull-1.1.1.1.it ([1.1.1.2) [1.1.1.1]
F=<marco@???> rejected R
CPT <user@???>:

This is the debug output:
calling maildir_overquota router
rda_interpret (string): :fail:
expanded: :fail:
file is not a filter file
parse_forward_list: :fail:
extract item: :fail:
maildir_overquota router forced address failure
----------- end verify ------------
accept: condition test failed
accept: endpass encountered - denying access
SMTP>> 550 unknown user

550 unknown user
LOG: MAIN REJECT
H=1.1.1.1 (pcname) [1.1.1.2] F=<marco@???> rejected RCPT
user@???:

I have try also with an ACL , but I'm not able :-)
I would block a user overquota at SMTP time, but first I must check that
the local_part exist.

Help :-(
Thanks
Marco