niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
expansion in master.cf
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
mvmvm
*nix forums beginner


Joined: 22 Mar 2008
Posts: 1

PostPosted: Sat Mar 22, 2008 12:46 pm    Post subject: ${recipient} expansion in master.cf Reply with quote

Hello,

Is anyone familiar with how ${recipient} gets expanded when passed in the postfix master.cf file to a external mail filter?

The man page for "pipe" says:
"A command-line argument that contains ${recipient} expands to as many command-line arguments as there are recipients.",

so I'd expect multiple recipients in the command line if there are multiple addresses in, say, the "To:" field.

Though I appear to actually get multiple invocations of the filter, with one recipient each time...any ideas on what the expected behavior is?

filter unix - n n - - pipe
flags=Rq user=filter argv=/usr/bin/procmail -Y -m /etc/procmail/mainfilter.rc ${sender} ${recipient}

Cheers
mvm
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 10:23 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts recipient address restriction 3dd13 Postfix 0 Wed Mar 26, 2008 1:46 pm
No new posts Multi master replication question Jeff MySQL 2 Tue Jul 18, 2006 2:22 pm
No new posts table replication, without master-slave setup Alexander Bluem PostgreSQL 2 Fri Jul 14, 2006 11:55 am
No new posts Macro expansion in armcc srinu.fsl@gmail.com C 2 Tue Jul 11, 2006 10:37 am
No new posts Want to restrict domain literals in recipient address Rolf E. Sonneveld Postfix 5 Thu Jul 06, 2006 10:11 am

Loans | Mortgage Calculator | Mortgage Calculator | Home Insurance | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2891s ][ Queries: 16 (0.2257s) ][ GZIP on - Debug on ]