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 in

Re: relay_domain = * safe configuration?

2009-01-25 Thread James Robertson
On Sun, 25 Jan 2009 23:58:36 mouss wrote: > James Robertson a écrit : > > Hi, > > > > If I have: > > > > relay_recipient_maps = hash:/etc/postfix/recipients > > > > which is populated with addresses accepted for delivery on my server and &

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 emai

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:

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

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: 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?

Add Throttle to outbound email?

2008-09-04 Thread James Robertson
We have a client who has done a mailout which adds up to over 1GB in size. .. 1160910 Kbytes in 988 Requests .. Is there a way I can slow down or throttle the speed at which email is being sent from a specific email address once the mail is already active? It is affecting there ADSL c

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 whitelist

Spam from hotmail servers - how to kill?

2008-08-20 Thread James Robertson
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 from hotmail's servers a

Log Message Headers

2008-08-19 Thread James Robertson
Apologies if this has been asked before. I would like to log the message headers of email passing through postfix so I can review them. What is the recommended way to do this and will it have an effect on performance? our mail server does not process a very high volume of mail. Thanks. Ja