Re: problem with local mailboxes
Kelly Shutt <[EMAIL PROTECTED]> wrote: >for those of you that were asking, i'm running slackware 7.1 and i've >installed qmail according to the life with qmail document... minus >the init.d config files, I don't use init.d, I just added >/usr/local/sbin/qmail start" to my rc.local file. I used the IDS >file to add users and such, OK so far... >and for my rc file I used the included file "binm1," I think this may >be where my problem is, Yep. >I'm not sure which rc file applies to my machine, since i'm not sure >what the default mail delivery is for sendmail in slack, but with >this one qmail appears to be functioning properly except for not >finding the mailboxes. You could look at the sendmail.cf that comes with Slackware to see what local delivery agent it's using. Or you could just use procmail (/var/qmail/boot/proc). >As I have said, qmail was configured exactly like the life with qmail >document. I don't think "exactly" means what you think it means. -Dave
Re: problem with local mailboxes
Kelly Shutt wrote: > > for those of you that were asking, i'm running slackware 7.1 and i've installed > seems to me that the problem is the zero length files. > > thanks, > Kelly > > > > #!/bin/sh > > # Using splogger to send the log through syslog. > # Using binmail to deliver messages to /var/spool/mail/$USER by default. > # Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r > > exec env - PATH="/var/qmail/bin:$PATH" \ > qmail-start \ > '|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \ > splogger qmail Are you sure you have a mail.local program in /usr/libexec? I'm running Slack 7.1 same as you and the only one I see on my system is in /opt/kde/bin. Do a `locate mail.local` and see what it turns up. -- Keith Network Engineer Triton Technologies, Inc.
Re: problem with local mailboxes
Kelly Shutt <[EMAIL PROTECTED]> wrote: > [...] for my rc file I used the included file "binm1," I think this may be > where my problem is, I'm not sure which rc file applies to my machine, since > i'm not sure what the default mail delivery is for sendmail in slack, but > with this one qmail appears to be functioning properly except for not > finding the mailboxes. The rc scripts included in the tarball assume an old-style installation of qmail; "Life with qmail" documents (among other things) the newer daemontools-based installation. What you might want to do is skip /var/spool/mail altogether. The optimal configuration delivers to Maildirs in the users' home directories. "Life with qmail" shows how to do this. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
problem with local mailboxes
for those of you that were asking, i'm running slackware 7.1 and i've installed qmail according to the life with qmail document... minus the init.d config files, I don't use init.d, I just added /usr/local/sbin/qmail start" to my rc.local file. I used the IDS file to add users and such, and for my rc file I used the included file "binm1," I think this may be where my problem is, I'm not sure which rc file applies to my machine, since i'm not sure what the default mail delivery is for sendmail in slack, but with this one qmail appears to be functioning properly except for not finding the mailboxes. I'll include the rc at the bottom. As I have said, qmail was configured exactly like the life with qmail document. I've done this same installl on an Open BSD box without any trouble, so I know what I'm doing for the most part. is there another way to setup mailboxes in /var/spool/mail that might work better? I seems to me that the problem is the zero length files. thanks, Kelly #!/bin/sh # Using splogger to send the log through syslog. # Using binmail to deliver messages to /var/spool/mail/$USER by default. # Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start \ '|preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \ splogger qmail