adapter

Well-Known Member
PartnerNOC
Sep 17, 2003
391
0
166
Hi all

i have add RBL in Exim but now i have a problem with all the customer that use the smtp of my server, most of all use a dialup connection and all these ip are blacklisted so they can't send anymore email from my server, how can i remove the control only for outgoing email?
 

adapter

Well-Known Member
PartnerNOC
Sep 17, 2003
391
0
166
in exim.conf i already have this

# Reject message if address listed in blacklist.
deny message = Message rejected because $sender_fullhost is blacklisted at $dnslist_domain see $dnslist_text :
!hosts = +relay_hosts
!authenticated = *
dnslists = dnsbl.njabl.org : bl.spamcop.net : sbl.spamhaus.org : list.dsbl.org : cbl.abuseat.org : relays.ordb.org :
# RBL Bypass Local Domain List
!domains = +rbl_bypass
# RBL Whitelist incoming hosts
!hosts = +rbl_whitelist
#**#
#**# RBL List End
#**#
 

adapter

Well-Known Member
PartnerNOC
Sep 17, 2003
391
0
166
checking the exim_rejectlog i found this

2006-11-09 16:33:17 sender verify defer for xxxx lowest numbered MX record points to local host

any help?
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
checking the exim_rejectlog i found this

2006-11-09 16:33:17 sender verify defer for xxxx lowest numbered MX record points to local host

any help?
make sure that domain is found in /etc/localdomains and not in /etc/remotedomains.
 

mohit

Well-Known Member
Jul 12, 2005
553
0
166
Sticky On Internet
Code:
Add the users domain to /etc/rblbypass
what if you have 400 Active domains on the box ?

Also if such a dial up user sends and imp. mail to a domain hosted on my box, he seems to have look for a non black listed IP to send mails, which is a lot of pains to explain to your clients.

Anyone with a better SPAM control option ?

seey a,
mohit
 

adapter

Well-Known Member
PartnerNOC
Sep 17, 2003
391
0
166
well what i dont undestand why RBL check also for send email from my server if i have add in exim.conf

!hosts = +relay_hosts
!authenticated = *

?
 

yapluka

Well-Known Member
Dec 24, 2003
301
1
168
France
cPanel Access Level
Root Administrator
Sorry for digging up an old post but I thought I would add the fix for the record.

Putting
Code:
!hosts = +relay_hosts
!authenticated = *
before the dnslists may generate those "lowest numbered MX record points to local host" errors.

If you add this piece of code under the # RBL Bypass Local Domain List section, it will work just fine.
Like this :
Code:
# RBL Bypass Local Domain List
!domains = +rbl_bypass
!hosts = +relay_hosts
!authenticated = *
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
Sorry for digging up an old post but I thought I would add the fix for the record.

Putting
Code:
!hosts = +relay_hosts
!authenticated = *
before the dnslists may generate those "lowest numbered MX record points to local host" errors.

If you add this piece of code under the # RBL Bypass Local Domain List section, it will work just fine.
Like this :
Code:
# RBL Bypass Local Domain List
!domains = +rbl_bypass
!hosts = +relay_hosts
!authenticated = *
doesn't the rbl_bypass file need to be defined somewhere like the relay_hosts so it know where search in the file ? .... or did I miss something ??

Mickalo
 

yapluka

Well-Known Member
Dec 24, 2003
301
1
168
France
cPanel Access Level
Root Administrator
They are actually defined in the top box which looks like this on my servers :

Code:
log_selector = +all
domainlist rbl_blacklist = lsearch;/etc/rblblacklist 
domainlist rbl_bypass = lsearch;/etc/rblbypass 
hostlist rbl_whitelist = lsearch;/etc/relayhosts : partial-lsearch;/etc/rblwhitelist
hostlist rv_relay_hosts = net-iplsearch;/etc/relayhosts
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
They are actually defined in the top box which looks like this on my servers :

Code:
log_selector = +all
domainlist rbl_blacklist = lsearch;/etc/rblblacklist 
domainlist rbl_bypass = lsearch;/etc/rblbypass 
hostlist rbl_whitelist = lsearch;/etc/relayhosts : partial-lsearch;/etc/rblwhitelist
hostlist rv_relay_hosts = net-iplsearch;/etc/relayhosts
Ok, that's what I thought. ;)

just for clarification, when using the rbl_bypass list what domains would be put in there to bypass the checks ... something someother_domain.com on each line, that you want to be bypassed in the RBL checks, do you use the IP or domain name ??

Thx's
Mickalo
 
Last edited:

yapluka

Well-Known Member
Dec 24, 2003
301
1
168
France
cPanel Access Level
Root Administrator
rbl_bypass is for local domains and you would add them one domain per line like this :

yourdomain1.com
yourdomain2.com
... etc