Exim KO ?

Fantole

Verified User
Joined
Jun 30, 2006
Messages
26
Hi all :p

I have a big problem with exim

In Uebimiau Webmail, I have a error message

It was not possible to send this e-mail

I tried this, but unsuccessfully

http://help.directadmin.com/item.php?id=125
http://help.directadmin.com/item.php?id=51

In my var/log/exim/mainlog
I have this

Code:
2007-10-19 16:04:49 1IinEi-0004Le-QO failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2007-10-19 16:04:49 1IinEi-0004Le-QO failed to unlink /var/spool/exim/input//1IinEi-0004Le-QO-J: Permission denied
2007-10-19 16:04:49 1IiMTk-0003Yj-Do failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2007-10-19 16:04:49 1IiPAq-0000GP-Me SMTP timeout while connected to filter1.sierracollege.edu [207.62.230.214] after initial connection: Connection timed out
2007-10-19 16:04:49 1IiPAq-0000GP-Me failed to open database lock file /var/spool/exim/db/wait-remote_smtp.lockfile: Permission denied (euid=8 egid=12)
2007-10-19 16:04:49 1IiPAq-0000GP-Me == [email protected] R=lookuphost T=remote_smtp defer (110): Connection timed out: SMTP timeout while connected to filter1.sierracollege.edu [207.62.230.214] after initial connection
2007-10-19 16:04:49 1IiPAq-0000GP-Me failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2007-10-19 16:04:49 1IiPAq-0000GP-Me failed to unlink /var/spool/exim/input//1IiPAq-0000GP-Me-J: Permission denied
2007-10-19 16:04:49 1IilhF-0000Vr-Qj == [email protected] R=localuser T=local_delivery defer (13): Permission denied: creating lock file hitching post /var/mail/xtremtdk.lock.da2058.oxyd.net.4718b981.00002dcc (euid=638 egid=12)
2007-10-19 16:04:49 1IilhF-0000Vr-Qj failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2007-10-19 16:04:49 1IilhF-0000Vr-Qj failed to unlink /var/spool/exim/input//1IilhF-0000Vr-Qj-J: Permission denied
2007-10-19 16:04:49 1Iifwt-00057G-Tf == [email protected] R=localuser T=local_delivery defer (13): Permission denied: creating lock file hitching post /var/mail/xtremtdk.lock.da2058.oxyd.net.4718b981.00002dce (euid=638 egid=12)
2007-10-19 16:04:49 1Iifwt-00057G-Tf failed to open database lock file /var/spool/exim/db/retry.lockfile: Permission denied (euid=8 egid=12)
2007-10-19 16:04:49 1Iifwt-00057G-Tf failed to unlink /var/spool/exim/input//1Iifwt-00057G-Tf-J: Permission denied

In my var/log/exim/paniclog

Code:
2007-10-19 16:13:07 1Iisb5-0003Zp-T2 Failed to create spool file /var/spool/exim/input//1Iisb5-0003Zp-T2-D: Permission denied
2007-10-19 16:13:07 1Igo3l-0008BX-AM failed to unlink /var/spool/exim/msglog//1Igo3l-0008BX-AM
2007-10-19 16:13:08 1IihFR-0007Yq-Vu failed to unlink /var/spool/exim/input//1IihFR-0007Yq-Vu-J: Permission denied
2007-10-19 16:13:08 1Iis37-0000jR-Fh failed to unlink /var/spool/exim/input//1Iis37-0000jR-Fh-J: Permission denied
2007-10-19 16:13:08 1Iiq2H-0003sE-8W failed to unlink /var/spool/exim/input//1Iiq2H-0003sE-8W-J: Permission denied
2007-10-19 16:13:08 1IirDh-0007FM-Cv failed to unlink /var/spool/exim/input//1IirDh-0007FM-Cv-J: Permission denied
2007-10-19 16:13:08 1IieZx-0002tV-Ga failed to unlink /var/spool/exim/input//1IieZx-0002tV-Ga-J: Permission denied
2007-10-19 16:13:09 1IiJXR-00015p-IW failed to unlink /var/spool/exim/input//1IiJXR-00015p-IW-J: Permission denied
2007-10-19 16:13:09 1Iij0n-0002sz-E3 failed to unlink /var/spool/exim/input//1Iij0n-0002sz-E3-J: Permission denied
2007-10-19 16:13:09 1IipzN-0003lL-GQ failed to unlink /var/spool/exim/input//1IipzN-0003lL-GQ-J: Permission denied
2007-10-19 16:13:09 1IiP8r-0000Ey-GL failed to unlink /var/spool/exim/input//1IiP8r-0000Ey-GL-J: Permission denied


In my var/log/exim/rejectlog

Code:
2007-10-15 22:36:54 H=(ADDRnoreply) [41.251.81.222] F=<[email protected]> rejected RCPT [email protected]: 
2007-10-15 22:37:12 H=(ADDRnoreply) [41.251.81.222] F=<[email protected]> rejected RCPT [email protected]: 
2007-10-15 23:22:29 H=(ADDRnoreply) [41.251.81.222] F=<[email protected]> rejected RCPT [email protected]: 
2007-10-15 23:22:47 H=(ADDRnoreply) [41.251.81.222] F=<[email protected]> rejected RCPT [email protected]: 
2007-10-16 01:09:44 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:09:44 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:09:44 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:09:45 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:09:45 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:09:45 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:09:46 H=(nnsadkp.net) [218.50.92.48] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 01:28:57 rejected HELO from pc-218-225-239-201.cm.vtr.net [201.239.225.218]: syntactically invalid argument(s): 8<\223
2007-10-16 04:30:42 H=bmw.bigmir.net [193.239.68.116] F=<[email protected]> rejected RCPT <[email protected]>: 
2007-10-16 04:30:47 H=bmx.bigmir.net [193.239.68.117] F=<[email protected]> rejected RCPT <[email protected]>: 
2007-10-16 10:18:24 H=(tjzkbim.com) [165.132.192.208] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 10:18:25 H=(tjzkbim.com) [165.132.192.208] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 10:18:25 H=(tjzkbim.com) [165.132.192.208] F=<[email protected]> rejected RCPT <[email protected]>: authentication required
2007-10-16 10:18:25 H=(tjzkbim.com) [165.132.192.208] F=<[email protected]> rejected RCPT <[email protected]>: authentication required

I do not find the problem.
Thx
Fantole
 
It's not a UP

I corrected a part of the problem.
I deleted contained of file following ones

/var/spool/exim/db
/var/spool/exim/msglog
/var/spool/exim/input


Code:
/var/spool/exim/input

had exim user
I put mail with chown mail /var/spool/exim/input

I restart exim and vm-pop3d

Now I can send mail, but not accept from it (No mail incoming) :confused:

A person knows what file manages the entering mail ?
And what user I must put ?

thx ^^
 
check /var/spool/virtual

You can reset those permissions with this script:

Code:
#!/bin/sh

pwd=$(pwd) # Keep set to pwd or set to full path to the pwd command.
whoami=$(whoami) # Keep set to whoami or set to full path of whoami command.


################### DO NOT TOUCH CODE UNDER HERE #####################


domainowners=$(cat /etc/virtual/domainowners | sed 's/://' | tr -s ' ' ':')

if [ $whoami != "root" ]; then
        echo
        echo "You must be root to run this program!"
        echo
        exit 1

elif [ $pwd != "/var/spool/virtual" ]; then
        echo
        echo "You must be in the /var/spool/virtual folder to run this program."
        echo
        exit 1
else

for i in $domainowners; do

        # Create Domain Folder
        echo $i | cut -f1 -d: > /tmp/domains.$$
        mkdir $(cat /tmp/domains.$$)

        # Chown Domain Folder
        echo $i | cut -f2 -d: > /tmp/users.$$
        chown $(cat /tmp/users.$$):$(cat /tmp/users.$$) $(cat /tmp/domains.$$)
done

fi

rm -rf /tmp/domains.$$ /tmp/users.$$
exit 0

Put the code in a new file called /var/spool/virtual/rebuild
Type:

chmod 750 /var/spool/virtual/rebuild
cd /var/spool/virtual

Run:

/var/spool/virtual/rebuild
 
I have message

mkdir: Ne peut créer le répertoire `us-roye.supra-hosting.com': Le fichier existe.

sorry in english

mkdir: can't create the file `us-roye.supra-hosting.com': The file already exist.

For all the domains :rolleyes:
 
You don't say at what point you're getting that error. That file could be anywhere on the system; it's going to be hard for anyone to figure it out without more information.

Jeff
 
I agree

But what information furthermore it is necessary ?

Me, i do not know.

My exim.conf ?
The user access rights of my files exim ?

I did not give more information because I ignore the what to give. :confused:
 
If mkdir cannot create a file, then the place to look is in the permissions and ownership on the directory where it's trying to write the file.

Jeff
 
Back
Top