Envelope rewriting

View: New views
3 Messages — Rating Filter:   Alert me  

Envelope rewriting

by Романовский Дмитрий Вадимович :: Rate this Message:

| View Threaded | Show Only this Message

Hello!

  Is it possible to implement envelope rewriting for "MAIL FROM"?
  Or may be it's planned for next release?
  Or may be it's already done in beta version?

  We need it badly :)

Thanks.



_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis

Re: Envelope rewriting

by Sergey Poznyakoff-3 :: Rate this Message:

| View Threaded | Show Only this Message

ÀÞÜÐÝÞÒáÚØÙ ´ÜØâàØÙ ²ÐÔØÜÞÒØç ha escrit:

>   Is it possible to implement envelope rewriting for "MAIL FROM"?

It should be possible to implement in auth-mode.  However, no
provisions for this are made so far.  I'll think about it, anyway.

>   Or may be it's planned for next release?

Quite probably so.

Regards,
Sergey


_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis

Re: Envelope rewriting

by Sergey Poznyakoff-3 :: Rate this Message:

| View Threaded | Show Only this Message

Sergey Poznyakoff <gray@...> ha escrit:

> >   Or may be it's planned for next release?
>
> Quite probably so.

In the meantime, you may try this snapshot:

  ftp://download.gnu.org.ua/pub/alpha/anubis/anubis-4.1.90.tar.bz2
 
To modify "MAIL FROM", add the following section to your /etc/anubisrc:

BEGIN SMTP
regex :extended
if command ["MAIL FROM:"] "<(.*)>(.*)"
  modify command ["MAIL FROM:"] "<new.address@...>\2"
fi
END

Of course, don't take it verbatim, but tailor it to your liking.

See the included documentation, section 5.6.6 "Modifying SMTP Commands"
for a discussion and more examples.

Regards,
Sergey


_______________________________________________
Bug-anubis mailing list
Bug-anubis@...
http://lists.gnu.org/mailman/listinfo/bug-anubis