procmail

.procmailrc:

#cannot forward an alias to an alias

:0 c
* ^(To:|Cc:|Bcc:|Resent-To:).*(webmaster@xxx\.org|dakrak@student)
! xxx@yyy.pl

* ^(To:|Cc:|Bcc:|Resent-To:).*(rajd|szef)@xxx\.org
! xxx1@yyy.pl
! xxx2@yyy.pl

#delete not matched
: 0
/dev/null

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s