exim problems

indexs

Verified User
Joined
Jun 11, 2010
Messages
77
Recently i noticed that users cant`t send email`s to each other like:
x-doamin.com sends email to y-domain.com that also located on my server is ending with "Mail delivery failed: returning message to sender" also the same if someone is sending e-mail from there webs.

* i have tried to update Exim nothing changed

here is the log file from exim mainlog:


Code:
log deleted by client request!

help PLZ! :confused:
 
Last edited:
What does the returned mail say?

it say`s this:

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    

------ This is a copy of the message, including all the headers. ------

Return-path: <[email protected]>
Received: from localhost.localdomain ([127.0.0.1] helo=[109.74.3.161])
	by dvhost.lv with esmtpa (Exim 4.72)
	(envelope-from <[email protected]>)
	id 1PI3rr-0005BJ-UQ
	for [email protected]; Mon, 15 Nov 2010 19:33:28 +0100
Received: from 77.240.247.166
        (SquirrelMail authenticated user criminals)
        by 109.74.3.161 with HTTP;
        Mon, 15 Nov 2010 19:33:27 +0100
Message-ID: <[email protected]>
Date: Mon, 15 Nov 2010 19:33:27 +0100
Subject: 
From: [email protected]
To: [email protected]
Reply-To: [email protected]
User-Agent: SquirrelMail/1.4.20
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

Test
 
this is from rejectlog

rejectlog

Code:
010-11-15 16:10:11 plain authenticator failed for 77-240-247-166.csc.lv ([192.168.1.5]) [77.240.247.166]: 535 Incorrect authentication data ([email protected])
2010-11-15 16:10:11 login authenticator failed for 77-240-247-166.csc.lv ([192.168.1.5]) [77.240.247.166]: 535 Incorrect authentication data ([email protected])
2010-11-15 16:10:16 plain authenticator failed for 77-240-247-166.csc.lv ([192.168.1.5]) [77.240.247.166]: 535 Incorrect authentication data ([email protected])
2010-11-15 16:10:18 login authenticator failed for 77-240-247-166.csc.lv ([192.168.1.5]) [77.240.247.166]: 535 Incorrect authentication data
 
I'm responding only to your lltwo most recent posts, #4 and #5.

It appears that some program or user local user is trying to inject mail into smtp using an improper authenticatated login attempt. If I'm correct, then dvhost.lv is on your server. If so, then find the program trying to send the email and set it to use the sendmail interface to send mail.

Jeff
 
splution

I have figured it out myself, but it took me a while!

Thanks for respond and i hope someone can use this for solving they problem!

So here was my solution:

I have created new "/etc/virtual" folder

This is the link
http://help.directadmin.com/item.php?id=66

Then updated Exim to latest version

and that`s it!

p.s. I`m still guessing where i got the problem...
p.s.s. and if someone uses different e-mail services outside the server for example gmail or other.
Or to resellers panel and activate DNS control, then login to users account and look for MX records, then at the end you will see checked box for server handling your emails. Un-check the box and save otherwise other users from your server will not be able to send email to users who have mail server on other server ex. gmail or they own office mail servers and etc.
 
Exim compiling errors

I have centos 5.5 with directadmin installed using the tutorial in these forums.
After stating the mail services etc it fails to receive any mails to the server.
So i followed guide in this post, as did my friend in post above. Rebuilt /etc/virtual dir then went to recompile exim form source as in this post.
All was good till i went ot make. It errors out as below. Please help as i need a working email server so as to regain many accounts for hosting site i run.


gcc exim_dbmbuild.c
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
from exim_dbmbuild.c:33:
dbstuff.h:540: error: expected specifier-qualifier-list before 'DB'
exim_dbmbuild.c: In function 'main':
exim_dbmbuild.c:150: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:151: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ';' before 'key'
exim_dbmbuild.c:213: error: 'DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: 'content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/exim-4.73/build-Linux-x86_64'
make: *** [all] Error 2
[root@server exim-4.73]

Kind regards

Dj
 
Exim errors

You missing some packages i suppose:

Try install libdb-dev

Regards


Hi and Thnx for quick reply i tried to instlal the above but it came wiht this response

Code:
[root@server]# yum install libdb-dev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package libdb-dev available.
Nothing to do
[root@server]#

Any other suggestions would be greatfull

Regards

Dj
 
Re. Exim problems

for centos should be libdbi-devel if im not wrong

Regards
Ok got that added in finally but still errors on me. The below is out put from installing the above

Code:
[root@server exim-4.73]# yum install libdbi-devel -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libdbi-devel.i386 0:0.8.1-2.1 set to be updated
--> Processing Dependency: libdbi = 0.8.1-2.1 for package: libdbi-devel
--> Processing Dependency: libdbi.so.0 for package: libdbi-devel
---> Package libdbi-devel.x86_64 0:0.8.1-2.1 set to be updated
--> Running transaction check
---> Package libdbi.i386 0:0.8.1-2.1 set to be updated
---> Package libdbi.x86_64 0:0.8.1-2.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================
 Package           Arch        Version        Repository
                                                         Size
==============================================================
Installing:
 libdbi-devel      i386        0.8.1-2.1      base      627 k
 libdbi-devel      x86_64      0.8.1-2.1      base      630 k
Installing for dependencies:
 libdbi            i386        0.8.1-2.1      base       35 k
 libdbi            x86_64      0.8.1-2.1      base       37 k

Transaction Summary
==============================================================
Install       4 Package(s)
Upgrade       0 Package(s)

Total download size: 1.3 M
Downloading Packages:
(1/4): libdbi-0.8.1-2.1.i386.rpm       |  35 kB     00:00
(2/4): libdbi-0.8.1-2.1.x86_64.rpm     |  37 kB     00:00
(3/4): libdbi-devel-0.8.1-2.1.i386.rpm | 627 kB     00:00
(4/4): libdbi-devel-0.8.1-2.1.x86_64.r | 630 kB     00:00
--------------------------------------------------------------
Total                         1.1 MB/s | 1.3 MB     00:01
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : libdbi                                 1/4
  Installing     : libdbi                                 2/4
  Installing     : libdbi-devel                           3/4
  Installing     : libdbi-devel                           4/4

Installed:
  libdbi-devel.i386 0:0.8.1-2.1
  libdbi-devel.x86_64 0:0.8.1-2.1

Dependency Installed:
  libdbi.i386 0:0.8.1-2.1      libdbi.x86_64 0:0.8.1-2.1

Complete!
[root@server exim-4.73]# make
`Makefile' is up to date.

make[1]: Entering directory `/root/exim-4.73/build-Linux-x86_64'
gcc exim_dbmbuild.c
In file included from exim.h:438,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: error: db.h: No such file or directory
In file included from exim.h:438,
                 from exim_dbmbuild.c:33:
dbstuff.h:540: error: expected specifier-qualifier-list before 'DB'
exim_dbmbuild.c: In function 'main':
exim_dbmbuild.c:150: error: 'DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: 'd' undeclared (first use in this function)
exim_dbmbuild.c:151: error: 'DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: expected ';' before 'key'
exim_dbmbuild.c:213: error: 'DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: 'content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: 'R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/exim-4.73/build-Linux-x86_64'
make: *** [all] Error 2
[root@server exim-4.73]# locate libdb | grep so$ | grep -v home
/lib/libdb-4.3.so
/lib64/libdb-4.3.so
/usr/lib/libdb-4.3.so
/usr/lib/libdb_cxx-4.3.so
/usr/lib64/libdb-4.3.so
/usr/lib64/libdb_cxx-4.3.so
[root@server exim-4.73]#

Regards

Dj
 
Still no mail into server :(

After many hours now and help from you who knows who still no use.
Mails sent to this host name on this server are not being received. #I am now desperate to solve this even thinking of installing postfix on another server to receive mails form this domian.

Any help would be appreciated with this problem.

Kind regards

Dj
 
Exim problem

your dns are not still updated, they take up to 48hours.

Ah kk i think theyy just updated as i got mail through but not sure if it was a forwarder io put in or not will try without the forwarder.

BTW thnx for all your help wiht this problem much appreciated :)

Regards

Dj
 
Back
Top