CentOS 5 Server :: Add The Imap Module Into Php?
Nov 5, 2009I want to add the imap module into my php
View 1 RepliesI want to add the imap module into my php
View 1 RepliesRecently 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
Whenever I try to login via SquirrelMail into my account I get this error message:
ERROR: Connection dropped by IMAP server.
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 RelatedI'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]...
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?
CentOS 5.4
/etc/init.d/dovecot start
Starting Dovecot Imap: Fatal: Protocol pop3 given more than once
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?
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]....
I would like to enable XML-RPC module on my dedicated server with CentOs 2.2-3.2.el5 hosted on 1and1 server. How do I enable this module? What are the procedures?
View 1 Replies View RelatedI 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
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.
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?
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.
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
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]...
I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"
View 4 Replies View RelatedI 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 RelatedI 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:
The server I'm running is virtually stock CentOS - it's running on a xen virtual host, started as CentOS 5.1 (32 bit) when that was fresh, it's at 5.5 now and updated nightly. All packages except postgresql and php are from CentOS and EPEL.
I'm running dovecot on it, and for long time, squirrelmail connecting via localhost was good enough. All external ports were firewalled by the CentOS firewall (just 25,80,443,custom ssh are currently open).
Now I need to allow an external imap client to connect.
I have generated ssl key and configured the dovecot configuration and it should be good to go, but gosh dangit, I can't remember how to open the port in the configuration.
I did it before when I set up ssh to run on a non standard port after I got sick of constant brute force attack on port 22, but I can't recall what I did and the various tutorials I find online all tell how to do it with the GUI tool, but I don't have any GUI stuff installed.
system-config-securitylevel-tui
Is I'm pretty sure what I used to open up my custom > 1024 ssh port, but I can't remember how I used it to open that port and it doesn't seem intuitive. Also, do I need to use 993? I'd almost rather use something custom above 1024, as long as thunderbird supports it (don't care about any other mail client)
Finally, my smtp server is postfix and port 25 is already open (but not an open relay, I check it about every 3 months). For requests to send mail from a client, I would really like some authentication of some type - as in only relays for IP addresses that have recently successfully logged in the secure imap port.
Small server running 5.3 - stock postfix configured to use Maildir. Dovecot configured but both pop and imap ports blocked by firewall. Access to mail is via Squirrelmail via https. Configured to virus scan via ClamAV. Works just fine. Now I want to add procmail filtering. So I create these two files - ~/.forward and ~/.procmailrc in my user home dir: "|exec /usr/bin/procmail -f- || exit 75 #mpeters"
View 1 Replies View RelatedI need the IMAP IDLE features but I really prefer the POP way to manage my email. It is really important that all the email I download on my email client is automatically removed from the server but stored locally on my machine. As you have noticed this is the usually behaviour that all email client assumes with the POP server. Since I need the IMAP IDLE I can't use POP, do you know an email client that let me use an IMAP server like a POP one?
View 3 Replies View RelatedDoes 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 RelatedI don't really know if this is the right place for this, but here we go..
I have a domain and a few emailaccounts on a webhosting service.[URL] I'm thinking about cancel webhosting and just have the domain left.
Can i then somehow use my own debianserver to host the emailaccounts ?
I have installed Postfix with LDAP, Dovecot IMAP/POP3 Server on RHEL 5.5whether Postfix without IMAP/POP3 server is possible??
View 5 Replies View Related1- how to config pop and imap on sendmail server
2- how to config smtp restriction on sendmail server
i had configures sendmail and dovecote in rhel 5.3, as it was working fine with pop3 and imap, but it will not work for pop3s and imaps .the cerificate is chked with mutt it is fine , on client side i use outlook express/Thunderbird . the ports status shown as listening . moreover the certificate was not trusted by the clients. is there any more setting i have to do .
View 5 Replies View RelatedI have installed and setup Postfix.I have tested Postfix by sending and receiving mail with it.I can see the mail has landed in /var/mail.I will have to setup an IMAP server to deliver the mail to my mail client, Thunderbird.I love easy to use software that is very easy to setup.What recommendations do people have for selecting an IMAP server application?
View 2 Replies View RelatedI've set up an postfix+courier imap+mysql server.is it possible to 'move' mailfiles over to the imap store? I have another mail address at my isp provider. And I would like to get rid of my pop mail storing mails locally in my mail client (which is windows; ms outlook). My ISP doesn't support imap, and I would like to store all my mail on one server, which is located in a good server envirmonment. Plus it's nice to have access to all mail from a web interface when it's vacation/travel time. I was thinking something like having a pop client cheking for mail every couple of minutes on the server, some suedo code follows:
Crontab on local server:
0,5,10,15,20..55 * * * * /usr/sbin/checkmail
2,7,12,17,22..57 * * * * /usr/sbin/mv_mail
checkmail:
Checks and downloads popmail from external server
mv_mail:
moves mail from e.x /var/spool/mail/pop/user/cur/* to /var/spool/mail/imap/user/cur/*
Will this kind of setup be possible? is Maildir style popmail compatible with Maildir style imap?
I have some problem installing ASM Software (LANDesk) a BMC module on server ACER ALTOS G330MK2 with centos 5.3 totally updated. Could someone help me to understand wich is the problem ?
INFO:Installation is being performed on the RedHat Linux distribution.
DEBUG:distro:RedHat
DEBUG:Import of rpm-python code successful
INFO:bash is installed with version 3.2
[Code]...