adding addresses already there
i have a script that runs when a email is sent to a address on my postfix server
it takes the headers out and puts just the email addresses i am sending it into a file that another script then picks up and makes into the file that i need
this is the first script
#!/bin/sh
#egrep -vi ":" | egrep -i "\@" |\
egrep -vi ":" | grep -v "(Postfix) with ESMTP" > /var/tmp/whitelist.imp
exit 0
is there a way that i can edit this script to look at the origanal file and take the email addresses that are already there and add the new ones to it
|