Hi, I need recommendations to install a mailserver on Suse (V8.1). What I need is a system that fetches mail from a pop-mailbox at our ISP, and stores the messages locally (maildir), for non-linux users to retrieve, either via POP, IMAP or web-mail. Any suggestions ? I tried Fetchmail (works OK), Postfix and planned to use Courier-IMAP, but I seem to be unable to get Postfix to store messages in maildir for non-local users. I'm willing to give it another try if needed. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.
On 06/13/2003 02:16 PM, Koenraad Lelong wrote:
Hi, I need recommendations to install a mailserver on Suse (V8.1). What I need is a system that fetches mail from a pop-mailbox at our ISP, and stores the messages locally (maildir), for non-linux users to retrieve, either via POP, IMAP or web-mail. Any suggestions ? I tried Fetchmail (works OK), Postfix and planned to use Courier-IMAP, but I seem to be unable to get Postfix to store messages in maildir for non-local users. I'm willing to give it another try if needed.
Try out the imap package (I think it is UW-imap). It contains an imap AND pop3 server. Just enable it in inetd. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Fri, 2003-06-13 at 04:58, Joe Morris (NTM) wrote:
On 06/13/2003 02:16 PM, Koenraad Lelong wrote:
Hi, I need recommendations to install a mailserver on Suse (V8.1). What I need is a system that fetches mail from a pop-mailbox at our ISP, and stores the messages locally (maildir), for non-linux users to retrieve, either via POP, IMAP or web-mail. Any suggestions ? I tried Fetchmail (works OK), Postfix and planned to use Courier-IMAP, but I seem to be unable to get Postfix to store messages in maildir for non-local users. I'm willing to give it another try if needed.
Try out the imap package (I think it is UW-imap). It contains an imap AND pop3 server. Just enable it in inetd.
-- Joe Morris
Hi I'm new to the list here and this is the subject as to why I joined. I just move my server from RH 7.3 to Suse 8.2. RE: the way uw-imap is built on Suse 8.2, just 'turning it on' didn't work. Seems the imap rpm is built to force only ssl/tsl connections and there is no imaps block in /etc/xinetd.d/imap so imap runs but imaps does not. If you try to login to imap [port 143] it will refuse as it wants imaps only. I added a block to the above file for imaps, and now netstat shows port 993 [imaps] listening and I can now login if I use ssl on the client or squirrelmail. Drove me crazy for a couple of days. Is this what others have experienced or is something wrong with my uw-imap. btw, cyrus behaved the same way and I never resolved it. I'm having similar problems getting ssl to run on apache 1.3.37 from rpm. It won't. Comments welcome, Kevin B
On 06/13/2003 10:52 PM, Kevin Brouelette wrote:
On Fri, 2003-06-13 at 04:58, Joe Morris (NTM) wrote:
On 06/13/2003 02:16 PM, Koenraad Lelong wrote:
Hi, I need recommendations to install a mailserver on Suse (V8.1).
Try out the imap package (I think it is UW-imap). It contains an imap AND pop3 server. Just enable it in inetd.
I'm new to the list here and this is the subject as to why I joined. I just move my server from RH 7.3 to Suse 8.2. RE: the way uw-imap is built on Suse 8.2, just 'turning it on' didn't work.
That is because you said in your original post you had 8.1. If you would have said 8.2, I would never had said to just enable it. BTW, there is an article about this in the sdb, search for imaps.
Seems the imap rpm is built to force only ssl/tsl connections and there is no imaps block in /etc/xinetd.d/imap so imap runs but imaps does not. If you try to login to imap [port 143] it will refuse as it wants imaps only. I added a block to the above file for imaps, and now netstat shows port 993 [imaps] listening and I can now login if I use ssl on the client or squirrelmail. Drove me crazy for a couple of days.
So I assume you have it working now? It is compiled to only accept plaintext passwords via ssl, or encrypted passwords without ssl. Pop is the same with this package. If you wanted lower security, you could install the package from 8.1, or set your clients to use ssl (and imaps or pops- better security). -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
On Fri, 2003-06-13 at 09:14, Joe Morris (NTM) wrote:
On 06/13/2003 10:52 PM, Kevin Brouelette wrote:
On Fri, 2003-06-13 at 04:58, Joe Morris (NTM) wrote:
On 06/13/2003 02:16 PM, Koenraad Lelong wrote:
Hi, I need recommendations to install a mailserver on Suse (V8.1).
Try out the imap package (I think it is UW-imap). It contains an imap AND pop3 server. Just enable it in inetd.
I'm new to the list here and this is the subject as to why I joined. I just move my server from RH 7.3 to Suse 8.2. RE: the way uw-imap is built on Suse 8.2, just 'turning it on' didn't work.
That is because you said in your original post you had 8.1. If you would have said 8.2, I would never had said to just enable it. BTW, there is an article about this in the sdb, search for imaps.
Seems the imap rpm is built to force only ssl/tsl connections and there is no imaps block in /etc/xinetd.d/imap so imap runs but imaps does not. If you try to login to imap [port 143] it will refuse as it wants imaps only. I added a block to the above file for imaps, and now netstat shows port 993 [imaps] listening and I can now login if I use ssl on the client or squirrelmail. Drove me crazy for a couple of days.
So I assume you have it working now? It is compiled to only accept plaintext passwords via ssl, or encrypted passwords without ssl. Pop is the same with this package. If you wanted lower security, you could install the package from 8.1, or set your clients to use ssl (and imaps or pops- better security).
-- Joe Morris
Hello ] First of all, I want to apologize for jumping on this thread as I missed that it was regarding Koenraad's 8.1 issue and I have an 8.2 issue and I'm not Koenraad so I think you replied thinking I was Koenraad. I mis-read his 8.1 as 8.2 [it was late] but I do appreciate your explanation relating to Suse 8.2 Thanks Kevin
Quoting Koenraad Lelong
Hi, I need recommendations to install a mailserver on Suse (V8.1). What I need is a system that fetches mail from a pop-mailbox at our ISP, and stores the messages locally (maildir), for non-linux users to retrieve, either via POP, IMAP or web-mail. Any suggestions ? I tried Fetchmail (works OK), Postfix and planned to use Courier-IMAP, but I seem to be unable to get Postfix to store messages in maildir for non-local users. I'm willing to give it another try if needed.
Use Maildrop to deliver to virtual users. I wrote an article on setting up an e-mail server, including virtual users. The virtual user section starts just past half way: http://www.unixreview.com/documents/s=7460/uni1032893910897/ur0209o.htm HTH, Jeffrey
Jeffrey L. Taylor wrote:
Quoting Koenraad Lelong
: Hi, I need recommendations to install a mailserver on Suse (V8.1). What I need is a system that fetches mail from a pop-mailbox at our ISP, and stores the messages locally (maildir), for non-linux users to retrieve, either via POP, IMAP or web-mail. Any suggestions ? I tried Fetchmail (works OK), Postfix and planned to use Courier-IMAP, but I seem to be unable to get Postfix to store messages in maildir for non-local users. I'm willing to give it another try if needed.
Use Maildrop to deliver to virtual users. I wrote an article on setting up an e-mail server, including virtual users. The virtual user section starts just past half way:
http://www.unixreview.com/documents/s=7460/uni1032893910897/ur0209o.htm
HTH, Jeffrey
I seem to have Courier-IMAP running (based on above article, thanks for that), but I'm unable to send something to Postfix. Is there any way to see why Postfix doesn't see the virtual users ? The log /var/log/mail only says that the user I'm sending to is unknown, although I can login to the IMAP-server with that username. Is there a way to see who accesses the userdb file, and when ? Or when the 'virtual' mechanisms from Postfix are used ? I hope you won't say 'use a debugger'. B.T.W. I compiled Postfix (downloaded on june 16) with standard configuration. Now I think of it, does this use userdb, or should I configure this explicitly ? I'm at work, so I can't run postmap -m. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.
On Thu, 2003-06-19 at 15:22, Koenraad Lelong wrote:
I seem to have Courier-IMAP running (based on above article, thanks for that), but I'm unable to send something to Postfix. Is there any way to see why Postfix doesn't see the virtual users ? The log /var/log/mail only says that the user I'm sending to is unknown, although I can login to the IMAP-server with that username.
Did you follow the instructions in /usr/share/doc/packages/cyrus-imapd/README.SuSE on how to get postfix to talk to cyrus?
Anders Johansson wrote:
On Thu, 2003-06-19 at 15:22, Koenraad Lelong wrote:
I seem to have Courier-IMAP running (based on above article, thanks for that), but I'm unable to send something to Postfix. Is there any way to see why Postfix doesn't see the virtual users ? The log /var/log/mail only says that the user I'm sending to is unknown, although I can login to the IMAP-server with that username.
Did you follow the instructions in /usr/share/doc/packages/cyrus-imapd/README.SuSE on how to get postfix to talk to cyrus? No, since I'm running Courier I didn't look at Cyrus-docs, but I'll look into them tonight.
-- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.
Quoting Koenraad Lelong
Jeffrey L. Taylor wrote:
Quoting Koenraad Lelong
: Hi, I need recommendations to install a mailserver on Suse (V8.1). What I need is a system that fetches mail from a pop-mailbox at our ISP, and stores the messages locally (maildir), for non-linux users to retrieve, either via POP, IMAP or web-mail. Any suggestions ? I tried Fetchmail (works OK), Postfix and planned to use Courier-IMAP, but I seem to be unable to get Postfix to store messages in maildir for non-local users. I'm willing to give it another try if needed.
Use Maildrop to deliver to virtual users. I wrote an article on setting up an e-mail server, including virtual users. The virtual user section starts just past half way:
http://www.unixreview.com/documents/s=7460/uni1032893910897/ur0209o.htm
HTH, Jeffrey
I seem to have Courier-IMAP running (based on above article, thanks for that), but I'm unable to send something to Postfix. Is there any way to see why Postfix doesn't see the virtual users ? The log /var/log/mail only says that the user I'm sending to is unknown, although I can login to the IMAP-server with that username. Is there a way to see who accesses the userdb file, and when ? Or when the 'virtual' mechanisms from Postfix are used ? I hope you won't say 'use a debugger'. B.T.W. I compiled Postfix (downloaded on june 16) with standard configuration. Now I think of it, does this use userdb, or should I configure this explicitly ? I'm at work, so I can't run postmap -m.
If you are using Maildrop as the mailbox_command, make sure it has userdb support enabled. If you built it yourself, look in the config.log file for the configure options. You should have at least --enable-syslog=1 and --enable-userdb. Go to /usr/lib/courier-imap/libexec/authlib and make sure there is a file called authuserdb. If there is not, you will have to rebuild Courier-IMAP with userdb support. If you want to use the Postfix virtual delivery agent, things are different. I have forgotten why I don't use it. Probably because I use userdb authentication for Courier-IMAP so it is simplest to use it for the Mail Delivery Agent (MDA) too. The README_VIRTUAL in the README_FILES directory does an adequate job of explaining how. The Courier tools are good, solid programs and are notorious for minimal logging. At one point I was very tempted to write my own IMAP package with decent logging (a la Postfix). Just watching Courier IMAP build was enough to bring me to my senses. I don't have a year to spend coding. HTH, Jeffrey
participants (5)
-
Anders Johansson
-
Jeffrey L. Taylor
-
Joe Morris (NTM)
-
Kevin Brouelette
-
Koenraad Lelong