test with postmaster failed
Hi, I'm trying to install qmail on a PC with a Suse Linux distribution (I installed sendmail but I never configured it), and there are problems with aliases (postmaster). I downloaded the tar.gz packages from www.flounder.net/qmail/qmail-howto.html (qmail, qmail patch, daemontools, dot-forward, fast-forward, rblsmtpd, ucspi-tcp), unpacked them and applied the patch to qmail; then I followed steps 1-10 in the INSTALL file (and the related steps in INSTALL.ids, INSTALL.ctl and INSTALL.alias): - mkdir /var/qmail - groupadd nofiles - useradd -g nofiles -d /var/qmail/alias alias - useradd -g nofiles -d /var/qmail qmaild - useradd -g nofiles -d /var/qmail qmaill - useradd -g nofiles - groupadd qmail - useradd -g qmail -d /var/qmail qmailq - useradd -g qmail -d /var/qmail qmailr - useradd -g qmail -d /var/qmail qmails - cd /usr/local/src/qmail-1.03 - make setup check - ./config-fast my.full.host.name - cd ~alias - touch .qmail-postmaster - touch .qmail-mailer-daemon - touch .qmail-root - chmod 644 ~alias/.qmail* - cp /var/qmail/boot/home /var/qmail/rc - csh -cf '/var/qmail/rc ' finally I made the tests in the TEST.deliver file: the tests 1-5 succeeded, but local-postmaster failed; I also failed when I tried to send a mail to root. The log file (/var/mail/log) reported: "Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/" Can someone tell me why? I've also compiled the other packages before starting the configuration of qmail. Could this cause any problems to qmail in general? Thanks in advance Franco
RE: test with postmaster failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, You forgot these # redirect postmaster and mailder-daemon mail to root echo root /var/qmail/alias/.qmail-postmaster echo root /var/qmail/alias/.qmail-mailer-daemon # after this you have 2 choices you can create a Maildir maildirmake /var/qmail/alias chmod -R 600 /var/qmail/alias/Maildir chown -R alias:qmail /var/qmail/alias/Maildir # or you can redirect all mail to root to another user echo otheruser /var/qmail/alias/.qmail-root # where otheruser is the user who needs to receive all the mail to root This should solve your problem. On Monday, April 09, 2001 11:11, Franco Vecchiato [SMTP:[EMAIL PROTECTED]] wrote: Hi, I'm trying to install qmail on a PC with a Suse Linux distribution (I installed sendmail but I never configured it), and there are problems with aliases (postmaster). I downloaded the tar.gz packages from www.flounder.net/qmail/qmail-howto.html (qmail, qmail patch, daemontools, dot-forward, fast-forward, rblsmtpd, ucspi-tcp), unpacked them and applied the patch to qmail; then I followed steps 1-10 in the INSTALL file (and the related steps in INSTALL.ids, INSTALL.ctl and INSTALL.alias): - mkdir /var/qmail - groupadd nofiles - useradd -g nofiles -d /var/qmail/alias alias - useradd -g nofiles -d /var/qmail qmaild - useradd -g nofiles -d /var/qmail qmaill - useradd -g nofiles - groupadd qmail - useradd -g qmail -d /var/qmail qmailq - useradd -g qmail -d /var/qmail qmailr - useradd -g qmail -d /var/qmail qmails - cd /usr/local/src/qmail-1.03 - make setup check - ./config-fast my.full.host.name - cd ~alias - touch .qmail-postmaster - touch .qmail-mailer-daemon - touch .qmail-root - chmod 644 ~alias/.qmail* - cp /var/qmail/boot/home /var/qmail/rc - csh -cf '/var/qmail/rc ' finally I made the tests in the TEST.deliver file: the tests 1-5 succeeded, but local-postmaster failed; I also failed when I tried to send a mail to root. The log file (/var/mail/log) reported: "Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/" Can someone tell me why? I've also compiled the other packages before starting the configuration of qmail. Could this cause any problems to qmail in general? Thanks in advance Franco -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOtHn//4IaGw3x6aJEQJiZgCgnJTJu1dwpLDeU2BdGH9Ag+c92z4AoMSF YFlS823C+onTagnYwQ3xZ8ri =/zZE -END PGP SIGNATURE-
Re: test with postmaster failed
On Mon, Apr 09, 2001 at 07:49:02PM +0200, Willy De la Court wrote: On Monday, April 09, 2001 11:11, Franco Vecchiato [SMTP:[EMAIL PROTECTED]] wrote: - cd ~alias - touch .qmail-postmaster - touch .qmail-mailer-daemon - touch .qmail-root - chmod 644 ~alias/.qmail* - cp /var/qmail/boot/home /var/qmail/rc - csh -cf '/var/qmail/rc ' finally I made the tests in the TEST.deliver file: the tests 1-5 succeeded, but local-postmaster failed; I also failed when I tried to send a mail to root. The log file (/var/mail/log) reported: "Unable_to_open_./Mailbox:_access_denied._(#4.2.1)/" Can someone tell me why? The user alias needs to have permissions to write to ~alias/Mailbox . Do # chown alias ~alias Gerrit. -- [EMAIL PROTECTED] innominate AG the linux architects tel: +49.30.308806-0 fax: -77 http://www.innominate.com