Bambero | 27 May 08:49 2016
Picon

dnslookup + local_domains


Hi,

I need the following functionality of dnslookup router:

1. First always check for MX
2. If remote, deliver to remote server
3. If MX is local check in local_domains - deliver localy
4. Otherwise return error

This order is necesairy on shared hosting where, users can add any domains.

Is it possible with Exim?

When I'm trying this configuration (with local_domains disabled)

dnslookup:
  driver = dnslookup
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 <http://127.0.0.0/8>
  no_more

I got an error:

May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
lowest numbered MX record points to local host: mydomain.pl
<http://mydomain.pl>
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
== test <at> mydomain.pl <mailto:test <at> mydomain.pl> R=dnslookup defer (-1):
lowest numbered MX record points to local host
(Continue reading)

Bambero | 25 May 23:21 2016
Picon

dnslookup + local_domains

Hi,

I need the following functionality of dnslookup router:

1. First always check for MX
2. If remote, deliver to remote server
3. If MX is local check in local_domains - deliver localy
4. Otherwise return error

This order is necesairy on shared hosting where, users can add any domains.

Is it possible with Exim?

When I'm trying this configuration (with local_domains disabled)

dnslookup:
  driver = dnslookup
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more

I got an error:

May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
lowest numbered MX record points to local host: mydomain.pl
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b ==
test <at> mydomain.pl R=dnslookup defer (-1): lowest numbered MX record points
to local host
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
Frozen
(Continue reading)

Jonathan Gilpin | 25 May 21:48 2016
Picon

Redirecting mails with Zip attachments with Exim

hi,

I am trying to setup al_smtp_mime to block some attachments which is working fine and also forward any
attachments containing zips to a specific mailbox..

I found some code in Google which led me to produce this:

acl_check_mime:

   deny message = Blacklisted file extension detected
   condition = ${if match {${lc:$mime_filename}}{\N(\.ade|\.adp|\.bat|\.chm|\.cmd|\.com|\.cpl|\.exe|\.hta|\.ins|\.isp|\.jse|\.lib|\.lnk|\.mde|\.msc|\.msp|\.mst|\.pif|\.scr|\.sct|\.shb|\.sys|\.vb|\.vbe|\.vbs|\.vxd|\.wsc|\.wsf|\.wsh)$\N}{1}{0}}

# redirection of zip files to a special account
warn    message = X-Redirect-To: jodie <at> fluent.ltd.uk
        condition = ${if match {${lc:$mime_filename}}{\N(\.zip)$\N}{1}{0}}

accept

I also have the following router:

zip_redirect:
      driver = redirect
      condition = ${if def:h_X-Redirect-To: {1}{0}}
      headers_add = X-Original-Recipient: $local_part <at> $domain
      data = $h_X-Redirect-To:
#      headers_remove = X-Redirect-Zip-To
      redirect_router = dnslookup

However, while the block for certain attachments is not working, the Zip files are delivered as normal and
the ACL does not seem to do anything..
(Continue reading)

Dennis Isaías Cervantes | 26 May 18:18 2016

exim acl check helo conf

Hi

Hello

first of all ask you to excuse my language, because I'm Latin and I helped
translators

I could explain that makes this acl:

acl_check_helo:

# Include Vexim specific helo ACLs

  .include /etc/exim/vexim-acl-check-helo.conf

and also makes the file vexim-acl-check-helo.conf

I recently had a problem telling me that many connections were made at
sevidor smtp and users could not send emails, I found this in the log exim

2016-05-26 05:11:14 H=(ip-static-173-243-124-205.as5577.net)
[173.243.124.205] rejected EHLO or HELO
ip-static--173-243-124-205.as5577.net: "Dropped spammer pretending to be us"

a line like this, then my question is whether I should block those ips in
the file or directly ip_tables ¿?

Thanks for your help

--

-- 
(Continue reading)

Cyborg | 25 May 16:13 2016
Picon

minor "what the heck.." :)

Hello Jeremy,

Just found this ins my logfile :

2016-05-25 16:11:43 1b5ZXD-0005mI-HV string_sprintf expansion was longer
than 32768 (%s Warning: %s)

very helpful :)

Exim 4.85_2 3.3.2016 FC22

best regards,
Marius

--

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Sven Eschenberg | 24 May 16:59 2016
Picon
Picon

Exim's smtp_active_hostname option

Hi list,

Exim and I did get along quite well in the past, well at least mostly, 
as it usually was quite well behaving. Unfortunately exim and I do have 
a dispute over the appropriate behavior regarding smtp_active_hostname.

The documentation states (v4.87) for smtp_active_hostname:
At the start of an incoming SMTP connection, its value is expanded and 
used instead of the value of $primary_hostname in SMTP responses.

While this seems reasonable it does seem to imply that no expansion 
takes place whenever neither smtp is used nor a connection is coming in. 
Unfortunately I had to realize that exim still expands 
smtp_active_hostname for locally incoming mail. Does this even make 
sense and is this behavior really intended?

Thanks for your input

Regards

-Sven

--

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Sergio | 24 May 22:46 2016
Picon

Failed to expand ACL string

Hi, all.

My exim started to show this error since this morning update.

Any hint on how to solve this is appreciated.

F=<> rejected by non-SMTP ACL: failed to expand ACL string "${if
eq{$originator_uid}{${perl{user2uid}{nobody}}}{1}{0}}":
Undefined subroutine &main::user2uid called.

Best Regards,

Sergio
--

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Marco | 21 May 22:10 2016
Picon

Exim and long 550 custom message

Hi,for protect myself from SPAM as my VPS control panel is working on AntiSpam I have a check into exim with
long 550 error message:

  deny message = Message temporary rejected for SPAM - $sender_fullhost is in an RBL, see $dnslist_text
contact support at address (link removed) more info at (link removed)
      dnslists = bl.spamcop.net : zen.spamhaus.org : b.barracudacentral.org : cbl.abuseat.org :
ips.backscatterer.org : dnsbl-1.uceprotect.net : dnsbl-2.uceprotect.net : dnsbl-3.uceprotect.net

now, when this message is printed in the Delivery mail is splitted as:
The error that the other server returned was:
550-Message rejected for SPAM - mail-wm0-f44.google.com [74.125.82.44] is in an
550-RBL, see Sorry 74.125.82.44 is blacklisted at
550-(link removed) contact support at
550-(link removed) more info at
550 (link removed)

How I can remove 550- from each line?
Maybe I need put a code split message into exim.conf? the 550- before the links make the links not work

Thanks
--

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
James Gibbard | 18 May 11:43 2016
Picon

Error compiling Exim4.87 with SPF on UbuntuXenial

Hi,

Platform:

Ubuntu 1604 (xenial) x64_86
Exim: 4.87 from source
libspf2-2: 1.2.10-6build1 (from repo. also tried different versions from source)
gcc: 5.3.1

When running make, I get the following error:

drtables.o: In function `init_lookup_list':
drtables.c:(.text+0x1ff): undefined reference to `spf_lookup_module_info'
collect2: error: ld returned 1 exit status
Makefile:450: recipe for target 'exim' failed

I have tried CFLAG and EXTRALIBS_EXIM as suggested by experimental
doc, and setting CFLAGS AND LDFLAGS as per the sample Makefile. Same
error for both.

On Ubuntu 1404(trusty), this works fine, even without changing the
CFLAGS and LDFLAGS at all.

Has anyone managed to compile 4.87 on Xenial with SPF support?

Jamie

--

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
(Continue reading)

Jorge | 20 May 15:41 2016
Picon

Drop failed authenticated users as quickly as I can

I want to implement a control on my mail server to drop failed authenticated 
users as quickly as I can.

Actually, my configure file look like as:

...

acl_smtp_auth = smtp_auth
acl_smtp_rcpt = check_rcpt
acl_smtp_data = check_spam
...

begin acl

smtp_auth:
  accept

check_rcpt:
  accept  authenticated = fixed_login

  accept  condition     = ${perl{check_deliver}{$domain}{$local_part}}

  accept  condition     = ${perl{checkvalias}{$domain}{$local_part}}

  deny    message = User unknown

check_spam:
  warn
 condition = ${if <{$message_size}{SPAM_CHK_MAXSIZE}{1}{0}}
 message = X-Spam-Score-Int: $spam_score_int
(Continue reading)

Kai Risku | 19 May 09:16 2016
Picon

Exim 4.87 - mail delivery or logging failure?

Does anybody have any thoughts on this issue?
Unfortunately I have no more information than given previously..

--
Kai.Risku <at> arrak.fi     GSM  +358-40-767 8282
Oy Arrak Software Ab   http://www.arrak.fi




-----Original Message-----
From: Kai Risku [mailto:kai.risku <at> arrak.fi] 
Sent: Wednesday, April 20, 2016 10:17 AM
To: exim-users <at> exim.org
Subject: RE: [exim-announce] Exim 4.87 Released

I have found some problems with remote deliveries or delivery logging, 
cannot really say which..

Upgraded from 4.84 to 4.87 and on exactly one fairly busy production system 
a small portion (~5%) of deliveries are not logged properly.

Grepping a specific message id from the log finds only the following lines 
(sensitive data replaced by xxx):

2016-04-18 20:34:58 1asD4c-0002xi-2T <= xxx <at> xxx U=root P=spam-scanned 
S=33688 id=20160418203458-gktif3jm2yzc <at> xxx T="xxx" from <xxx <at> xxx> for 
xxx <at> xxx
2016-04-18 20:36:16 1asD4c-0002xi-2T Completed

I have actually no idea if the message has been delivered or not. Has 
(Continue reading)


Gmane