Flags question in master.cf

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Flags question in master.cf

Fazzina, Angelo

Hi, i have this in my master file.

 

autoreply unix  -       n       n       -       -       pipe

        flags=DF        user=nobody

        argv=/usr/local/bin/angelo $sender $recipient $original_recipient $user $domain

 

 

everything is working as I want. Is there a flag or macro that can get me the localpart of the $original_recipient ?

 

so I want  “angelo” from [hidden email].

 

If not possible fine, just want to know. Been reading man page for “pipe”

 

Thanks.

 

 

 

 

 

-ANGELO FAZZINA

 

ITS Service Manager:

Spam and Virus Prevention

Mass Mailing

G Suite/Gmail

 

[hidden email]

University of Connecticut,  ITS, SSG, Server Systems

860-486-9075

 

Reply | Threaded
Open this post in threaded view
|

Re: Flags question in master.cf

Wietse Venema
Fazzina, Angelo:
> Hi, i have this in my master file.
>
> autoreply unix  -       n       n       -       -       pipe
>         flags=DF        user=nobody
>         argv=/usr/local/bin/angelo $sender $recipient $original_recipient $user $domain
>
>
> everything is working as I want. Is there a flag or macro that can get me the localpart of the $original_recipient ?

> so I want  "angelo" from [hidden email]<mailto:[hidden email]>.

Why not use ${mailbox} (the localpart of $recipient) or ${user}
(the username part of $recipient)?

The pipe manpage describes all the supported options - there are
no 'secret' options.

        Wietse