Scalix and procmail - FC4

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Scalix and procmail - FC4

Postby trig » Tue Aug 01, 2006 8:40 am

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

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Thu Aug 03, 2006 6:55 am

*bump* cos i need help :oops:

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Aug 03, 2006 7:16 am


trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Thu Aug 03, 2006 8:12 am

Hi Sacsha,

How did you know it was me?

Carl

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Mon Aug 14, 2006 11:56 am

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?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 14, 2006 12:07 pm

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.
Florian von Kurnatowski, Die Harder!

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Mon Aug 14, 2006 12:18 pm

how would this work when I'm using the BCC function to deliver all messages to another mailbox, except from senders i specify

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Mon Aug 14, 2006 12:20 pm

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

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 14, 2006 12:21 pm

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.
Florian von Kurnatowski, Die Harder!

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Mon Aug 14, 2006 12:24 pm

florian,

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

Carl

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 14, 2006 12:27 pm

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.
Florian von Kurnatowski, Die Harder!

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Mon Aug 14, 2006 12:29 pm

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..

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 14, 2006 12:31 pm

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.
Florian von Kurnatowski, Die Harder!

trig
Posts: 66
Joined: Mon Dec 20, 2004 12:43 pm
Location: Here, there and sometimes everywhere

Postby trig » Tue Aug 15, 2006 3:58 am

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..


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 7 guests

cron