> Please copy the entire crontab entry here (no typing, I suspect you have
> typos).
> This message reads a bit like something is looking for a binary called
> "bin/sh /usr/local/bin/arch".

thanks, Amos

crontab -e -u vmail

15 1 * * * /usr/local/bin/arch
---

cat /usr/local/bin/arch
cd /var/mail/vhosts
/usr/local/bin/archmail dom.tld
...more...

I've edited /etc/passswd to:

vmail:x:5000:5000::/home/vmail:/bin/nologin
and, added 'vmail' to aliases

still get
/bin/sh: /usr/local/bin/arch: Permission denied

from prompt, this gives no error:
#sudo -u vmail  /usr/local/bin/arch

but:

#/usr/local/bin/arch
archivemail: '[email protected]' is owned by someone else!


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to