Hi,
not a bug just a question:
I cannot make procmail to write to local mailbox.
get following error message: procmail: Error while writing to "/var/mail"
What is missing, permission ?
Thanks for assistance.
Cheers mike
var is not in home directory.
in procmail(1) they say:
Error while writing to "x"
Nonexistent subdirectory, no write permission, pipe died or disk full.
I don't know what's going on.
Just wanted to separate the
^Subject:.Undelivered Mail.Returned.to.Sender
messages from all accounts and send them to server admin.
Didn't expect to be difficult like this.
Thanks for your help anyway.
cheers mike
have nice easter holidays.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you post a screenshot of how you've setup Procmail in Webmin?
Hi Jamie,
here is the setup of procmailrc:
DROPPRIVS=yes
VERBOSE=yes
LOGABSTRACT=all
LOGFILE=/var/log/procmail.log
:0 fw
| /usr/bin/spamc
:0
/dev/null
:0
/var/mail/admin
The error message comes from the last entry:
procmail: Error while writing to "/var/mail/admin"
Thanks for assistance
cheers mike
I think you should check if /var/mail/admin is part of the mail group and that it has write permissions for that group.
Hi Ilia,
thanks for your reply.
Permission is 660.
This is a screenshot of the permission for /var/mail/admin
cheers mike
Last edit: M.T.R 2024-03-29
What about home directory itself and all of its subdirectories?
var is not in home directory.
in procmail(1) they say:
Error while writing to "x"
Nonexistent subdirectory, no write permission, pipe died or disk full.
I don't know what's going on.
Just wanted to separate the
messages from all accounts and send them to server admin.
Didn't expect to be difficult like this.
Thanks for your help anyway.
cheers mike
have nice easter holidays.