Author: Jonathan Gilpin
Date:
To: exim users
Subject: [exim] Auth not advertising to EHLO
Hi there,
I have a server which is not advertising SMTP Authentication even
though it is enabled..
mailstore# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mailstore.fluent.ltd.uk ESMTP Sendmail 8.14.3/8.14.3; Mon, 2 Nov
2009 17:26:04 GMT
ehlo there
250-mailstore.fluent.ltd.uk Hello localhost [127.0.0.1], pleased to
meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
The config shows it should be working fine.. Anyone got any ideas?
mailstore# exim -bP authenticators
fixed_plain authenticator:
client_condition =
driver = plaintext
public_name = PLAIN
server_advertise_condition =
server_condition = ${lookup mysql{SELECT concat(local_part,'@',domain)
FROM emailtable WHERE (concat(local_part,'@',domain) ='$2' OR email =
'$1') AND password='$3'}{1}fail}
server_debug_print =
server_mail_auth_condition =
server_set_id = $2
no_client_ignore_invalid_base64
client_send =
server_prompts =
fixed_login authenticator:
client_condition =
driver = plaintext
public_name = LOGIN
server_advertise_condition =
server_condition = ${lookup mysql{SELECT concat(local_part,'@',domain)
FROM emailtable WHERE (concat(local_part,'@',domain) = '$1' OR email =
'$1') AND password='$2'}{1}fail}
server_debug_print =
server_mail_auth_condition =
server_set_id = $1
no_client_ignore_invalid_base64
client_send =
server_prompts = Username:: : Password::
mailstore# exim -d
Exim version 4.69 (FreeBSD 7.2) uid=0 gid=0 pid=36780 D=fbb95cfd
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() IPv6 use_setclassresources PAM Perl
Expand_dlfunc OpenSSL Content_Scanning Old_Demime Experimental_SPF
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
dnsdb dsearch mysql nis nis0 passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
mailstore# exim -bP
no_accept_8bitmime
acl_not_smtp =
acl_not_smtp_mime =
acl_not_smtp_start =
acl_smtp_auth =
acl_smtp_connect =
acl_smtp_data = acl_check_data
acl_smtp_etrn =
acl_smtp_expn =
acl_smtp_helo =
acl_smtp_mail =
acl_smtp_mailauth =
acl_smtp_mime =
acl_smtp_notquit =
acl_smtp_predata =
acl_smtp_quit =
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_starttls =
acl_smtp_vrfy =
admin_groups =
no_allow_domain_literals
no_allow_mx_to_ip
no_allow_utf8_domains
auth_advertise_hosts = *
auto_thaw = 0s
av_scanner = clamd:/var/run/clamav/clamd.sock
bi_command =
bounce_message_file =
bounce_message_text =
bounce_return_body
bounce_return_message
bounce_return_size_limit = 20K
bounce_sender_authentication =
callout_domain_negative_expire = 3h
callout_domain_positive_expire = 1w
callout_negative_expire = 2h
callout_positive_expire = 1d
callout_random_local_part = $primary_hostname-$tod_epoch-testing
check_log_inodes = 0
check_log_space = 20M
check_rfc2047_length
check_spool_inodes = 0
check_spool_space = 50M
daemon_smtp_ports = smtp
daemon_startup_retries = 9
daemon_startup_sleep = 30s
delay_warning = 1d
delay_warning_condition = ${if or {{ !eq{$h_list-id:$h_list-post:
$h_list-subscribe:}{} }{ match{$h_precedence:}{(?i)bulk|list|junk} }
{ match{$h_auto-submitted:}{(?i)auto-generated|auto-replied} }} {no}
{yes}}
no_deliver_drop_privilege
deliver_queue_load_max = 40.0
delivery_date_remove
no_disable_ipv6
dns_again_means_nonexist =
dns_check_names_pattern = (?i)^(?>(?(1)\.|())[^\W_](?>[a-z0-9/-]*[^
\W_])?)+$
dns_csa_search_limit = 5
dns_csa_use_reverse
dns_ipv4_lookup =
dns_retrans = 0s
dns_retry = 0
no_drop_cr
dsn_from = Mail Delivery System <Mailer-Daemon@$qualify_domain>
envelope_to_remove
errors_copy =
errors_reply_to =
exim_group = mail
exim_path = /usr/local/sbin/exim
exim_user = mailnull
extra_local_interfaces =
extract_addresses_remove_arguments
finduser_retries = 0
freeze_tell =
gecos_name =
gecos_pattern =
gnutls_require_kx =
gnutls_require_mac =
gnutls_require_protocols =
header_line_maxsize = 0
header_maxsize = 1048576
headers_charset = ISO-8859-1
helo_accept_junk_hosts =
helo_allow_chars =
helo_lookup_domains = @ : @[]
helo_try_verify_hosts =
helo_verify_hosts =
hold_domains =
host_lookup = *
host_lookup_order = bydns:byaddr
host_reject_connection =
hosts_connection_nolog =
hosts_treat_as_local =
ignore_bounce_errors_after = 2h
ignore_fromline_hosts =
no_ignore_fromline_local
keep_malformed = 4d
local_from_check
local_from_prefix =
local_from_suffix =
local_interfaces = IP.25 : IP.250 : IP.587
local_scan_timeout = 5m
no_local_sender_retain
localhost_number =
log_file_path = /var/log/exim/%slog
log_selector =
no_log_timezone
lookup_open_max = 25
max_username_length = 0
no_message_body_newlines
message_body_visible = 500
message_id_header_domain =
message_id_header_text =
message_logs
message_size_limit = 50M
no_mua_wrapper
mysql_servers = localhost/exim/user/pass
never_users = root
percent_hack_domains =
no_perl_at_start
perl_startup =
pid_file_path = /var/run/exim.pid
pipelining_advertise_hosts = *
no_preserve_message_logs
primary_hostname = backupmx.domain.com
no_print_topbitchars
process_log_path =
prod_requires_admin
qualify_domain = backupmx.domain.com
qualify_recipient = backupmx.domain.com
queue_domains =
queue_list_requires_admin
no_queue_only
queue_only_file =
queue_only_load = 20.0
queue_only_load_latch
queue_only_override
no_queue_run_in_order
queue_run_max = 5
queue_smtp_domains =
receive_timeout = 0s
received_header_text = Received: ${if def:sender_rcvhost {from
$sender_rcvhost\n\t}{${if def:sender_ident {from ${quote_local_part:
$sender_ident} }}${if def:sender_helo_name {(helo=$sender_helo_name)\n
\t}}}}by $primary_hostname ${if def:received_protocol {with
$received_protocol}} ${if def:tls_cipher {($tls_cipher)\n\t}}(Exim
$version_number (FreeBSD))\n\t${if def:sender_address {(envelope-from <
$sender_address>)\n\t}}id $message_exim_id${if def:received_for {\n
\tfor $received_for}}
received_headers_max = 30
recipient_unqualified_hosts =
recipients_max = 0
no_recipients_max_reject
remote_max_parallel = 20
remote_sort_domains =
retry_data_expire = 1w
retry_interval_max = 1d
return_path_remove
rfc1413_hosts = *
rfc1413_query_timeout = 0s
sender_unqualified_hosts =
smtp_accept_keepalive
smtp_accept_max = 500
smtp_accept_max_nonmail = 10
smtp_accept_max_nonmail_hosts = *
smtp_accept_max_per_connection = 1000
smtp_accept_max_per_host =
smtp_accept_queue = 0
smtp_accept_queue_per_connection = 1000
smtp_accept_reserve = 0
smtp_active_hostname =
smtp_banner = $smtp_active_hostname ESMTP Exim $version_number $tod_full
smtp_check_spool_space
smtp_connect_backlog = 20
no_smtp_enforce_sync
smtp_etrn_command =
smtp_etrn_serialize
smtp_load_reserve =
smtp_max_synprot_errors = 3
smtp_max_unknown_commands = 3
smtp_ratelimit_hosts =
smtp_ratelimit_mail =
smtp_ratelimit_rcpt =
smtp_receive_timeout = 5m
smtp_reserve_hosts =
no_smtp_return_error_details
spamd_address = 127.0.0.1 783
no_split_spool_directory
spool_directory = /var/spool/exim
no_strict_acl_vars
no_strip_excess_angle_brackets
no_strip_trailing_dot
syslog_duplication
syslog_facility =
syslog_processname = exim
syslog_timestamp
system_filter =
system_filter_directory_transport =
system_filter_file_transport =
system_filter_group =
system_filter_pipe_transport =
system_filter_reply_transport =
system_filter_user =
tcp_nodelay
timeout_frozen_after = 4d
timezone =
tls_advertise_hosts =
tls_certificate =
tls_crl =
tls_dhparam =
tls_on_connect_ports =
tls_privatekey =
no_tls_remember_esmtp
tls_require_ciphers =
tls_try_verify_hosts =
tls_verify_certificates =
tls_verify_hosts =
trusted_groups =
trusted_users = mailnull
unknown_login =
unknown_username =
untrusted_set_sender =
uucp_from_pattern = ^From\s+(\S+)\s+(?:[a-zA-Z]{3},?\s+)?(?:[a-zA-Z]
{3}\s+\d?\d|\d?\d\s+[a-zA-Z]{3}\s+\d\d(?:\d\d)?)\s+\d\d?:\d\d?
uucp_from_sender = $1
warn_message_file =
write_rejectlog