Not recieving emails due to exim problem...

apostle

Verified User
Joined
Jun 1, 2004
Messages
22
Location
chicago
Ok, this SHOULD be the last problem with the mail system. I can send emails fine, but recieving them is now the problem.
2004-07-06 15:04:14 1BhvEj-0007uW-H5 <= <email>@email.grcc.edu H=(email.grcc.edu) [207.74.29.9] P=esmtp S=684 id=1089140656.cf$
2004-07-06 15:04:14 1BhdP3-0000nB-5b Completed
2004-07-06 15:04:14 1BhvEj-0007uW-H5 unable to set gid=12 or uid=503 (euid=8): local delivery to apostle <[email protected]> tr$
2004-07-06 15:04:14 1BhvEj-0007uW-H5 failed to read delivery status for [email protected] from delivery subprocess
2004-07-06 15:04:15 1BhvEj-0007uW-H5 appendfile transport process returned non-zero status 0x0100: exit code 1
2004-07-06 15:04:15 1BhvEj-0007uW-H5 == [email protected] R=virtual_user T=virtual_localdelivery defer (-1)
2004-07-06 15:04:15 1BhvEj-0007uW-H5 Frozen
I saw a exim FAQ with my question and the answer was:
Have you remembered to make Exim setuid root? It needs root privilege if it is to do any local deliveries, because it does them ``as the user''. Note also that the partition from which Exim is running (where the binary is installed) must not have the nosuid mount option set. You can check this by looking at its /etc/fstab entry.

Now I, being pretty new to linux and lost with it during most errors, don't know how to go about this.
 
Hello I have got the same problem, and it fixid now.

But al mails that send to the server in the time that it not works are frozen?
Is it posible to deliver this mails to the clients?
 
snaaps said:
Hello I have got the same problem, and it fixid now.

But al mails that send to the server in the time that it not works are frozen?
Is it posible to deliver this mails to the clients?

How did you fix it? I have something like 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][email protected][/email]
    (ultimately generated from [email][email protected][/email])
    Unrouteable address
  [email][email protected][/email]
    (ultimately generated from [email][email protected][/email])
    Unrouteable address

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

Return-path: <[email protected]>
Received: from smtpq3.groni1.gr.home.nl ([213.51.130.202])
by server2 with esmtp (Exim 4.54)
id 1F4m7f-0003lV-GR
for [email][email protected][/email]; Thu, 02 Feb 2006 22:36:11 +0100
Received: from [213.51.130.190] (port=33313 helo=smtp1.groni1.gr.home.nl)
by smtpq3.groni1.gr.home.nl with esmtp (Exim 4.30)
id 1F4m8R-0007sk-Q6
for [email][email protected][/email]; Thu, 02 Feb 2006 22:36:59 +0100
Received: from cc549783-a.haaks1.ov.home.nl ([217.120.228.15]:2036 helo=mark1)
by smtp1.groni1.gr.home.nl with smtp (Exim 4.30)
id 1F4m88-0004HW-4u
for [email][email protected][/email]; Thu, 02 Feb 2006 22:36:40 +0100
Message-ID: <004f01c62840$cc047520$6502a8c0@mark1>
From: "scholten, mark" <[email protected]>
To: <[email protected]>
Subject: Fw: Mail delivery failed: returning message to sender
Date: Thu, 2 Feb 2006 22:36:56 +0100
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2670
Disposition-Notification-To: "scholten, mark" <[email protected]>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-AtHome-MailScanner-Information: Neem contact op met ***@home.nl voor meer informatie
X-AtHome-MailScanner: Found to be clean

Please note all e-mail adresses shown are from me or i did change them. This looks like the same problem (I have the problem with a Debian 3.1 server). Exim.conf looks fine to me.
 
Hello,

The unrouteable error will show up if either the domain doesn't resolve, doesn't have an MX record, or the DA user has sent too many emails an is over his "limit" (/etc/virtual/limit, 0 is unlimited)

Most of the time, it's a nameserver that isn't working.

Check your /etc/resolv.conf file, and test out the namesever litsed there. If you see "nameserver 1.2.3.4", then 1.2.3.4 is your nameserver. To test that nameserver, run
Code:
dig internet.com @[b]1.2.3.4[/b]
for any domain that should resolve.

If it doesn't work, then add
Code:
nameserver 127.0.0.1
to the top of your /etc/resolv.conf file to resolve thing using your own nameserver. (or else find a working NS to use elsewhere)

John
 
DirectAdmin Support said:
Hello,

The unrouteable error will show up if either the domain doesn't resolve, doesn't have an MX record, or the DA user has sent too many emails an is over his "limit" (/etc/virtual/limit, 0 is unlimited)

Most of the time, it's a nameserver that isn't working.

Check your /etc/resolv.conf file, and test out the namesever litsed there. If you see "nameserver 1.2.3.4", then 1.2.3.4 is your nameserver. To test that nameserver, run
Code:
dig internet.com @[b]1.2.3.4[/b]
for any domain that should resolve.

If it doesn't work, then add
Code:
nameserver 127.0.0.1
to the top of your /etc/resolv.conf file to resolve thing using your own nameserver. (or else find a working NS to use elsewhere)

John

This doesn't solve the problem. (No problems for so far I can see with this settings, because they do what the should do/look like).

Maybe someone has a method for this.

I don't see why it should resolve something (it is an incoming e-mail). From 1 account on the server to an other account on the same server is also not possible.
 
streamservice said:
This doesn't solve the problem. (No problems for so far I can see with this settings, because they do what the should do/look like).

Maybe someone has a method for this.

I don't see why it should resolve something (it is an incoming e-mail). From 1 account on the server to an other account on the same server is also not possible.

Hello,

I have check my hostname into this files, and this is present into the files domains

I have make your guide, and my problems during again :

421 error : 0x800CCC79
421 Unexpected failure, please try later
 
Hello,

Double check the value of your hostname. When I telnetted to your port 25, I got an incoplete hostname value:
Code:
[root@server]# [b]telnet streamservice.nl 25[/b]
Trying 85.12.26.33...
Connected to streamservice.nl.
Escape character is '^]'.
220 [b]server2[/b] ESMTP Exim 4.54 Fri, 03 Feb 2006 20:04:43 +0100
A valid hostname would be "server2.streamservice.nl", and not just "server2". Type "hostname" to see what your system has set. If it's correct, then restart exim, as exim isn't showing the correct value.

John
 
step2:
it shows up 4 times (the first 4 lines) (server2.streamservice.nl)

step3:
it is not included in this file

step9:
rDNS doesn't work (the nameservers included with DirectAdmin doesn't support it correctly). The rDNS is delegated to the server and to an other server of mine. Both are with the same config (hardware + software).

All other steps are correct for so far I can see. I did restart exim multiple times today (also after I downloaded the standard exim.conf).
 
I did fix it with the help off someone else. I did read the mainlog (/var/log/exim/mainlog) and I did see that I was missing some files and I'm now sending e-mails not to the [email protected] but to an other e-mail adres ([email protected]).

Make sure you have the following files (in /etc/virtual/, user: mail, group: mail):
blacklist_domains
blacklist_hosts
blacklist_senders
whitelist_domains
whitelist_from
whitelist_hosts
whitelist_senders

Please note that this files are empty, but they have to exist.
 
Back
Top