CentOS 5 Server :: Adding Authentication Modules To Courier-imap?
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
ADVERTISEMENT
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
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
Jul 25, 2011
I'm testing a support ticketing system (osTicket), and am trying to set up the server so it can send and receive messages using an external email account so it will, you know, work.When you try to add an email account, it spits out the error "IMAP doesn't exist. PHP must be compiled with IMAP enabled." in the web interface.So apparently IMAP isn't enabled in PHP. And apparently I have to recompile PHP to add that particular function. Um... how i do that? i not so good with computer
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
Dec 27, 2009
Many Apache2 unused modules loaded. I'm going to disable some of them.But what is the command to disable the modules?
View 1 Replies
View Related
Apr 26, 2010
this might not be a Centos related issue, but since I'm using Centos I guess it doesn't hurt to ask; I've used Ubuntu before and haven't encountered this. So, I've just installed Centos and Webmin and now I'm trying to configure the server. Problem is that on the Apache configuration page I don't have the option (should be there) to configure the Apache modules. I've attached a file to show where the modules option should (as before) appeared.
View 6 Replies
View Related
Mar 22, 2011
Can anyone tell me some current and future threats to the authentication methods used in Linux system. Modules like PAM(Pluggable authentication method), SASL, Kerberos, Shared secrets, shared passwords etc.
View 2 Replies
View Related
Jul 22, 2010
I've noticed grub2 has modular structure. Is it possible to insert other Kernel modules into grub? Or can write my own modules to insert into grub?
View 1 Replies
View Related
Jan 11, 2011
Basically when I add more than a single 2gb RAM module, my computer starts randomly crashing every half hour or so, the screen freezes with no response. I have tested the RAM with memtest 86+, it only happens when there is more than one module. The system is openSuse 11.2 64bit and it had a single 2gb RAM module when I first installed it, and removing all but this seemingly fixes the issue. The following is the error message I get when the system crashes, It seems to continue messaging after the initial visual lockup.
Jan 11 16:34:50 eddie kernel: [ 3129.580690] SysRq : HELP : loglevel(0-9) reBoot Crash terminate-all-tasks(E) memory-full-oom-kill(F) fGldbg kill-all-tasks(I) thaw-filesystems(J) saK show-backtrace-all-active-cpus(L) show-memory-usage(M) nice-all-RT-tasks(N) powerOff show-registers(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount show-blocked-tasks(W) dump-ftrace-buffer(Z)
[code]....
I don't know what the problem is, but from searching the web it could be a number of problems, the memory is not being allocated correctly or it maybe there's some conflict no between my ATI HD card/driver (latest driver from ATI repo).
View 8 Replies
View Related
Jan 19, 2010
I already have this setup working in a debian server but I would like to setup the same in CentOS 5.3. I just copied all the configuration files to the CentOS server but I'm getting the following errors in messages:
vsftpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)...
vsftpd: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)...
crond[24483]: nss_ldap: reconnecting to LDAP server (sleeping 4 seconds)...
crond[24483]: nss_ldap: reconnecting to LDAP server (sleeping 8 seconds)...
crond[24483]: nss_ldap: reconnecting to LDAP server (sleeping 16 seconds)...
crond[24483]: nss_ldap: reconnecting to LDAP server (sleeping 32 seconds)...
[Code]...
View 2 Replies
View Related
Oct 15, 2010
I'm running freeradius2-2.1.7-7.el5, on CentOS 5.5. I have gotten all of the authentication setup for active directory and I know that the machine is able to pass requests along to our AD server. However it doesn't appear that freeradius is doing the same. I have been looking at the attached radius -x output for about 2 days now and I have done a ton of searching and have come up relatively empty handed.
View 3 Replies
View Related
Feb 28, 2009
I'm try to start certificate authentication from my web site..
vhosts.conf for httpd:
<IfModule mod_ssl.c>
<VirtualHost 127.0.0.1:443>
ServerName ca.asu
[Code].....
View 1 Replies
View Related
Jun 15, 2009
I am using Samba on the lastest CentOS 5 64bit however the netlogon for windows authentication isn't working.
View 18 Replies
View Related
May 25, 2011
How do I turn winbind authentication off or vsftpd. I keep getting these error messages in the /var/log/ secure:vsftpd: pam_winbind(vsftpd:auth): request failed: No such user, PAM error was User not known to the underlying authentication module (10), NT error was NT_STATUS_NO_SUCH_USER.I already tried remarking out different things in the config files. Is it safe to remark out the winbind stuff in /etc/pam.d/system-auth if we are using the smbclient to connect to a Windows share?Why would you want to to use AD to authenticate users for something simple like FTP is beyond me.I merely want it to authenticate against local system users.
View 3 Replies
View Related
Jun 17, 2011
I've been testing a PDC with samba and LDAP these days with the following unsolved issue. 1. I can add the client PC (Windows XP SP3) with the Domain Admin user (Manager) from the client PC, but when i try to add a user I get this message "The trust relationship between this workstation and primary domain failed", so as it can be added later I ignored this message and choose 'close' and reboot the PC. 2. Since the login screen is showed, the message 'Duplicate name exists on the network' appears. So I try to log on with a valid domain username and password after pressing ctrl+alt+del and get the error message: "System cannot log you on because domain rmprb is not available"
[Code]...
View 1 Replies
View Related