CentOS 5 Server :: Courier IMAP Won't Compile To RPM
Dec 19, 2009
how to install Courier IMAP server and they all say the same thing, but they keep giving me problems.URL... is a link to the page I'm working on.I created the user, edited sudoers manually since I can't effectivly use visudo in the terminal since I don't know how to save. I also made sure that I restarted after I edited it in order to make sure it took effect. I used su compileuser and just logging in as compileuser and opening a terminal. After I made the user and edited that file, I created the directory mentioned and ran the command to create .rpmmacros. After that I got to work on wgetting the files and installing them and what not. The first one compiled and installed and so did the last one. The command "rpmbuild -ta courier-imap4.6.0.tar bz2" would not go though properly. This one I need to run as a non-root user and I've tried using every way possible to be as distant from root as possible, but it still gives me this at the end.
View 3 Replies
ADVERTISEMENT
Jun 4, 2011
I am administrating a server with CentOS installed. It came with qmail and courier-imap preinstalled, and Plesk.I need to manually add email accounts outside of Plesk, because my 1-domain Plesk license only allows the creation of one email address (yes, it sucks).
When I say add email account I mean creating a new email address, have email for that address be stored in its maildir, and have a corresponding imap (and hipefully also pop3) account that will be able to read that mail. All this with virtual domains.I've already found out how to create the new email addresses for qmail, so that email for the new email address is being delivered correctly. Now I need to create the imap/pop3 accounts for courier.
For the qmail part, I create a folder in in /var/qmail/mailnames/virtualdomain.org/username and a maildir called Maildir inside it. This is how the first mail address was created by Plesk and i'd like to maintain the same structure. As I've said, the qmail part is already working, I need to get the courier-imap part to work. Ideally, it should accept login with both short (i.e. myuser) and long (i.e. myuser@virtualdomain.org) user names.
Currently the only authentication module that is enabled in courier-imap is authpsa, which is Plesk's authentication module.in order to add more authentication modules, do I just need to add them to the authentication module list in /etc/courierimap/imapd, or do I need to reinstall courier-imap with support for such authentication modules? I thought I would only need to add them to the list, but I've noticed that the /usr/lib/courier-imap/authlib/ folder only contains a binary called "authpsa". Does that mean that other authentication modules are not even installed? If so, can I install them without reinstalling courier?
The second question is, what would be the most recommended authentication module that would make it easiest to create new email addresses/accounts from the command line? I need to be able to write a shell scripts capable of creating a new email address with all that is needed, and I'd like to keep this script as simple as possible, so for example I'd avoid mysql-based authentication as it sounds rather complicated. And the last question is, if I do need to reinstall courier-imap, how can I install a package without recompiling it? Will my one existing mailbox keep working?
View 1 Replies
View Related
Mar 18, 2011
Does anyone know if there are only personal preferences between the two IMAP servers or does one of a slight advantage over the other? I've used Dovecot only in the past but my package manager loads tons of MySQL libraries with Dovecot which is a problem since that's not authorized on my server right now. I can either install it from source or try another application like Courier.
View 4 Replies
View Related
Apr 23, 2010
I've been running Courier IMAP for many years now, but when I added gmail's IMAP to my Outlook I noticed something interesting: when you delete a message, it gets thrown into the trash instantly.
With Courier IMAP (or any other IMAP server, for that matter), when you delete, it first marks it for deletion. Then after you Purge Deleted Messages it either gets rid of them or moves them to trash.
Is there a way to implement this in Courier IMAP?
View 1 Replies
View Related
Jul 28, 2010
Using the following software:
Ubuntu Server 8.04
SquirrelMail 1.4.13
Postfix 2.5.1
Courier 0.59.0 (Courier-IMAP 4.3.1)
Apache2 2.2.8
I've installed a mail server per the instructions at [url].
Neither POP nor IMAP test successfully with the user that I just added after following the setup instructions.
This doesn't make any sense. I added the user to the mysql database:
Code:
And after I did that, I ran the postfix reload command. If I try to log in as firstuser@mydomain.com, which is the user I created during the setup and configuration process, it works fine.
I checked the virtual mail account's home folder, and under the mydomain.com folder, I only see a folder for firstuser. I'd create one for testuser manually, but I don't know if that'll work since it seems to contain a particular folder structure of its own.
Is there some other command that I have to run? I don't recall having to do anything additional when setting up firstuser.
View 5 Replies
View Related
Aug 25, 2010
I setup a qmail on a Debian 5 Lenny server with courier-imap server. I can send mails but cannot receive mails. I altered /etc/init.d/qmail as follows.
Code:
View 3 Replies
View Related
Feb 23, 2010
Setup my postfix mail server and courier-imap/pop. My postfix server now is working with tls and saslauthd, I can send/receive email inside my domain as well as outside. However, I need two separate smtp and imap/pop3 server, I mean two machine - one with smtp function and one with imap/pop3 function working together.
View 4 Replies
View Related
May 10, 2010
I have installed qmail on my 10.04 server (Because I prefer qmail and dont want to use postfix) and I would like to just install courier IMAP/POP server without the Postfix (Or other mail servers).
Is there an apt-get install switch that will install just what I want to install without deps; or at least a way to block unwanted deps from being installed.
View 3 Replies
View Related
Jul 22, 2010
I'm following the "The Perfect Server - Fedora12 x86_64 [ISPConfig 3]" instructions and I am encountering an error when trying to build the rpm for courier-imap (from page 4 of the HOWTO).
The command I run is:
Code:
rpmbuild -ta courier-imap-4.6.0.tar.bz2
The error is below:
Code:
INFO: LOGIN, user=confmdtest, ip=[127.0.0.1], port=[0], protocol=SMAP1
INFO: LOGOUT, user=confmdtest, ip=[127.0.0.1], headers=0, body=0, rcvd=26, sent=610, time=0
sort: fflush failed: standard output: Broken pipe
[code]....
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.85697 (%build)
View 3 Replies
View Related
Feb 2, 2010
In the last week email delivery had slowed down to taking approximately 24 hours and investigation has revealed that there were 45000 emails in the mailqueue. I flushed the mailqueue yesterday but mail delivery is slowing down again because emails are again being queued by the thousand.
The mails are mainly spam sent to ficticious users at a genuine domain hosted on the server.
My setup is running Courier IMAP with Postfix, Spassassin is installed along with Amavisd-new but I just don't understand why this has suddenly become a problem based on my setup not having changed for the last 6 months.
Should these spam emails be being discarded by spamassassin before reaching the mail queue? Are my discard score settings too high (6.9)?
View 3 Replies
View Related
Apr 13, 2010
Recently i configured Postfix with Cyrus-Imap and it all worked fine unless i wanted to allow also AD users to use Squirrelmail.Currently AD users are able to logon to ssh server without any problems.
- wbinfo -u & -g is fine
- testsaslauth - passed
- telnet to localhost 143 + a LOGIN user password - passed
- cyradm shows active mailbox for particular user
imap i pam.d:
#%PAM-1.0
auth include system-auth
account include system-auth
View 1 Replies
View Related
Nov 5, 2009
I want to add the imap module into my php
View 1 Replies
View Related
May 7, 2011
Whenever I try to login via SquirrelMail into my account I get this error message:
ERROR: Connection dropped by IMAP server.
View 1 Replies
View Related
Dec 26, 2010
I am trying to set up a Mail Server -- Virtual Users with Postfix, PostfixAdmin, Courier, Mailscanner, ClamAV On CentOS 5.5 using this guide. These are the version and softwares I have used till now:-
[Code]....
View 4 Replies
View Related
Jun 9, 2009
I'm new to CentOS, having always used Slackware in the past. I'm trying to get Cyrus 2.3.7 IMAP working with Procmail 3.22, and having a slight issue. My current setup in sendmail.mc is as follows:
[code]...
View 1 Replies
View Related
May 21, 2010
CentOS 5.4
/etc/init.d/dovecot start
Starting Dovecot Imap: Fatal: Protocol pop3 given more than once
View 1 Replies
View Related
Oct 2, 2010
Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only. I had follow this how-to [URL] and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works. I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, I install VM player on it and run CentOS inside the VM Player.
I want to do testing on Windows 7 side by installing Thunderbird email client program, I want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How? Do I have to do any other configuration on CentOS? Any DNS? Port number for IMAP, POP3 or SMTP?
View 1 Replies
View Related
Jun 28, 2009
Sometimes during bootup I get the following error:Starting Dovecot Imap: Fatal: listen(995) failed: Address already in useI tried to figure out what I could with the command lsof -i :995 and this was my output:COMMAND PID USER FD TYPE DEVICE SIZE NODE NAMErpc.mount 2936 root 7u IPv4 9201 TCP *:pop3s (LISTEN)When the system boots without the dovecot error the output of losof -i :995 is as follows:
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
dovecot 3079 root 8u IPv6 9419 TCP *:pop3s (LISTEN)
pop3-logi 3157 dovecot 1u IPv6 9419 TCP *:pop3s (LISTEN)
[code]....
View 2 Replies
View Related
Apr 7, 2010
I have CentOS-5.4 box with all updates.I want to use samba as PDC with ldapbackend. All works fine, except winbind daemon. My samba version is 3.4.5.
# winbindd -D -d 3
# wbinfo -i test
test:*:50001:513:test:/home/W3/test:/bin/false
View 4 Replies
View Related
Dec 31, 2010
I have installed bind with yum install bind bind-chroot.I am having query timeouts due to no ipv6 connectivity.Is there a way to re-compile and not loose the chroot structure?Or is there another way to disable ipv6 lookups?Example of issue resulting in ipv4 query timeout:
30-Dec-2010 17:52:03.226 client x.x.x.x#53593: view internal: query: paypal.com.cms.local IN A +
30-Dec-2010 17:52:03.227 client x.x.x.x#53594: view internal: query: paypal.com.cms.local IN AAAA +
30-Dec-2010 17:52:03.228 client x.x.x.x#53595: view internal: query: paypal.com IN A +
[code]....
View 13 Replies
View Related
Feb 2, 2011
I am having weird issues with courier IMAPD, the load goes like crazy at times and users mail client just hangs! The server is having 4 GB RAM Dual Core and around 700 users connected to 143 (via netstat) and I see around same amount of imapd's in process list. Mailbox stays in SAN (fiber).
load is high: 105.52, 173.12, 113.05
iostat.txt
Linux 2.6.9-34.ELsmp 02/02/2011
avg-cpu: %user %nice %sys %iowait %idle
8.93 0.02 1.58 8.06 81.40
[Code]....
View 1 Replies
View Related
Apr 7, 2011
I'm trying to get my server back up to snuff. I'm using Debian Squeeze right now and I'm up and atom with apache, mysql, php, pureftpd, ssh, and I have squirrelmail installed.
My dilemma comes with the mail part of the whole ordeal, Postfix and Courier are installed, have their keys made, and for what I assume, are configured correctly. HOW do I make new virtual users? My domain points to this machine as well as my MX record for mail.mydomain.com.
I need IMAP and POP working. And upon the creation of new email users, will SquirrelMail interface with Postfix and Courier? When I installed SM I set it up for use with Courier.
View 1 Replies
View Related
Apr 2, 2010
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
View 4 Replies
View Related
Feb 4, 2010
Im looking for a way to block emails that come into the mail server for users that are no longer on the domain. I see a lot of messages in the maillog for emails coming in for people that are no longer active users on the domain.
setup:
Using spamassassin if that matters.
Using Active Directory on a windows server.
I found postfix uses this "reject_unknown_recipient_domain" in /etc/postfix/main.cf but I am unsure where this would be used in courier.
Ive seen some hints here. But not sure how to adapt this for domain users.
[url]
View 5 Replies
View Related
Mar 1, 2010
I'm looking for a method to sync my calendars on my IMAP server with both my Thunderbird/Lightning any my Blackberry. I found "IMAP Calendar Proxy" here recently, but it has been inactive for 5 years. I've seen people suggesting the use of services like Plaxo and such, but I don't like the idea of a third party messing with my calendars and contacts. Also, I've had to remove several viruses from computers with Plaxo, and I'm not sure if it in itself is a virus or not..... It certainly is a thorn in my side as is. This is for my personal IMAP server, so I'd prefer a free solution even if it is more difficult to install than a paid version. I mainly need it to just sync my calendar to my Blackberry and Thunderbird and couldn't care less about the contacts.
I've been Googling for things for quite some time now, and haven't really found anything that says that it will work with Blackberry and Thunderbird. They really only give a sense of maybe with nothing really defined. I can put on an Ubuntu server to sync everything? I don't want to leave my computer on all the time, and RIM has yet to come out with something decent to sync Blackberries and Thunderbird properly as far as I know.
View 5 Replies
View Related
Mar 2, 2010
I have had a mailserver die when it still had email that the users hadn't downloaded. I have build a new server an tried to copy the mail across but this caused a issue where users were unable to download any new email.
Is it possible to make the old undelivered email available for download?
old server name lx0.hostname.com (dead) I can get to the data but not start the server. new server name lx1.hostname.com
Both systems were running qmail with courier.
View 2 Replies
View Related
Jan 1, 2010
i followed this tutorial to the "T", [URL]. I am not able to login to the mailboxes with squirrelmail, it says "connection dropped by imap server" I used the whole address as a login just like it said to do. I can sucessfully authenticate with outlook express but it throws an error that say's [URL], no such file or directory. i can telnet into it remotely but when i type ehlo [URL] it just keeps showing all the 250 lines and wont let me generate a message.
from what i saw on the comments on the tutorial and googling there are many other people with this problem, however i found no solutions. This is fresh work and i have not touched any config files since finishing the tutorial
View 1 Replies
View Related
Jun 17, 2009
I need to recompile PHP with imap support.
Serwer info:
CentOS 5.3 64-bit (Final)
Apache: 2.2.11
PHP Version: 5.2.9
Quote:yum install php-imap
View 4 Replies
View Related
Apr 24, 2009
I have CentOS 5 installed on VPS server running VZ with ostemplatecentos-5-i386-afull.
Some details of system:
[root@vps ~]# cat /etc/redhat-release
CentOS release 5 (Final)
[root@vps ~]# uname -a
Linux vps.abix.info.pl 2.6.18-92.1.13.el5.028stab059.6PAE #1 SMP Fri Nov 14 20:46:53 MSK 2008 i686 i686 i386 GNU/Linux
[Code]...
View 1 Replies
View Related
Apr 4, 2011
I recently setup an email server on Fedora Core (14). Sendmail is running and I am trying to authenticate from a client pc using imaps. I installed Cyrus-imap and it is running and listening on 993. When I try to login, it doesn't accept authentication even though I verified the user's password is correct. (tested with ssh)Is there something I have to do with Cyrus or on the server to allow connections to email? I have not used Cyrus before. I am attempting to access my mail folders via Sendmail and did not make mailboxes in Cyrus. I did allow imaps through the firewall.
View 1 Replies
View Related