View previous topic :: View next topic |
Author |
Message |
cornice n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/42588cbc3dd03ae162ba8.png)
Joined: 22 Oct 2002 Posts: 8 Location: Salt Lake City, UT
|
Posted: Mon Nov 11, 2002 11:32 pm Post subject: cyrus-imap-admin woes |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
All-StaR n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2002 Posts: 21 Location: North Carolina, USA
|
Posted: Tue Nov 12, 2002 12:30 am Post subject: |
|
|
the new way to unmask packages is to remove the "~" from the KEYWORDS section of the ebuild. So insted of:
It wood just be:
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 |
|
![](templates/gentoo/images/spacer.gif) |
mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Tue Nov 12, 2002 8:12 am Post subject: Re: cyrus-imap-admin woes |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cornice n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/42588cbc3dd03ae162ba8.png)
Joined: 22 Oct 2002 Posts: 8 Location: Salt Lake City, UT
|
Posted: Thu Nov 14, 2002 6:30 am Post subject: Many thanks and more questions. |
|
|
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?
Sory. I just wanted to try a couple emoticons... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Thu Nov 14, 2002 10:29 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cornice n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/42588cbc3dd03ae162ba8.png)
Joined: 22 Oct 2002 Posts: 8 Location: Salt Lake City, UT
|
Posted: Thu Nov 14, 2002 6:47 pm Post subject: |
|
|
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.
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Fri Nov 15, 2002 7:50 am Post subject: |
|
|
oooops .. i did mix it with samba-tng
its not the -ng version, but the "-new" version .. too many amavis forkes these days
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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|