Philip Hazel wrote:
> On Wed, 7 Mar 2007, Peter Farmer wrote:
>
>> Messages Mail rejection reason
>> 18 Rejected RCPT: failed to stat /opt/mail/hbmail.com/spamtrap
>
>> Does anyone have any idea's why I'm seeing these?
>
> Check permissions on all directories on that path to ensure that the
> exim user can access them.
>
drwxr-xr-x 3 root root 4096 2007-02-26 11:29 /opt
drwxr-xr-x 3 root root 4096 2007-02-23 15:24 /opt/mail
drwxr-xr-x 4 nobody nogroup 4096 2006-02-09 12:13 /opt/mail/hbmail.com
drwxr-xr-x 7 nobody nogroup 4096 2007-02-27 15:40
/opt/mail/hbmail.com/spamtrap
drwx------ 5 nobody nogroup 4096 2007-02-13 15:49
/opt/mail/hbmail.com/spamtrap/Maildir
drwx------ 2 nobody nogroup 24576 2007-03-07 12:27
/opt/mail/hbmail.com/spamtrap/Maildir/new
From the exim configure file:
exim_user = nobody
exim_group = nogroup
So the permissions look fine, and as I said in the first email, the
spamtrap users Maildir gets 10+ mails a minute delivered to it 24x7.
Having looked into the aliases which generate this error, some of them
where listed twice in the aliases table in the mysql database, I've
removed them all and re-added them, and then tested them all again and
they now appear to work correctly......
Thanks,
--
Peter Farmer