Re: [Exim] putting it all together (exim / dovecot / pgsql /…

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
CC: lists-vexim
Subject: Re: [Exim] putting it all together (exim / dovecot / pgsql / apache)
--
* Moritz Möller <mm@???> [20040112 18:19]: wrote:
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Hi List,
>
> I'm trying to build some kind of Mail-Server-Package, consisting of:
> - exim with spamassassin + clamav
> - dovecot (a quite cool IMAP server) - using Maildir storage
> - postgres (for user/domain tables etc.)
> - apache/php for admin web + webmail



Sounds like a duplication of vexim - http://silverwraith.com/vexim/ ;)

>
> However, I ran into some small Problems:
>
> - I want to use exim filter files for processing e-mail rules
> (sorting into mailboxes etc.), which works pretty fine.



Yayi! Users can "manage" their own rules? That is cool. Avleen, do we
have s'thing like it?


> But I sometimes want to "refilter" a mailbox, for example if I added
> a rule affecting several mails that are already in a mailbox. If i
> move all files from the Maildir to the exim queue, exim does a lot
> of work and the headers are modified, and i think that's not that
> good. It would be nicer to have exim only check what the filter would
> do with the current email and return a list of actions (like: store in
> mailbox a, store in mailbox b, forward to c). Is that possible or
> would it be better to do the local delivery manually by using a pipe
> transport to a script which uses some other format of filter file?


I think the 2nd option would do. The first option would mean just what
you have realized - redeliver mail via Exim, thereby doing filtering
twice.


> - Two days ago i got a strange error message from ClamAV (or to be more
> specific, the ClamD part of SA-Exim) telling me that the buffer space
> is big not enough. Anybody seen this before? Now it works again, and i
> dont remember having changed anything...


Clamd has no relation with sa-exim though ;)
Well, did you ask this question on the clamav list? Tomasz would love to
get the logs/debug output.



> - Generally, ClamAV does not seem to filter very good, many email
> worms come through (a trojan is on your computer! etc.), Is there
> any other tool blocking such malicios mails without completely
> blocking .exe attachments?


Commericial AVs would do, I think, but I am not sure since I haven't
used any.



> - Is there a standard way of identifying message delivery reports and
> auto replies? As far as i found out both are send with a null
> envelope-from, but personally i'd like to drop message delivery errors
> silently without dropping auto replies...


if error_message and $rheader_from: contains "Mailer-Daemon@"
then
# looks like a real error message - just ignore it
finish
endif


Have you looked at the Exim filter spec document? There are ways ....

>
> - Lastly, (sorry, have not rtfm) does exim support mailbox quotas?



Yes.

> And how performant is this?


Very good so far, but I know othere have misgivings because they want
"this and that feature" that is supported by "this and that other MTA",

> Maybe it is possible to track the used Mailbox size in the database
> (dovecot had to coop here)?



Just like you ;-)))


>
> Thanks for reading :)



That was looooong ...


        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post
--
[ Content of type application/x-pkcs7-signature deleted ]
--