ma...@nucleus.it:
> The problem is that cyrus is not expecting user@domain1@domain2 like
> senders but investigating further i founded rfc 2822.
> 
> According to rfc2822 Appendix B:
>  Routes in addresses not allowed
>  Routes in return path not allowed
> 
> I searched in the mans and documentation but i didn't find a solution;
> is it possible to deny routed senders  like user@domain1@domain2?

/etc/postfix/main.cf:
    smtp_recipient_restrictions = pcre:/etc/postfix/route.pcre ...

/etc/postfix/route.pcre:
    /@.*@/ reject Routes in addresses not allowed

> Is it right that user@domain1@domain2 is not syntactically correct and
> the correct syntax is "@ONEdomain,@TWOdoamin:JOE@THREEdomain"  ?

Postfix automatically drops the "@ONEdomain,@TWOdoamin:" part.
That syntax was already deprecated before I started writing Postfix.

        Wietse

Reply via email to