Hello again Christian Schmidt!
> Hello Chris,
>
> Have you told exim which domain names are "local domains"?
> Have you defined who (computers or users) is/are allowed tu use your
> server as relay?
>
I used CPanel to install the users and domain names. Let me check
/etc/localdomains ..... Hey! spamblocker7.com is not there, and
the whole file is a mess .... fixed. Now checking out /etc/relayhosts ....
Hey! Only one ip addresses here, my broadband
provider! It must have been put there when I signed up for the server.
Well, let me add 127.0.0.1 ... there, done. Now to restart
Exim
Waiting for exim to restart.... . . . . . . . . . . finished.
exim status
mailnull 13378 0.0 0.0 6136 1724 ? S 01:26 0:00
/usr/sbin/exim -bd -q60m
mailnull 13382 0.0 0.0 6104 1716 ? S 01:26 0:00
/usr/sbin/exim -tls-on-connect -bd -oX 465
mailnull 13389 0.0 0.0 6400 3160 ? S 01:26 0:00
/usr/sbin/exim -q
root 13416 0.6 0.0 3520 1724 ? S 01:26 0:00 antirelayd
root 13425 41.0 0.5 25616 21192 ? S 01:26 0:00
/usr/bin/spamd -d
exim started ok
Trying again:
telnet spamblocker7.com 25
Trying 209.152.167.139...
Connected to spamblocker7.com.
Escape character is '^]'.
220-1n7-139.servernode.net ESMTP Exim 4.34 #1 Thu, 23 Sep 2004
01:27:02 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
helo spameater.com
250 1n7-139.servernode.net Hello spameater.com [69.56.237.82]
mail from:
me@spameater.com
250 OK
rcpt to:
spambloc@spamblocker7.com
451 Temporary local problem - please try later
.............Well, it is better, but not what I was hoping for... Same thing
from command line 127.0.0.1
> - supposed you don't want your server to relay
> mails for the domain "spamblocker7.com".
>
I am merely testing mail delivery to my own server here. Spamblocker7.com
is the intended target, handled by Exim, spameater.com is
attempting to deliver mail to it, and Exim refuses.
OK. I'm going to try killing antirelayd (because the job needs to be done
anyways).
# killall antirelayd
# pico /etc/rc.d/init.d/exim
Restarting Exim
mailnull 14624 0.0 0.0 6136 1732 ? S 01:37 0:00
/usr/sbin/exim -bd -q60m
mailnull 14630 0.0 0.0 6108 1720 ? S 01:37 0:00
/usr/sbin/exim -tls-on-connect -bd -oX 465
root 14720 0.2 0.0 3520 1724 ? S 01:37 0:00 antirelayd
root 14823 18.1 0.5 26892 22788 ? S 01:37 0:01
/usr/bin/spamd -d
root 14827 0.0 0.5 26892 22788 ? S 01:37 0:00 spamd child
root 14828 0.1 0.5 26892 22788 ? S 01:37 0:00 spamd child
root 14829 0.0 0.5 26892 22788 ? S 01:37 0:00 spamd child
root 14830 0.0 0.5 26892 22788 ? S 01:37 0:00 spamd child
root 14831 0.1 0.5 26892 22788 ? S 01:37 0:00 spamd child
Trying again ......... argh! Same problem
Alright, now I'm getting mad ... If this keeps happening I might even read
the MANUAL!
No, I'll do a Google search instead .....
http://www.afp548.com/forum/viewtopi...&showtopic=203 recommends
inserting domain names directly into the Exim
configuration file. Well, I'll try anything once ....
#pico /etc/exim.conf
domainlist local_domains = lsearch;/etc/localdomains
domainlist relay_domains = lsearch;/etc/localdomains : \
lsearch;/etc/secondarymx
hostlist relay_hosts = lsearch;/etc/relayhosts : \
localhost
hostlist auth_relay_hosts = *
This looks like it should work, eh? Well I'll try changing it to
domainlist local_domains = spamblocker7.com
# lsearch;/etc/localdomains
mailnull 25353 0.0 0.0 6136 1728 ? S 02:01 0:00
/usr/sbin/exim -bd -q60m
mailnull 25361 0.0 0.0 6108 1720 ? S 02:01 0:00
/usr/sbin/exim -tls-on-connect -bd -oX 465
mailnull 25367 0.0 0.0 6400 3152 ? S 02:01 0:00
/usr/sbin/exim -q
root 25425 0.2 0.0 3516 1720 ? S 02:01 0:00 antirelayd
root 25434 12.7 0.5 26900 22804 ? S 02:01 0:00
/usr/bin/spamd -d
root 25436 0.1 0.5 26900 22804 ? S 02:01 0:00 spamd child
root 25437 0.1 0.5 26900 22804 ? S 02:01 0:00 spamd child
root 25438 0.0 0.5 26900 22804 ? S 02:01 0:00 spamd child
root 25439 0.0 0.5 26900 22804 ? S 02:01 0:00 spamd child
root 25440 0.1 0.5 26900 22804 ? S 02:01 0:00 spamd child
That darn antirelayd just won't die
ps -aux | grep antirelayd
root 25425 0.0 0.0 3516 1720 ? S 02:01 0:00 antirelayd
# killall antirelayd
# ps -aux | grep antirelayd
#
telnet spamblocker7.com 25
....
AAARGH! 451 Temporary local problem - please try later
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004