Please add /var/qmail/bin to PATH and ROOTPATH. It contains user tools like maildirmake and condredirect. Thanks!
I think the reason why such utilities are in this directory is because you want to make it available only to administative users. Maybe add the directory to your path via the profile that you use as an administrator? If not, can you give another reason why the average user would need simple access to these files?
Many of those programs are intended for users: bouncesaying condredirect datemail dot-forward elq except forward maildir2mbox maildirmake maildirwatch mailsubj pinq predate preline qail qbiff qmail-inject qreceipt sendmail They are in /var/qmail/bin instead of /usr/bin because the upstream author insists on this location.
qmail-1.03-r8 and -r9 are in portage. Have you used -r9? I still have it marked unstable as I haven't had many testers. I will add the env.d file to the -r9 if you have had success with this ebuild.
you should see qmail-1.03-r10 which has gone through a bunch of debugging from my previous horrid attempt at updating the ebuild. I need to work out the mysql and ldap packages or branch off off qmail and make a qmail-mysql and qmail-ldap install. I don't want to do that. Currently the build has SMTP AUTH(should work this time!), TLS(+EHLO) patch and split out the comments into tls-patch.txt and added to the doc directory, big concurrency, and the latest ext_todo qmail queue patch are included as well as the stability fix for mail running on a non synchronus link() filesystem such as ext2 or reiserfs. -r9 was missing the rc, -r10 brings it back. Added net-mail/cmd5checkpw for full SMTP AUTH patch support. I have also included your PATH and ROOTPATH env.d as requested :) The HOMEPAGES reflect where patches were taken from.
OK, that explains where my /var/qmail/rc had gone. :) -r9 works fine for me, I'll try -r10 as soon as cmd5checkpasswd is in portage.
any luck with -r10 yet?
OK, cmd5checkpasswd is available now. First quirk: The ebuild overwrites /var/qmail/alias/.qmail-{root,mailer-daemon,postmaster}. Please either list /var/qmail/alias in CONFIG_PROTECT (/etc/make.globals) or only touch these files if they do not already exist (in the postinst phase, if Gentoo has something like that).
Second quirk: === Begin log === 2003-02-06 17:15:28.904977500 warning: qmail-todo: unable to stat mess/0/0 2003-02-06 17:15:28.904979500 warning: qmail-todo: unable to stat mess/1/1 2003-02-06 17:15:28.904982500 warning: qmail-todo: unable to stat mess/2/2 2003-02-06 17:15:28.904983500 warning: qmail-todo: unable to stat mess/3/3 2003-02-06 17:15:28.904984500 warning: qmail-todo: unable to stat mess/4/4 2003-02-06 17:15:28.904986500 warning: qmail-todo: unable to stat mess/5/5 2003-02-06 17:15:28.904987500 warning: qmail-todo: unable to stat mess/6/6 2003-02-06 17:15:28.904988500 warning: qmail-todo: unable to stat mess/7/7 2003-02-06 17:15:28.904990500 warning: qmail-todo: unable to stat mess/8/8 2003-02-06 17:15:28.904991500 warning: qmail-todo: unable to stat mess/9/9 2003-02-06 17:15:28.904994500 warning: qmail-todo: unable to stat mess/10/10 2003-02-06 17:15:28.904995500 warning: qmail-todo: unable to stat mess/11/11 2003-02-06 17:15:28.904996500 warning: qmail-todo: unable to stat mess/12/12 2003-02-06 17:15:28.904998500 warning: qmail-todo: unable to stat mess/13/13 2003-02-06 17:15:28.904999500 warning: qmail-todo: unable to stat mess/14/14 2003-02-06 17:15:28.905001500 warning: qmail-todo: unable to stat mess/15/15 2003-02-06 17:15:28.905002500 warning: qmail-todo: unable to stat mess/16/16 2003-02-06 17:15:28.905005500 warning: qmail-todo: unable to stat mess/17/17 2003-02-06 17:15:28.905010500 warning: qmail-todo: unable to stat mess/18/18 2003-02-06 17:15:28.905012500 warning: qmail-todo: unable to stat mess/19/19 2003-02-06 17:15:28.905013500 warning: qmail-todo: unable to stat mess/20/20 2003-02-06 17:15:28.905014500 warning: qmail-todo: unable to stat mess/21/21 2003-02-06 17:15:28.905016500 warning: qmail-todo: unable to stat mess/22/22 === End log === === Begin === root@cube:/var/qmail/alias# qmail-qstat messages in queue: 0 messages in queue but not yet preprocessed: 23 root@cube:/var/qmail/alias# ls -l /var/qmail/queue/mess/0 total 0 === End === /var/qmail/queue/mess/1/1..22/22 do not exist, too. And I don't think they should exist, anyway. Would be too much overhead for a small workstation. :)
If there are no objections I will unmask qmail-r10 in it's current state. It carries many improvements over previous releases and from what I understand should be the most stable build as of yet.
I have updated -r10 to address your "first quirk"... Re: the "second quirk" do you have a functional qmail build?
Yes, qmail-1.03-r10 currently works fine, apart from this "second quirk". Haven't checked the fix for the first quirk yet, though.
I don't really even think it is a quirk... I think it is just a standard warning message saying that there are no files queued for delivery?
Can anyone here verify that doing a "from scratch" emerge that qmail works properly? AND/OR an upgrade from -r8 works well? again Re: "quirk 2" The ext_todo patch makes this delivery style change to process larger loads of messages faster. see EXTTODO in the documentation directory for a little description.
I have now added a small patch to -r10 for an SMTP AUTH problem a -r11 is coming soon as I have made many changes to this package. ext_todo was removed in favor of big-todo and re-included the qmailqueue patch so programs such as qmail-scanner work right.
If there are no complaints about -r10 I will unmask it soon. This should now be a safe upgrade from -r8 with some important patches added.
No more qmail-todo warnings, so this works fine again. But /var/qmail/alias/.qmail-{mailer-daemon,postmaster,root} still get overwritten. :(
I have changed the appropriate section as such... for i in mailer-daemon postmaster root do if [ ! -f ${ROOT}/var/qmail/alias/.qmail-${i} ]; then touch ${D}/var/qmail/alias/.qmail-${i} fowners alias.qmail /var/qmail/alias/.qmail-${i} fi done Now files will not be overwritten on upgrades if ones exist already.
Works fine now. Thanks!
qmail-1.03-r10 works fine for quite a while now. You can tag it as stable.