Re: Postfix quota integration

2007-06-11 Thread Benjamin Donnachie
://www.omniflux.com/devel/ # +# Edited by Benjamin Donnachie [EMAIL PROTECTED] to add +# initial support for aliases. +# # Policy Daemon code based on postfix-policyd-spf by Meng Weng Wong # available at http://www.openspf.org/ @@ -155,9 +158,11 @@ my $action = $default_response

Re: problem with virtualdomain

2007-06-05 Thread Benjamin Donnachie
JOYDEEP wrote: but the problem is it can't create the mail box automatically. I have providewd the cyrus admin calledcyrus and password to the email admin so that during creation of a new user it also creates an imap account for that user too. Does it work for virtdomains: userid ? What is

Re: howto auto create user mailbox ?

2007-06-05 Thread Benjamin Donnachie
JOYDEEP wrote: But I like such an arrangement where user mail box can be created automatically when user successfully log into cyrus. I think I answered that in my email timed 11:23 yesterday. Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Re: problem with virtualdomain

2007-06-04 Thread Benjamin Donnachie
JOYDEEP wrote: 1 now if I change virtdomains: userid to virtdomains: yes I can't create any mailbox with cm command. it reports permissions denied. I have flipped through the log but no log reports about this . Are you logged in as cyrus? What is the content of the file /etc/hosts? Ben

Re: problem with virtualdomain

2007-06-04 Thread Benjamin Donnachie
Benjamin Donnachie wrote: Are you logged in as cyrus? What is the content of the file /etc/hosts? ... and what command line are you using with cyradm? Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http

Re: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted

2007-06-04 Thread Benjamin Donnachie
JOYDEEP wrote: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted I seem to recall this either being covered in here before or in the docs. Basically, some operating systems let you set the file descriptor limit to -1, which means unlimited. Some don't and generate

Re: problem with virtualdomain

2007-06-04 Thread Benjamin Donnachie
JOYDEEP wrote: Thanks for your kind response. yes I am logged in as cyrus. here is /etc/hosts -- 127.0.0.1 opendingo.com 127.0.0.2 lvps87-230-8-228.dedicated.hosteurope.de lvps87-230-8-228 127.0.0.1 lvps87-230-8-228.opendingo.com 127.0.0.1

Re: problem with virtualdomain

2007-06-04 Thread Benjamin Donnachie
Michael Menge wrote: you have set unixhierarchysep: yes so you have to create the mailbox with cm user/[EMAIL PROTECTED] D'oh! Can't believe I missed that... :-/ Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info:

Re: unsuscribe

2007-05-30 Thread Benjamin Donnachie
[EMAIL PROTECTED] wrote: List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html To unsubscribe, to info-cyrus send email to [EMAIL PROTECTED] with a body of: unsubscribe info-cyrus Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Re: Connection throttling POP3.

2007-05-21 Thread Benjamin Donnachie
Andrew Morgan wrote: I believe there are also some solutions to monitor connections and automatically add IP addresses to the /etc/hosts.deny file, but I've never used them myself. Fail2ban will do this (and more) see http://fail2ban.sourceforge.net/ If your system uses PAM, it's also worth

Re: Catch All Account

2007-05-19 Thread Benjamin Donnachie
Jonathan Villa wrote: Any ideas? Looks like a postfix issue; try the postfix list - http://www.postfix.org/lists.html Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Postfix quota integration

2007-05-13 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I'll experiment with my postfix version of smmapd over the next few days and will let you know how it goes. I couldn't resist! Look ups of regular mailboxes appears to be working perfectly! :-) Using tcp_tables, postfix can only confirm whether a mailbox exists

Re: Postfix quota integration

2007-05-12 Thread Benjamin Donnachie
Omni Flux wrote: I was hoping the Postfix version of smmapd would replace this for me, but it looks like that won't be happening soon. After asking on the postfix list when we could expect support for tcp_tables I found this... http://archives.neohapsis.com/archives/postfix/2005-02/0415.html I

Re: Postfix quota integration

2007-05-12 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I guess that a postfix version of smmapd just isn't going to happen now. It turns out that the postfix v2.5 snapshot includes tcp_tables! :-) I'll experiment with my postfix version of smmapd over the next few days and will let you know how it goes. Take care, Ben

Re: Postfix quota integration

2007-05-12 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I'll experiment with my postfix version of smmapd over the next few days and will let you know how it goes. I couldn't resist! Look ups of regular mailboxes appears to be working perfectly! :-) I shall do some further testing later. Ben Cyrus Home Page: http

lmtpadinject - alpha version.

2007-05-11 Thread Benjamin Donnachie
I have just released an alpha version of lmtpadinject for testing - see http://www.py-soft.co.uk/~benjamin/download/lmtpadinject-0.02.c This program sits between your MTA and Cyrus and injects plain text adverts into the top of messages. By using an external program, these can be customised to

Re: lmtpadinject - alpha version.

2007-05-11 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I have just released an alpha version of lmtpadinject for testing - see http://www.py-soft.co.uk/~benjamin/download/lmtpadinject-0.02.c I've made some minor changes already to take into account real world messages and the version timed at 16:40 on 2007/05/11

Re: lmtpadinject - alpha version.

2007-05-11 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I've made some minor changes already to take into account real world messages and the version timed at 16:40 on 2007/05/11 is the latest copy. Sorry - I lied! Another very minor change so the 23:00hrs version of v0.02 is now the most up-to-date. Think I'll move

Re: is it possible to get multi-domain ?

2007-05-01 Thread Benjamin Donnachie
JOYDEEP wrote: Is it possible to have multi domain if I have multiple domain in ldap ? Try reading the documentation that came with cyrus. Try reading the cyrus wiki. Try using Google. If you still can't find the answer, then come back to us. Ben Cyrus Home Page:

Re: Postfix version of smmapd

2007-04-02 Thread Benjamin Donnachie
Simon Matter wrote: I'm still interested to integrate it into my rpms but only if the encoding issue has been solved. I'm sure people will start using it once it's in the package. Would appear that I've wasted my time - although the tcp_tables protocol is fully documented for postfix, if you

Patching advice?

2007-03-25 Thread Benjamin Donnachie
I've offered to help write a patch for cyrus so that it adds personalised adverts to the top of incoming emails. Before I continue, I should point out that the organisation concerned donates the money raised to a number of charities. I prefer the solution of patching cyrus, rather than

Re: Patching advice?

2007-03-25 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I prefer the solution of patching cyrus, rather than modifying the message before it is delivered, so that cyrus duplicate detection continues to work. Bron Gondwana has kindly advised me that Cyrus duplicate detection works on the Message-Id header, so it's back

Re: Postfix version of smmapd

2007-02-28 Thread Benjamin Donnachie
Benjamin Donnachie wrote: I couldn't find anything suitable through Google, so I modified smmapd to work with postfix. Anyone using this? If so, I'll hurry up and tidy it up. It not, it can carry on waiting a little bit longer. Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus

Re: Postfix version of smmapd

2007-01-15 Thread Benjamin Donnachie
Simon Matter wrote: You may want to have a look at the postfix code which includes functions for encoding/decoding in postfix/src/util/hex_quote.c Thanks for the tip! :-) I intend to add a short section of code to do any decoding and then lower case the command. (I'd also try to do it but

Re: Postfix version of smmapd

2007-01-15 Thread Benjamin Donnachie
Ken Murchison wrote: When the Postfix users out there feel that this code is stable, please attach it to a new bugzilla feature request. Will do! I hope to get it tested properly by the end of the week. Take care, Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ:

Re: Postfix version of smmapd

2007-01-15 Thread Benjamin Donnachie
Benjamin Donnachie wrote: However, tests over telnet were fine and this patch against cyrus-imapd v2.3.7 might be useful to someone... Ah, but it doesn't take care of this... Tested over telnet and seems fine. I will test it further with postfix soon and probably tidy the code. The mailbox

Re: Postfix version of smmapd

2007-01-14 Thread Benjamin Donnachie
Benjamin Donnachie wrote: However, tests over telnet were fine and this patch against cyrus-imapd v2.3.7 might be useful to someone... Ah, but it doesn't take care of this... ENCODING In request and reply parameters, the character %, each non-printing character, and each

Re: Quota warnings

2007-01-13 Thread Benjamin Donnachie
Sebastian Hagedorn wrote: You'll have to write this yourself. We have a Perl script for that. It does more than just notify users and is too specific to our setup to share. I use Mark Borrie's quotacheck.pl modified for my system. It should be on Google somewhere. Take care, Ben Cyrus

Postfix version of smmapd

2007-01-13 Thread Benjamin Donnachie
I couldn't find anything suitable through Google, so I modified smmapd to work with postfix. Unfortunately, I haven't been able to test it fully yet as the version of postfix with my distro doesn't support tcp look ups (And I'm too lazy to recompile at the moment!). However, tests over telnet

Re: Sieve - Reject - Backscatter worries

2007-01-08 Thread Benjamin Donnachie
John Thomas wrote: I am still curios if Postfix has accepted the message prior to or after the execution of the sieve script. On my system at least, the sieve scripts are executed once messages have been accepted by postfix and passed to cyrus for delivery. I need to look into it further, but

Re: Sieve - Reject - Backscatter worries

2007-01-06 Thread Benjamin Donnachie
John Thomas wrote: I would like (for convenience) to use Sieve to reject certain messages, but do not want to send backscatter. Use discard instead. Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info:

Re: Captive mailbox in Cyrus IMAP?

2006-11-29 Thread Benjamin Donnachie
Nik Conwell wrote: If anybody wants the patch (pretty small) I can send it somewhere appropriate. Please, I'd be interested! :) Ben Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info:

Re: Login attack on cyrus imap

2006-11-02 Thread Benjamin Donnachie
Jim John wrote: We would like to know if there is a way to prevent these types of attacks? Take a look at fail2ban [1] Ben [1] http://fail2ban.sourceforge.net/ Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info:

[Fwd: Re: [dspam-users] Modification to dspam source for lowercase username with plussed addressing....]

2006-04-08 Thread Benjamin Donnachie
My dspam patch below should be useful for sites running cyrus-imap with plussed addressing. Take care, Ben Original Message I think that should be PlussedUserLowercase, and it might be too specific to use plus as the detail separator (qmail uses - by default, but from

Re: Re[2]: cyrus-imapd + dspam

2006-02-02 Thread Benjamin Donnachie
maxxik [EMAIL PROTECTED] wrote: so .. what about sendmail+dspam+cyrus ? That's exactly that I use - when I'm back on site, I'll send you a copy of my config. -- Benjamin [EMAIL PROTECTED] Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu

Re: cyrus-imapd + dspam

2006-02-02 Thread Benjamin Donnachie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Donnachie wrote: so .. what about sendmail+dspam+cyrus ? That's exactly that I use - when I'm back on site, I'll send you a copy of my config. In sendmail.mc I have... FEATURE(`preserve_local_plus_detail')dnl define(`LUSER_RELAY

Re: cyrus-imapd + dspam

2006-01-31 Thread Benjamin Donnachie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott M. Likens wrote: Does anybody here use this sheaf ? ) yep, works fantastic. Same here! Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

Re: cyrus-imapd-2.2.12 with sendmail-8.12.11 integration niggle.

2006-01-21 Thread Benjamin Donnachie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrzej Adam Filip wrote: I personally prefer to reject spam *in smtp session*. I'm quite happy with dspam - it catches the majority of my spam and I haven't had any false positives since I reinstalled it a few months ago. (Touch wood). Any

Re: cyrus-imapd-2.2.12 with sendmail-8.12.11 integration niggle.

2006-01-20 Thread Benjamin Donnachie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrzej Adam Filip wrote: Post another confirmation for future readers after a few days of using it. I have seen a few ugly surprises created by aliases and rule set 5 interactions (low but non zero chance). Still works! :-) A little cheeky...

Re: cyrus-imapd-2.2.12 with sendmail-8.12.11 integration niggle.

2006-01-20 Thread Benjamin Donnachie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrzej Adam Filip wrote: You can use F=1 mailer flag to make sendmail *strip* (remove) null bytes from *headers* before relaying message to cyrus imap. Ah! The 1 flag isn't listed on the FAQ I was using as a reference! I think that rejecting

cyrus-imapd-2.2.12 with sendmail-8.12.11 integration niggle.

2006-01-17 Thread Benjamin Donnachie
At the moment, I use shadow passwords for cyrus-imapd authentication and I would like sendmail to reject any message for which the recipient does not have an account on the server. This is complicated because I use plussed addresses with cyrus-imapd; if I enable the w sendmail mailer

Re: cyrus-imapd-2.2.12 with sendmail-8.12.11 integration niggle.

2006-01-17 Thread Benjamin Donnachie
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrzej Adam Filip wrote: How it is supposed to work: * flag F=5 will turn on processing of rule set file * checks done by F=w flag will be done by error luser relay in rule set 5 * preserve_local_plus_detail will stop sendmail from stripping