Well, Im using Procmail... Here is my RC file

#!/bin/sh

# Using splogger to send the log through syslog.
# Using procmail to deliver messages to /var/spool/mail/$USER by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail


If works and delives mail fine, once I create the users mail folder. I was wondering 
how I can get the system to automatically create the spool files for mail. Maybe using 
PAM?

Thanks

Joe


> What mode are you using Qmail in, most likely Maildir mode, so you will have to 
> create the Maildirs manually, so look at a program called maildirmake or man it 
> even better.
> 
> Most likely you have also setup Qmail to deliver to a Maildir is the user's home 
> directory so you may have to run maildirmake in the home directory of the user. 
> You can add the Maildir into the /etc/skel and should be there everytime you add 
> a user. Unless you are using something like ldap which would prolly help you 
> direct mail to /var/spool/mail/user/Maildir.
> 
> HTH.
> 
>       Cheers,
> 
>       Aly.
> 
> Joe Giles wrote:
> > Well, maybe not a Qmail question, but I think it is related.
> > 
> > When I installed Qmail and removed Sendmail, when I create a new user with WEBMIN 
>it doesnt create the default /var/spool/mail/<username> file. I have to manually 
>"touch" the file and set permissions. When Sendmail was installed, it would 
>automatically create it.
> > 
> > How can I automate this process?
> > 
> > Thanks A Million
> > 
> > Joe Giles
> > [EMAIL PROTECTED]
> > AOL ID: mcigiles
> > 
> > 
> > 
> 
> 
> -- 
> Aly Dharshi
> [EMAIL PROTECTED]
> System Administrator
> Organization of Residence Students Servers
> University of Lethbridge
> 
>       "A good speech is like a good dress
>       that's short enough to be interesting
>       and long enough to cover the subject"
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 


Joe Giles
[EMAIL PROTECTED]
AOL ID: mcigiles



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to