Re: Outgoing mail
yes, thanks. err should have probably skimmed man exim
first. mainlog gave the following info:
18r7I2-0000A7-00 <= root@AMDKing U=root P=local S=1533
18r7I2-0000A7-00 failed to open database lock file
/var/spoo
l/exim/db/wait-remote_smtp.lockfile: Permission denied
(euid=8 egid=8)
18r7I2-0000A7-00 => jackpistachio@yahoo.com R=smarthost
T=re
mote_smtp H=smtp.access4cheap.com [64.157.172.136]
18r7I2-0000A7-00 Completed
and the message was never sent. root didn't even have
permissions to access this file?!?
anyhow, I changed the permissions in exim/db to:
/var/spool/exim/db# ls -l
total 8
-rw-rw-rw- 1 mail mail 4096 Aug 3 2002
retry
-rw-rw-rw- 1 mail mail 0 Aug 3 2002
retry.lockfile
-rw-rw-rw- 1 root root 4096 Aug 3 2002
wait-remote_smtp
-rw-rw-rw- 1 root root 0 Aug 3 2002
wait-remote_smtp.lockfile
and I was able to send out mail my user.
666 are probably bad permissions (no pun intended).
Anyhow, what should they be (cause I forgot) and what is
the right way of handling the lockfile error.
-jackp
--- Martin Kacerovsky <wizard@matfyz.cz> wrote:
> Hi,
>
> And what about '/var/log/exim/mainlog' ?
> Check '/var/spool/exim/input' and
> '/var/spool/exim/msglog' dirs.
> In the former outgoing mails are stored before being
> sent,
> in the latter ... you can guess from its name.
>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
Reply to: