Re: [exim] exim -bt not working

Pàgina inicial
Delete this message
Reply to this message
Autor: Alvaro Lacerda
Data:  
A: exim-users
Assumpte: Re: [exim] exim -bt not working
Hi Heiko,

Thanks for the info and help. I installed exim from the yum command from
a Centos 7.3.1611 machine.

I talked to one of my coworkers and figured out that I was missing the
sql plugin for exim, so that's all-set and I'm able to run *exim -bt*
foo@??? and get a route/path result.

But now I'm running into a different issue, my email is just stuck on
/var/spool/exim.in/input . I'm not sure what I'm missing here.

I'm using Exim 4.89 with MailScanner.

I appreciate your help!


These are my configurations:

*exim -bV*


Exim version 4.89 #1 built 10-Mar-2017 12:38:46
Copyright (c) University of Cambridge, 1995 - 2017
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007
- 2017
Berkeley DB: Berkeley DB 5.3.21: (May 11, 2012)
Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc TCPwrappers
OpenSSL Content_Scanning DKIM DNSSEC Event OCSP PRDR TCP_Fast_Open
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm
dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm nis nis0 nisplus passwd sqlite
Authenticators: cram_md5 cyrus_sasl dovecot gsasl plaintext spa tls
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
2017-04-05 12:09:08 Warning: purging the environment.
Suggested action: use keep_environment.
Configuration file is /etc/exim/exim.conf

*exim -bP*

accept_8bitmime
acl_not_smtp =
acl_not_smtp_mime =
acl_not_smtp_start =
acl_smtp_auth =
acl_smtp_connect = acl_connect
acl_smtp_data =
acl_smtp_data_prdr = accept
acl_smtp_dkim =
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 =
add_environment =
admin_groups =
no_allow_domain_literals
no_allow_mx_to_ip
no_allow_utf8_domains
auth_advertise_hosts = *
auto_thaw = 0s
av_scanner = sophie:/var/run/sophie
bi_command =
bounce_message_file =
bounce_message_text =
bounce_return_body
bounce_return_linesize_limit = 998
bounce_return_message
bounce_return_size_limit = 100K
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 = 100
check_log_space = 10M
check_rfc2047_length
check_spool_inodes = 100
check_spool_space = 10M
chunking_advertise_hosts = *
daemon_smtp_ports = smtp
daemon_startup_retries = 9
daemon_startup_sleep = 30s
no_debug_store
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 =
delivery_date_remove
no_disable_ipv6
dkim_verify_signers = $dkim_signers
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_dnssec_ok = -1
dns_ipv4_lookup =
dns_retrans = 0s
dns_retry = 0
dns_trust_aa =
dns_use_edns0 = -1
no_drop_cr
dsn_advertise_hosts =
dsn_from = Mail Delivery System <Mailer-Daemon@$qualify_domain>
envelope_to_remove
errors_copy =
errors_reply_to =
event_action =
exim_group = exim
exim_path = /usr/sbin/exim
exim_user = exim
extra_local_interfaces =
extract_addresses_remove_arguments
finduser_retries = 0
freeze_tell =
gecos_name =
gecos_pattern =
no_gnutls_allow_auto_pkcs11
no_gnutls_compat_mode
header_line_maxsize = 0
header_maxsize = 1048576
headers_charset = UTF-8
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 = 1d
ignore_fromline_hosts =
no_ignore_fromline_local
keep_environment =
keep_malformed = 4d
ldap_ca_cert_dir =
ldap_ca_cert_file =
ldap_cert_file =
ldap_cert_key =
ldap_cipher_suite =
ldap_default_servers =
ldap_require_cert =
no_ldap_start_tls
ldap_version = -1
local_from_check
local_from_prefix =
local_from_suffix =
local_interfaces = <; ::0 ; 0.0.0.0
local_scan_path =
local_scan_timeout = 5m
no_local_sender_retain
localhost_number =
log_file_path = /var/spool/exim/log/%slog
log_selector = +subject +deliver_time +queue_time_overall +tls_peerdn
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 = kent/email/email/j4v4net
never_users = root
openssl_options =
percent_hack_domains =
no_perl_at_start
perl_startup =
no_perl_taintmode
pgsql_servers =
pid_file_path = /var/run/exim.pid
pipelining_advertise_hosts = :
no_prdr_enable
no_preserve_message_logs
primary_hostname = postman1.cantella.com
no_print_topbitchars
process_log_path = /var/spool/exim/exim-process.info
prod_requires_admin
qualify_domain = cantella.com
qualify_recipient = cantella.com
queue_domains =
queue_list_requires_admin
queue_only
queue_only_file =
queue_only_load =
queue_only_load_latch
no_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)\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 = 2
remote_sort_domains =
retry_data_expire = 1w
retry_interval_max = 1d
return_path_remove
rfc1413_hosts = :
rfc1413_query_timeout = 1s
sender_unqualified_hosts =
slow_lookup_log = 0
smtp_accept_keepalive
smtp_accept_max = 25000
smtp_accept_max_nonmail = 10
smtp_accept_max_nonmail_hosts = *
smtp_accept_max_per_connection = 1000
smtp_accept_max_per_host = 25000
smtp_accept_queue = 25000
smtp_accept_queue_per_connection = 10
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
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_reserve_hosts =
no_smtp_return_error_details
spamd_address = 127.0.0.1 783
no_split_spool_directory
spool_directory = /var/spool/exim.in
sqlite_lock_timeout = 5
no_strict_acl_vars
no_strip_excess_angle_brackets
no_strip_trailing_dot
syslog_duplication
syslog_facility =
syslog_pid
syslog_processname = exim
syslog_timestamp
system_filter = /etc/exim/exim_filters.conf
system_filter_directory_transport =
system_filter_file_transport =
system_filter_group = exim
system_filter_pipe_transport =
system_filter_reply_transport =
system_filter_user = exim
tcp_nodelay
tcp_wrappers_daemon_name = exim
timeout_frozen_after = 3d
timezone =
tls_advertise_hosts = *
tls_certificate = /etc/exim/ssl/wildcard_cantella_com.crt.chained
tls_crl =
tls_dh_max_bits = 2236
tls_dhparam =
tls_eccurve = auto
tls_ocsp_file =
tls_on_connect_ports =
tls_privatekey = /etc/exim/ssl/wildcard_cantella_com.key
no_tls_remember_esmtp
tls_require_ciphers = TLSv1+HIGH : !SSLv2 : RC4+MEDIUM : !aNULL : !eNULL
: !3DES : @STRENGTH
tls_try_verify_hosts =
tls_verify_certificates = system
tls_verify_hosts =
trusted_groups =
trusted_users =
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





On 04/03/2017 02:54 PM, Heiko Schlittermann via Exim-users wrote:
> Hi,
>
> Alvaro Lacerda <alacerda@???> (Mo 03 Apr 2017 16:02:31 CEST):
>> Hi All,
>>
>> When I try to see if an email can be reached through the command 'exim -bt
>> "foo@???" ' I keep getting an error saying: "foo@??? cannot
>> be resolved at this time: Temporary internal error"
> Looks like mis-configuration.
>
>> Whenever I try to send emails through "exim -v foo@???" my messages
>> just keep stuck in /var/spool/exim.in/input and it never goes anywhere as
>> well.
> Yes, if there is an mis-configuration, but not wrong enough to prevent
> Exim from accepting the message, this is the expected behaviour.
>
>      exipick

>
> will show you your messages (the spool directory doesn't matter)
>
>> When I check my logs in /var/spool/exim/log/ this is what I get for each
>> log:
>>
>> Suggested action: use keep_environment.
> (Unrelated here, but for completness: you should set keep_environment =
> in your configuration.)
>
>> 2017-04-03 09:44:10 exim 4.88 daemon started: pid=32236, no queue runs,
>> listening for SMTP on port 465 (IPv6 and IPv4)
>> 2017-04-03 09:44:14 exim 4.88 daemon started: pid=32249, -q1h, listening for
>> SMTP on port 25 (IPv6 and IPv4)
>> 2017-04-03 09:44:14 exim user lost privilege for using -C option
> Do you start several instances of the Daemon? That's not the usual
> setup. The last instance you start using -C …? For security reasons this
> instance will run under some restrictions.
>
> Normally you'd start one instance, listening on all ports (25, 465 in
> your case)
>
>> rejectlog:
>>
>> 2017-03-30 03:19:02 H=localhost (postman1.cantell.com) [127.0.0.1] sender
>> verify defer for <root@???>: Temporary internal error
>> 2017-03-30 03:19:02 H=localhost (postman1.cantell.com) [127.0.0.1]
>> X=TLSv1.2:ECDHE-RSA-AES256-SHA:256 CV=no F=<root@???>
>> temporarily rejected RCPT <root@???>: unknown lookup type
>> "mysql"
> Search for "mysql" in your configuration. I think, you'll find something
> like ${lookup mysql{….}}. To make this work, your Exim needs to be built
> with mysql support.
>
>      exim -bV

>
> tells you what lookup types are supported. Some distros package
> two different versions, a light and a heavy one. Did you build the Exim
> from the sources? If so, you, you need to find MYSQL in the
> Local/Makefile and enable it. If you have a distro package, check if
> there is a package, supporting mysql.
>
> Or, but probably not very likely, a simple configuration issue, syntax
> error in defining a lookup. Try posting the output
>
>      exim -bP config

>
> *but check for passwords or similiar stuff*.
>
>
> [deleted 28 lines disclaimer]
>
>      Best regards from Dresden/Germany
>      Viele Grüße aus Dresden
>      Heiko Schlittermann

>
>


--
Alvaro Lacerda
Cantella IT Department
Cantella & Co., Inc.
(617)224-1415



--
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete this material from any computer.

Cantella does not permit execution of trades requested by email. Please call to ensure prompt execution of orders, as we are not responsible for orders transmitted through email.

Investing involves risk and you may incur a profit or a loss. Please carefully consider investment objectives, risks, charges, and expenses before investing. Cantella & Co., Inc. does not provide legal or tax advice. For legal or tax advice, please seek the services of a qualified professional. The performance data featured represents past performance, which is no guarantee of future results. Mutual funds and UITs are sold by prospectus only. Please carefully consider the fund's investment objective, risks, charges and expenses applicable to a continued investment in the fund before investing. For this and other information, call or write for a free prospectus, or view one online. Read it carefully before you invest or send money.

Fixed income is subject to availability and change in price. Bonds are subject to market and interest rate risk if sold prior to maturity. Interest rate increases can cause the price of a debt security to decrease. Interest income may be subject to federal, state, local, and/or alternative minimum tax.

In accordance with industry regulations, all messages are retained and are subject to monitoring.

This message has been scanned for viruses and dangerous content and is believed to be clean.

Securities offered through Cantella & Co., Inc., Member FINRA/SIPC.
Home Office: 28 State St 40th Floor, Boston, MA 02109
Telephone: (800)652-8358