RE: qmail running; no mail delivery to Maildir
Isn't this a FAQ somewhere? Double check your /var/qmail/rc make sure you have ./Maildir/ with the ending / otherwise it thinks its delivering to a file -Original Message- From: root [mailto:root]On Behalf Of Harsha Linux Sent: Monday, July 31, 2000 2:52 AM To: [EMAIL PROTECTED] Subject: qmail running; no mail delivery to Maildir Hi, I installed qmail in this order.. MySQL Version 3.22.32 tcpserver (ucspi-tcp-0.88) qmail-1.03 qmail was working fine. Mails were being deleiverd to Mailbox file. I switched to Maildir format according to instructions in qmail's INSTALL.maildir file. I logged in as root and executed : ./maildirmake ~user1/Maildir echo ./Maildir/ > ~user1/.qmail for all the users (have only a few users...for testing) I also excuted: ./maildirmake /etc/skel/Maildir echo ./Maildir/ > /etc/skel/.qmail so that all new users are created with proper Maildirs. Step-4 of qmail's INSTALL file says... 4. Read INSTALL.ctl and FAQ. Minimal survival command: And according to the FAQ file... According to FAQ's question 5.1: 5.1. How do I run qmail-smtpd under tcpserver? I setup in inet.conf file the following (since I have tcpserver installed) tcpserver -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd & (I have replaced 7770 and 2108 with my qmaild uid and nofiles gid) According to FAQ's question 5.3: 5.3. How do I set up qmail-pop3d? I setup in /etc/inetd.conf the following... tcpserver 0 pop3 /var/qmail/bin/qmail-popup YOURHOST \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir & (Since I have tcpserver installed) I've replaced YOURHOST with my host name. I have also installed the checkpassword programs. Now, I can connect to my system on port 25 using telnet and send local mails using SMTP commands. But mails are not being delivered to mailbox or Maildir. I checked the file /var/log/maillog file. But it says...Unable_to_open_./Maildir Jul 31 12:04:28 Linux qmail: 965025268.328030 status: local 1/10 remote 0/20 Jul 31 12:04:28 Linux qmail: 965025268.422942 delivery 25: deferral: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/ Jul 31 12:04:28 Linux qmail: 965025268.423060 status: local 0/10 remote 0/20 What could be wrong? Please help With regards, Harsha
Re: qmail running; no mail delivery to Maildir
Hi, At 12:22 31.7.2000 +0530, you wrote: >Hi, > >I installed qmail in this order.. > >MySQL Version 3.22.32 >tcpserver (ucspi-tcp-0.88) >qmail-1.03 > >qmail was working fine. Mails were being deleiverd to Mailbox file. > >I switched to Maildir format according to instructions in qmail's >INSTALL.maildir file. I logged in as root and executed : > > ./maildirmake ~user1/Maildir Check persmissions of Maildir. They have to belong to the owner and not root! Example: orion# ls -la Maildir total 5 drwx-- 5 erwin users 512 Jan 16 2000 . drwxr-xr-x 6 erwin users 1024 Jun 2 14:14 .. drwx-- 2 erwin users 512 Jan 16 2000 cur drwx-- 2 erwin users 512 Jul 30 13:00 new drwx-- 2 erwin users 512 Jul 30 13:00 tmp > echo ./Maildir/ > ~user1/.qmail > >for all the users (have only a few users...for testing) > >I also excuted: > > ./maildirmake /etc/skel/Maildir > echo ./Maildir/ > /etc/skel/.qmail > >so that all new users are created with proper Maildirs. > >Step-4 of qmail's INSTALL file says... > >4. Read INSTALL.ctl and FAQ. Minimal survival command: > >And according to the FAQ file... > >According to FAQ's question 5.1: >5.1. How do I run qmail-smtpd under tcpserver? > >I setup in inet.conf file the following (since I have tcpserver >installed) > > tcpserver -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd & > >(I have replaced 7770 and 2108 with my qmaild uid and nofiles gid) > >According to FAQ's question 5.3: >5.3. How do I set up qmail-pop3d? > >I setup in /etc/inetd.conf the following... > > tcpserver 0 pop3 /var/qmail/bin/qmail-popup YOURHOST \ > /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir & > >(Since I have tcpserver installed) I've replaced YOURHOST with my host >name. I have also installed the checkpassword programs. > >Now, I can connect to my system on port 25 using telnet and send local >mails using SMTP commands. But mails are not being delivered to mailbox >or Maildir. You have enable qmail's local delivery to Maildir which is triggered via the rc script. Example: #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Maildir/ . exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ splogger qmail > >I checked the file /var/log/maillog file. But it >says...Unable_to_open_./Maildir > > Jul 31 12:04:28 Linux qmail: 965025268.328030 status: local 1/10 remote >0/20 > Jul 31 12:04:28 Linux qmail: 965025268.422942 delivery 25: deferral: >Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/ > Jul 31 12:04:28 Linux qmail: 965025268.423060 status: local 0/10 remote >0/20 > >What could be wrong? Please help Cheers. eh. > >With regards, >Harsha > +---+ | fffhh http://www.fehcom.deDr. Erwin Hoffmann | | ff hh| | ffeee ccc ooomm mm mm Wiener Weg 8 | | fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln| | ff ee eee hh hh cc oo oo mm mm mm| | ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 | | ff hh hhccc ooomm mm mm Fax 0221 484 4924 | +---+
qmail running; no mail delivery to Maildir
Hi, I installed qmail in this order.. MySQL Version 3.22.32 tcpserver (ucspi-tcp-0.88) qmail-1.03 qmail was working fine. Mails were being deleiverd to Mailbox file. I switched to Maildir format according to instructions in qmail's INSTALL.maildir file. I logged in as root and executed : ./maildirmake ~user1/Maildir echo ./Maildir/ > ~user1/.qmail for all the users (have only a few users...for testing) I also excuted: ./maildirmake /etc/skel/Maildir echo ./Maildir/ > /etc/skel/.qmail so that all new users are created with proper Maildirs. Step-4 of qmail's INSTALL file says... 4. Read INSTALL.ctl and FAQ. Minimal survival command: And according to the FAQ file... According to FAQ's question 5.1: 5.1. How do I run qmail-smtpd under tcpserver? I setup in inet.conf file the following (since I have tcpserver installed) tcpserver -u 7770 -g 2108 0 smtp /var/qmail/bin/qmail-smtpd & (I have replaced 7770 and 2108 with my qmaild uid and nofiles gid) According to FAQ's question 5.3: 5.3. How do I set up qmail-pop3d? I setup in /etc/inetd.conf the following... tcpserver 0 pop3 /var/qmail/bin/qmail-popup YOURHOST \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir & (Since I have tcpserver installed) I've replaced YOURHOST with my host name. I have also installed the checkpassword programs. Now, I can connect to my system on port 25 using telnet and send local mails using SMTP commands. But mails are not being delivered to mailbox or Maildir. I checked the file /var/log/maillog file. But it says...Unable_to_open_./Maildir Jul 31 12:04:28 Linux qmail: 965025268.328030 status: local 1/10 remote 0/20 Jul 31 12:04:28 Linux qmail: 965025268.422942 delivery 25: deferral: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/ Jul 31 12:04:28 Linux qmail: 965025268.423060 status: local 0/10 remote 0/20 What could be wrong? Please help With regards, Harsha