Hi to all. I'm new in this mailing listing.
I'm using gps for more than one year and non problems !!!
Can Anyone help me to set a whitelist for this sender address:
network@etpXXXX.etp.eu.blackberry.net
where XXXX is variable.
My pattern table, look like:
.+^s=network@.*.blackberry.net.+$ | posta celere da blackberry.net
is it correct ????
Bye and Many Thanks
Re: whitelisting of domain blackberry.net
Works, for me, if I use this re:
^s=.+@.+\.blackberry\.net.+?$
mysql> insert into pattern values ("^s=.+@.+\\.blackberry\\.net.+?$","fast mail for blackberry");
when you use mysql You need to put two "\\" !!!
Thanks for the help.
Kind Regards.
Re: whitelisting of domain blackberry.net
It looks right to me. If you need a more specific rule maybe this also works:
.+^s=network@.+\.blackberry\.net.+$
You know you can test your patterns by putting what you want to test into one of the files in the test/ subfolder of the gps source and then run gps against it:
gps -v /etc/gps.conf < test/inputfile
Re: whitelisting of domain blackberry.net
Hi.
Seem's that doesn't work !
I have tried with an input file, but nothing to do !
I dont undestand ....
Re: whitelisting of domain blackberry.net
you should have a text file in this format:
request=smtpd_access_policy
protocol_state=RCPT
protocol_name=SMTP
client_address=192.94.73.1
client_name=SDF.LONESTAR.ORG
helo_name=sdf.lonestar.org
sender=network@etpXXXX.etp.eu.blackberry.net
recipient=jamie@silverdream.org
queue_id=
instance=beb.421545af.0
size=0
sasl_method=
sasl_username=
sasl_sender=
and then feed it into gps
gp /etc/gps.conf < name of your file
Then you should see wl_ entries in your mail log