> > > >While it seems feasible to do this in postfix, I wanted to explore doing > it with minimal fuss in SAm or if a FILTER or MILTER might be required. > > > >So far I've only found "Basic Message Tagging Options". > > this is not a job for SpamAssassin. > > Perhaps a milter application could do that - there are milter interfaces > for > per, python, so you can make one. >
Indeed, only one line in mailfromd (once you have mailfromd you will start using it for a lot more ;)) header_add ("X-XXXXXXXXXXXXXXX", "whitelisted $client_addr in whitelist.xxxxxx.xxx.x" )