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