Hi,
I have been Black-Listed in ORDB.org and I did the test with :
From : account@relay.domain
To : account2%somewhere.com@relay.domain
where relay.domain is one of the domains I do accept relay for, but certainly not the somewhere.com...unfortunately my relay.domain does not handle proprely the % stuff...and ASL delivers it to it which in turn delivers to account2@somewhere.com....
Not very good.... [:(]
Thank you for your help....
and it doest go through without picking up the % !!!
here is my configuration file :
# ASL exim configuration file
######################################################################
# Section 1 - GLOBAL #
######################################################################
# dynamic spool, for AV queue listing
SPOOL_DIR = /spool
spool_directory = SPOOL_DIR
# queue-only mode, for virus scanning
queue_only =
smtp_banner = ESMTP ready.
log_file_path = syslog
primary_hostname =
qualify_domain = mydomain.com
# no local deliveries !
local_domains =
receiver_verify = true
forbid_domain_literals
host_accept_relay = /etc/exim.acceptrelay
relay_domains = /etc/exim.relaydomains
sender_unqualified_hosts = 127.0.0.1
sender_verify =
rbl_domains =
ignore_errmsg_errors_after = 2d
timeout_frozen_after = 7d
sender_reject_recipients = @@lsearch*;/etc/exim.blocksenders
message_size_limit =
errmsg_file = /etc/exim.errmsg
warnmsg_file = /etc/exim.warnmsg
rfc1413_query_timeout = 0s
smtp_accept_max = 50
# encryption and auth settings
host_auth_accept_relay = *
tls_advertise_hosts = *
auth_over_tls_hosts = *
tls_certificate = /etc/exim.cert
tls_privatekey = /etc/exim.key
end
######################################################################
# Section 2 - TRANSPORTS CONFIGURATION #
######################################################################
# This transport is used for delivering messages over SMTP connections.
remote_smtp:
driver = smtp
batch_max = 100
max_rcpt = 20
hosts_avoid_tls = *
end
######################################################################
# Section 3 - DIRECTORS CONFIGURATION #
# Specifies how local addresses are handled #
######################################################################
# Since ASL has no local users, this Section is empty
fail_percent:
driver = smartuser
local_parts = ^.*[%@"'/]
new_address = ":fail: no funky characters in addresses here"
end
######################################################################
# Section 4 - ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# This router passes on messages for which we have a specific SMTP route
smtp_router:
driver = domainlist
transport = remote_smtp
route_file = /etc/exim.smtproutes
search_type = lsearch
# This router routes to remote hosts over SMTP using a DNS lookup. Any domain
# that resolves to an IP address on the loopback interface (127.0.0.0/8) is
# treated as if it had no DNS entry.
lookuphost:
driver = lookuphost
transport = remote_smtp
ignore_target_hosts = 127.0.0.0/8
no_more
self = pass
fail_percent:
driver = domainlist
local_parts = ^.*[%@"'/]
route_list = * 127.0.0.1 byname
self = local
end
######################################################################
# Section 5 - RETRY CONFIGURATION #
######################################################################
# This single retry rule applies to all domains and all errors. It specifies
# retries every 15 minutes for 2 hours, then increasing retry intervals,
# starting at 1 hour and increasing each time by a factor of 1.5, up to 16
# hours, then retries every 8 hours until 4 days have passed since the first
# failed delivery.
# Domain Error Retries
# ------ ----- -------
* * F,2h,15m; G,16h,1h,1.5; F,4d,8h
end
######################################################################
# Section 6 - REWRITE CONFIGURATION #
######################################################################
# This section is empty since ASL does not use rewrites ATM.
end
######################################################################
# Section 7 - AUTHENTICATION CONFIGURATION #
######################################################################
# CRAM method for Eudora
#cram:
# driver = cram_md5
# public_name = CRAM-MD5
# server_secret = ${if eq{$1}{ph10}{secret1}fail}
# client_name = ph10
# client_secret = secret2
# PLAIN method for Netscape type
plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if pam{$2:$3}{1}{0}}"
server_set_id = $2
# LOGIN method for Outlook type
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if pam{$1:$2}{1}{0}}"
server_set_id = $1
end
######################################################################
# End of Exim configuration file #
######################################################################
This thread was automatically locked due to age.