Page 1 of 1

Scalix and procmail - FC4

Posted: Tue Aug 01, 2006 8:40 am
by trig
Hello,

I have currently setup the ARCHIVE-BCC function inside general.cfg to deliver mail to a local unix user for archive purposes. Based on this rule, I need to deny certain mail from certain people to not be archived, ie the spam mailbox etc..

In the past on postfix I used a .procmailrc file inside the local unix users home directory which contains a regex blocking mail from certain email addresses.. I've done the same thing with my Scalix installation but the mail is still entering the email box. I believe its because I haven't enabled the procmail flag inside the sendmail.cf file using sendmail.mc

My questions are these: Would enabling procmail inside sendmail cause any problems for Scalix?
My second being: What is the flag? I lost it :(

Thanks for your help

Posted: Thu Aug 03, 2006 6:55 am
by trig
*bump* cos i need help :oops:

Posted: Thu Aug 03, 2006 7:16 am
by ScalixSupport

Posted: Thu Aug 03, 2006 8:12 am
by trig
Hi Sacsha,

How did you know it was me?

Carl

Posted: Mon Aug 14, 2006 11:56 am
by trig
not working :(

i've added

FEATURE('local_procmail', '/path/to/procmail') in my sendmail.mc file and ran it into sendmail.cf using m4 sendmail.mc > sendmail.cf

then rebuilt scalix rules using omsendin and its not working..

im trying to deny mail to a user local box by using a local .procmailrc file which contains

# Prevents mail to and from into this mailbox
:0:
* ^ (from|to|cc):.*(mickey.mouse@domain.local)
/dev/null
~


Any ideas?

Posted: Mon Aug 14, 2006 12:07 pm
by florian
procmail doesn't work with Scalix as Scalix does not use the Mlocal or Mprocmail mailers of sendmail, instead sendmail hands over the messages to Scalix before these hit.

A better way to do this, I believe, would be to use Scalix Service Router Rules or Scalix Server based rules on the recipients mailbox.

Check the admin guide for the Router Rules subject.

Cheers,
Florian.

Posted: Mon Aug 14, 2006 12:18 pm
by trig
how would this work when I'm using the BCC function to deliver all messages to another mailbox, except from senders i specify

Posted: Mon Aug 14, 2006 12:20 pm
by trig
the whole idea is that all messages in and out of scalix are copied to another mailbox which is polled onto a machine so that the admins can see..

the idea is that the bosses (certain email addresses) emails are never copied.. so anything to them or from them will never be displayed in this mailbox

Posted: Mon Aug 14, 2006 12:21 pm
by florian
fetchmail supports BCC headers.

The recipient of a BCC copy will know that he is a recipient, the last MTA will add an apparently-to or similar header that fetchmail can work on. the exact naming of the header will depend on the MTA and delivery service.

please google for fetchmail and BCC for details.

Florian.

Posted: Mon Aug 14, 2006 12:24 pm
by trig
florian,

that doesn't help at all.. im more confused then i was when I started..

Carl

Posted: Mon Aug 14, 2006 12:27 pm
by florian
Hi Carl,

sorry - I should probably have read the whole thread so that I understand what you're trying to archieve - selective archiving this is.

Do you want to run your archive mailbox as a Scalix- or non-scalix mailbox?

Thx,
Florian.

Posted: Mon Aug 14, 2006 12:29 pm
by trig
florian wrote:Hi Carl,

sorry - I should probably have read the whole thread so that I understand what you're trying to archieve - selective archiving this is.

Do you want to run your archive mailbox as a Scalix- or non-scalix mailbox?

Thx,
Florian.


Either or really.. I would prefer it to be a scalix mailbox, so that I can connect outlook to it and allow it to be collected from a machine and viewed on this central screen. so the answer in escence is yes, a useable scalix mailbox..

Posted: Mon Aug 14, 2006 12:31 pm
by florian
Ok, so if it be a scalix mailbox, you really can't use procmail and fetchmail has nothing to do with it. :-)

I would actually setup server-based rules with the Scalix rules wizard to immediately delete the messages if they are sent to one of the bosses adresses. thnk that's easiest.

Cheers,
Florian.

Posted: Tue Aug 15, 2006 3:58 am
by trig
well initially i setup Dovecot on a different port and a local user so that I could use any client to collect the email..

I think the easiest way would be to use the server side rules wizard..