LDAP Email Recipients Query Script - Feedback Appreciated

2009-06-14 Thread James Robertson
:James Robertson ## Date:14.06.2009 ## Depends:hostname, echo, ldap-utils, grep, awk, mailx, tac, date, postmap ## ## Details:The script uses ldapsearch to perform an ldap query against a Windows ##Domain Controller to extract email recipient addresses for use

relay_domain = * safe configuration?

2009-01-25 Thread James Robertson
Hi, If I have: relay_recipient_maps = hash:/etc/postfix/recipients which is populated with addresses accepted for delivery on my server and have: smtpd_recipient_restrictions = reject_unlisted_recipient, Can I safely set: relay_domains = * ??? Thanks, James

Postfix Log Analysis options

2008-09-23 Thread James Robertson
We use postfix as a relay and Antispam filter in front of an Exchange Server. Management want to log the sender and recipient of emails both inbound and outbound and the totals for a given period e.g. 24 hours and have it easily viewable in a web browser etc. They don't require what the

Re: Proposing postfix to mgmt as an Exchange replacement

2008-09-10 Thread James Robertson
On Wed, 2008-09-10 at 13:50 +1000, MacShane, Tracy wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Tauno Williams Sent: Wednesday, 10 September 2008 12:13 PM To: postfix-users@postfix.org Subject: Re: Proposing postfix to

Re: Spam from hotmail servers - how to kill?

2008-09-08 Thread James Robertson
James Robertson wrote: Recently we noticed an increase in junk and discovered that it's coming from Hotmail (and to a lesser extent Yahoo). The problem is that these spammers are smarter that the average spammer. The don't spam flatout all the time (not to us anyway) and since the mail comes

Re: Add Throttle to outbound email?

2008-09-04 Thread James Robertson
You could put all those messages on hold and release them after hours. man postsuper; man cron I think i'll go with this. This might be a dumb question but I have about 600 messages that all have different ID's. man postsuper doesn't highlight how to hold messages from a sender address?

Re: Add Throttle to outbound email?

2008-09-04 Thread James Robertson
see the example under the -d delete option (be sure to use postsuper -h instead of postsuper -d). Something like this (untested): # hold all mail from [EMAIL PROTECTED] mailq | tail +2 | grep -v '^ *(' | awk 'BEGIN { RS = } { if ($7 == [EMAIL PROTECTED] ) print $1 } ' | tr -d '*!'

Re: Spam from hotmail servers - how to kill?

2008-08-21 Thread James Robertson
hotmail use spf, let recipient benefit from this, whitelist sender from address book with spf in mta level, no need to be smart :) I'm not sure I understand what you mean by this could you elaborate? The email is coming from Hotmails server and therefore SPF is valid. shourt: dont