Re: [AMaViS-user] Adding a header in amavisd

2009-05-14 Thread Grant Maxwell
Hi I had a look at using the ::Custom subroutine however as we are still stuck in an older version we don't have that routine at all. regards Grant On 15/05/2009, at 2:22 AM, Terry Carmen wrote: > >> >> >>> Hi >>> >>> We are using amavisd onto an sql database. Each message is given a >>>

Re: [AMaViS-user] Adding a header in amavisd

2009-05-14 Thread Terry Carmen
> > >> Hi >> >> We are using amavisd onto an sql database. Each message is given a unique > message id. We would like to add a header to every message with the message > id (md5 encrypted). >> Also, just a quick note. You might want to use the actual MessageID instead of the hash. MD5 has not be

[AMaViS-user] Confusion over bypass_banned rules

2009-05-14 Thread Peter Huetmannsberger
Hi, I thought I had this working in the past, however at this point it seems to be broken. I am using amavisd-new-2.6.3 with sendmail and pitr's milter. Backend is mysql. I have a policy set in mysql where bypass_banned_checks = 'Y'; however the logfile for this user states: May 14 15:32:13

Re: [AMaViS-user] Adding a header in amavisd

2009-05-14 Thread Eric W. Bates
Well, as a starting point, I would look at the Amavis::Custom package (in-line within the amavisd script itself) and write a routine to hook to mail_done(). Grant Maxwell wrote: > Hi > > We are using amavisd onto an sql database. Each message is given a > unique message id. We would like to a

Re: [AMaViS-user] Adding a header in amavisd

2009-05-14 Thread Terry Carmen
> Hi > > We are using amavisd onto an sql database. Each message is given a unique message id. We would like to add a header to every message with the message id (md5 encrypted). > > Could someone please point me in the right direction on how to achieve this ? > > we are using an older version of

Re: [AMaViS-user] exclude addresses from banned filenames

2009-05-14 Thread Guillaume Memore
For the coming from thing, it's easy and at the postfix level: create a file and write a line in it : em...@something.com FILTER smtp-amavis:[127.0.0.1]:10025 postmap the file, then edit main.cf and add : smtpd_sender_restrictions = hash:/etc/postfix/yourfile It'll bypass amavis, so banned

[AMaViS-user] Disable spam and virus scan for but internal-to-internal messages

2009-05-14 Thread Rocco Scappatura
Hello, I'm using Postfix+Amavisd-new+MySQL as my Mail Gateway platform. I would like to disable spam and virus scan for but internal-to-internal messages. At the moment, I have the following setup: $inet_socket_port = [10026]; $interface_policy{'10026'} = 'SENDERBYPASS'; $policy_bank{'SENDERB