Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cyrus-imap-admin woes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cornice
n00b
n00b


Joined: 22 Oct 2002
Posts: 8
Location: Salt Lake City, UT

PostPosted: Mon Nov 11, 2002 11:32 pm    Post subject: cyrus-imap-admin woes Reply with quote

I am trying to install and configure the Cyrus IMAP server and I'm running into problems. I have cyrus-imapd 2.1.9-r1 installed but I can't seem to do anything with it since cyrus-imap-admin is listed as [masked]. The odd thing is that when I looked in /usr/portage/profiles/package.mask I couldn't find any reference to cyrus-imap-admin. If I'm understanding this correctly, there should be an entry in package.mask if emerge lists a package as masked. I did happen to find some cyrus-imap-admin bugs on bugs.gentoo.org but I still couldn't figure out how to unmask the package.

Anyway, I'm a bit desperate since my current mail server is running out of space and I would like to have this new one up and running ASAP. I suppose I could compile the server myself but I would rather not go outside the portage system if I can help it. I am interested in creating some ebuilds but I don't have the time right now to figure it out. I could use a different IMAP server but it seems that nothing touches CYRUS in terms of features and speed (despite the config headaches).

Any thoughts anyone?

Thanks.
Back to top
View user's profile Send private message
All-StaR
n00b
n00b


Joined: 26 Jun 2002
Posts: 21
Location: North Carolina, USA

PostPosted: Tue Nov 12, 2002 12:30 am    Post subject: Reply with quote

the new way to unmask packages is to remove the "~" from the KEYWORDS section of the ebuild. So insted of:
Code:
KEYWORDS=~x86

It wood just be:
Code:
KEYWORDS=x86


What it's actually doing is taking it out of the unstable branch (denoted by "~x86") and puts it in the stable branch of portage (the "x86"). Anyway that should be what you want. Enjoy.

-Tom
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Tue Nov 12, 2002 8:12 am    Post subject: Re: cyrus-imap-admin woes Reply with quote

cornice wrote:
I could use a different IMAP server but it seems that nothing touches CYRUS in terms of features and speed (despite the config headaches).


There are some web based admin programs for cyrus out there, they'll make your life a lot easier ..

(the only hard step left is SASL, and perhaps LMTP, but both are very good things to have )
Back to top
View user's profile Send private message
cornice
n00b
n00b


Joined: 22 Oct 2002
Posts: 8
Location: Salt Lake City, UT

PostPosted: Thu Nov 14, 2002 6:30 am    Post subject: Many thanks and more questions. Reply with quote

Thanks for the advice. The ~ trick worked just fine. Thanks. I'll check out the web based tools as well.

I am wondering about LMTP. I'm using Anomy mail sanitizer and Smamassassin so I have procmail glueing it all together. I'm using deliver but I wonder if I should be using LMTP. I'm not finding much documentation on this. Does anyone have an "ideal" configuration using postfix + cyrus with spam filtering and virus scanning in between?

8O :evil: :twisted: :D

Sory. I just wanted to try a couple emoticons...
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Thu Nov 14, 2002 10:29 am    Post subject: Reply with quote

yes, of course :)

I'm running amavisd-tng (a very up to date version of amavis with build in spam checker ... VERY fast), which can run as a SMTP daemon. it usually listens to port 10024, and sends out mail on localhost 10025, which is the postfix filtering input ... :)

in the main.cf:
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
content_filter = smtp-amavis:[127.0.0.1]:10024

in the master.cf:
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8

I did try this setup with the mail generation tools from postfix, sending thousands of mails, without any hickups.

just be sure to use a fast virusscanner, mabye one that runs as daemon, too ...
Back to top
View user's profile Send private message
cornice
n00b
n00b


Joined: 22 Oct 2002
Posts: 8
Location: Salt Lake City, UT

PostPosted: Thu Nov 14, 2002 6:47 pm    Post subject: Reply with quote

Thanks once again.

Amavisd-tng

Are you a Trek fan? :)

I like this scenario. I downloaded amavis-ng package which has some nice install docs but very little on basic function and configureation. I tried to check the website but it seems that all of SourceForge home pages are down. Since I'm using Anomy and Spamassassin I'm used to being able to tweak things a bit. For example Anomy acts on attachment extension. I can allow all attachments except for executables. I quarantine all executable files, scan files that are data but can contain macros (xls, doc, etc) and I allow everything that I know is pure data (gif, jpg, etc). This means that I have to scan for viruses on only a small percentage of the mail that passes through the server. Do you know if Amavis works like this? Do they have any information available on their spam scanning abilities? Do you know if it's possible to "stack" daemons so that postfix uses amavis and the spamassassin's spamd?

Sorry to bug you with this. If you don't have time or don't know then don't worry about it. You just seem to have experience with exactly what I'm working on. :D

Thanks
Back to top
View user's profile Send private message
mglauche
Retired Dev
Retired Dev


Joined: 25 Apr 2002
Posts: 564
Location: Germany

PostPosted: Fri Nov 15, 2002 7:50 am    Post subject: Reply with quote

oooops .. i did mix it with samba-tng :oops:

its not the -ng version, but the "-new" version .. too many amavis forkes these days :P

http://www.ijs.si/software/amavisd/ have a look at this url, amavisd-new uses spamassassin and razor build in, its quite easy to configure and extend if you know a little perl :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum