Afficher un message
Vieux 14/03/2008, 21h13   #2
D. Stussy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: no proper SMTP error code

"RICCARDO" <castellani.riccardo@tiscali.it> wrote in message
news:6b4da103-d892-4df0-8be1-e546fa4e9612@i29g2000prf.googlegroups.com...
> I created customized rule to reject certain recipients which I hooked
> to SLocal_check_rcpt:
>
> R$={Lista}@mydomain.it $#error $@ 4.2.2 $: Mailbox full
>
> This rule works but I don't know because SMTP error code is dsn=5.3.0
> 553 while I specified 4.2.2
> You can see text message is ok: Mailbox full
>
> ERROR:
>
> ruleset=check_rcpt, arg1=<acini@mydomain.it>, relay=localhost
> [127.0.0.1] (may be forged), reject=553 5.3.0 <acini@mydomain.it>...
> Mailbox full


Your error statement is incorrectly specified. That's why sendmail is
changing it: "553" => [Permanent] Syntax error. "5.3.0" => Miscellaneous
configuration error.

Try this: $#error $@ 4.2.2 $: "450 Mailbox full"

Note the additions.


  Réponse avec citation
 
Page generated in 0,04526 seconds with 9 queries