Re: [newbie] Wanted: Clever email setup
On Saturday 05 Apr 2003 12:33 pm, RichardA wrote: On Saturday 05 Apr 2003 9:06 am, Derek Jennings wrote: This looks odd. Perhaps you should make the /var/run/authdaemon.courier-imap directory by hand (with permissions 700) and then install the RPM again. (That directory holds the lock file used by the auth daemon.) derek Ok, Derek, I made and chmodded the directory: drwx--2 root root6 Jan 24 2002 authdaemon.courier-imap/ Now I urpmi courier-imap... courier-imap ## /var/tmp/rpm-tmp.77017: =/var/run/authdaemon.courier-imap: No such file or directory mkdir: cannot create directory `': No such file or directory Umm? RichardA Hmmm sorry I cannot explain what is going on here. I took a look at the rpm spec file, and cannot see where it might be going wrong. derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Sunday 06 Apr 2003 11:39 am, Derek Jennings wrote: Hmmm sorry I cannot explain what is going on here. I took a look at the rpm spec file, and cannot see where it might be going wrong. derek Ah well. Perhaps when I get round to upgrading, a new install won't act like this. Thanks for taking the time to help, and thanks for making that page on your web site - it's definitely one of the better resources out there for this type of email setup. RichardA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Saturday 05 Apr 2003 1:38 am, RichardA wrote: On Friday 04 Apr 2003 11:16 pm, Derek Jennings wrote: This is Mandrake 9.0 you are using here is it? I had no trouble at all with that RPM on 9.0 derek Oops. I misread your page. However, if I uninstall 1.5.1-1 and install 1.4.2-1 to go with mdk 8.2, I get this: Preparing... ## courier-imap ## /var/tmp/rpm-tmp.63603: =/var/run/authdaemon.courier-imap: No such file or directory mkdir: cannot create directory `': No such file or directory This looks odd. Perhaps you should make the /var/run/authdaemon.courier-imap directory by hand (with permissions 700) and then install the RPM again. (That directory holds the lock file used by the auth daemon.) derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Friday 04 Apr 2003 3:39 pm, Paul wrote: Have a look at getmail. That can do all the tricks and more. http://www.qcc.ca/~charlesc/software/getmail-3.0/ The setup is really simple. Getmail delivers mail in maildir format and it is very reliable. I have used it for years and it has never let me down. No fetchmail for me. Paul I'll bear it in mind, Paul, but I've yet to have a problem with fetchmail and postfix. I think what I'm doing is so simple they can't go wrong. RichardA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Saturday 05 Apr 2003 9:06 am, Derek Jennings wrote: This looks odd. Perhaps you should make the /var/run/authdaemon.courier-imap directory by hand (with permissions 700) and then install the RPM again. (That directory holds the lock file used by the auth daemon.) derek Ok, Derek, I made and chmodded the directory: drwx--2 root root6 Jan 24 2002 authdaemon.courier-imap/ Now I urpmi courier-imap... courier-imap## /var/tmp/rpm-tmp.77017: =/var/run/authdaemon.courier-imap: No such file or directory mkdir: cannot create directory `': No such file or directory Umm? RichardA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Friday 04 Apr 2003 8:35 am, RichardA wrote: I went off list a couple of months ago to move house. Didn't want to rejoin until I had my email set up just right, but I'm struggling. Here's some background: I want my server to pick up mail and dump it in /maildir format, because it's more reliable. Then I want to read it from either of two client PCs. Simple, yes? I got as far as setting up fetchmail and postfix, but courier-imap beat me. The Mandrake rpm seemed not to be all there, and when I tried to compile from source rpm the error message said there was no makefile. I used a Mandrake imap program (imap-2001), connected from KMail but I could see all of my home folder, not just the maildir. After some messing about I got the mail root folder right, but instead of seeing lots of mail in each folder I had to drill down through those strangely-named folders to read each one. If I could use courier-imap, would that problem go away? Or is KMail not very good at imap? Next, I thought that maybe I could mount the maildir over nfs on each machine. Got nfs set up first try (!), but KMail seems to move the mail into a local folder or something - I know it's not right, but I haven't worked out exactly what happens. This post is messy, as is my email currently. What I want to do must be really common, and I'd welcome help, hints, constructive abuse, anything really. If there's an entirely different way to do what I want that would be fine, too. RichardA P.S. Glad you're all still here and Mandrake haven't gone bust :-) I have a paper on Postfix/Fetchmail/Procmail/Courier-IMAP that covers what you are trying to do. http://www.jennings.homelinux.net/mailserver_config.html derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Friday 04 Apr 2003 6:07 pm, RichardA wrote: On Friday 04 Apr 2003 9:58 am, Derek Jennings wrote: I have a paper on Postfix/Fetchmail/Procmail/Courier-IMAP that covers what you are trying to do. http://www.jennings.homelinux.net/mailserver_config.html derek On installing Courier 1.5.3 I get messages like this: installing ./courier-imap-1.5.3-1mdk.i586.rpm Preparing... ## courier-imap ## /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/add-service: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory /var/tmp/rpm-tmp.86809: /usr/share/rpm-helper/create-file: No such file or directory And if I do 'service courier-imap start' I get: Starting Courier-IMAP server:/usr/lib/courier/imapd.rc: /bin/env: No such file or directory /usr/lib/courier/imapd.rc: /bin/env: No such file or directory imap/usr/lib/courier/imapd-ssl.rc: /bin/env: No such file or directory /usr/lib/courier/imapd-ssl.rc: /bin/env: No such file or directory imap-ssl Which is why I used imap-2001. Clearly something isn't right. RichardA This is Mandrake 9.0 you are using here is it? I had no trouble at all with that RPM on 9.0 derek -- -- www.jennings.homelinux.net Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Friday 04 Apr 2003 11:16 pm, Derek Jennings wrote: This is Mandrake 9.0 you are using here is it? I had no trouble at all with that RPM on 9.0 derek Oops. I misread your page. However, if I uninstall 1.5.1-1 and install 1.4.2-1 to go with mdk 8.2, I get this: Preparing...## courier-imap## /var/tmp/rpm-tmp.63603: =/var/run/authdaemon.courier-imap: No such file or directory mkdir: cannot create directory `': No such file or directory IMPORTANT NOTE: Be SURE to have a Maildir directory in the users home directory containing a Maildir spool, or else you cannot login! [EMAIL PROTECTED] richard]# service courier-imap start /etc/init.d/courier-imap: gprintf: command not found /etc/init.d/courier-imap: gprintf: command not found /etc/init.d/courier-imap: gprintf: command not found /etc/init.d/courier-imap: gprintf: command not found There's something on a French Mandrake list about this gprintf error. Babel says: the function gprintf is definie in the file/etc/init.d/functions Normalement, the files of launching of services (S) must launch it at the beginning. Certain scripts test even the presence of the file before launching it. Look in another file and checks that it is done same way in this file S80courier-IMAP. It is possible that there is a bug. It is necessary that the line comprises a point and a space before the name of the file it is imperative example. Checks also the presence of the file functions. Will also see in this file if the function gprintf is well defined (can be the file functions was corrompu). Any chance checks the right of the file functions, normally only the rights of reading would be necessary but on my machine its right are - rwxr -- R -- (744) and the owner is root. Even in English, that would be over my head. And look: # cat `ls /etc/init.d/*` | grep gprintf | wc -l # 165 What does this function look like? RichardA Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Wanted: Clever email setup
On Fri, 4 Apr 2003 08:35:02 +0100, RichardA wrote: I want my server to pick up mail and dump it in /maildir format, because it's more reliable. Then I want to read it from either of two client PCs. Simple, yes? I got as far as setting up fetchmail and postfix, but courier-imap beat me. Have a look at getmail. That can do all the tricks and more. http://www.qcc.ca/~charlesc/software/getmail-3.0/ The setup is really simple. Getmail delivers mail in maildir format and it is very reliable. I have used it for years and it has never let me down. No fetchmail for me. Paul -- The mome rath isn't born that could outgrabe me. -Nicol Williamson http://nlpagan.net - Linux by Mandrake - Sylpheed by Hiro Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com