Konstantin | 19 Nov 17:11 2014
Picon

return value from external script

Hi

Can you please help me to find a way how to configure exim make following
things:
1 send whole message to external script (application)
2 return a value from executed script to a variable

I found that i can use pipe in filter with unseen option. In this case i
can add custom X-header, re-inject message to exim and play with X-header.
But i do not like to re-inject message from script.

I found similar actions in wishlist (195).
If you know if i can implement that please explain me the right way.

Thank you.
-- 
*This message was delivered using 100% recycled electrons*.
--

-- 
## 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/

Lena | 18 Nov 19:43 2014
Picon

Re: Disable exim for local users

> From: Jean Respen

> acl_test:

I assume acl_not_smtp = acl_test

> when a user
> is a "spammer", exim sends an error code to user <at> mydomain.com, can I
> disable such a response?

"discard" instead of "deny".

--

-- 
## 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/

Michał Giżyński | 18 Nov 12:49 2014
Picon

Outlook 2013 receives incorrect message

Hi,
I have an acl which rejects some messages:

deny message = This message contain spam and was rejected, if you don't agree with that please contact us (0011223344).
log_message = This message contain spam
condition = whatever

Thunderbird receive whole statement "This message contain spam and was rejected, if you don't agree with
that please contact us (0011223344)" whereas Outlook 2013 receive only 20 characters from last line of
message "please contact us (0".

Below tcpflow log:
x.x.x.x.00587-y.y.y.y.35189: 550-This message contain spam and was rejected, if you don't agree with that
550 please contact us (0011223344).

Have you ever seen this before ?

-- 
Greetings
Michal

--

-- 
## 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/

Matthias Hank | 18 Nov 10:33 2014
Picon

Copy/duplicate a mail depending of the sender address

Hi,

i need to duplicate specific mails in exim depending on the sender address.

I have this working for now:

copyrouter:
        driver = redirect
        senders = localpart1 <at> some.dom.ain
        data = localpart1 <at> other.dom.ain
        unseen
        no_verify

So for more senders i could use more routers like this, but maybe a lookup
to a textfile would scale better.

I thought about a file (eg. /etc/exim4/copylist) with pairs of

localpart1 <at> some.dom.ain: localpart1 <at> other.dom.ain
localpart2 <at> some.dom.ain: localpart2 <at> other.dom.ain

and so on, but i could not figure out how to lookup and use these entries
in a router.

Can someone help me with an example how to do that?

Greetings,

Matthias

(Continue reading)

modjklist | 17 Nov 18:29 2014
Picon
Picon

is it possible to whitelist specific IP or port 26 to allow plain-text logins?

Hi, I have two CentOS Linux servers. One server has IP address xxx.xxx.xxx.02 and Exim 4.82 #2, and
Cpanel/WHM. The second server xxx.xxx.xxx.01 has a database that sends email through xxx.xxx.xxx.02,
and required plain-text login on port 26.

For business reasons I need to disable plain-text logins on port 25. 

I see that I can do this by logging into WHM, visiting the Exim Configuration Manager, clicking on the
Security tab and turning ON the option for: 

  Require clients to connect with SSL or issue the STARTTLS command before they are allowed to authenticate
with the server. 

However, this apparently effects port 26 as well. 

I'm wondering if it's possible to configure exim to allow the database at xxx.xxx.xxx.01 to send email
through xxx.xxx.xxx.02 with the option turned ON for "Require clients to connect with SSL or issue the
STARTTLS command before they are allowed to authenticate with the server".

More specifically, are either of the following 2 workarounds possible?

1. Manually edit /etc/exim.conf file (or use WHM/Cpanel, etc.) to whitelist IP address xxx.xxx.xxx.01 so
that this address is allowed to login using plain text login (whereas all other IP addresses are not).

or,

2. Manually edit /etc/exim.conf file (or use WHM/Cpanel, etc.) to whitelist port 26 from the rule turned ON
in Cpanel for "Require clients to connect with SSL or issue the STARTTLS command before they are allowed to
authenticate with the server", such that this rule does NOT apply to port 26 (but it DOES apply to port 25).

--

-- 
(Continue reading)

Heiko Schlittermann | 17 Nov 15:08 2014
Picon

cutthrough, defer condition = $recipients_count => co0

Hello,

I'm trying to limit the number of recipients of an incoming message in
order to make cutthrough delivery working (since it works with one
recipient only, currently).

I've setup the rcpt acl:

    defer domains = example.com
          condition = $recipients_count

    warn  domains = example.com
          control = cutthrough_delivery

    …

    accept

Sending now to two recpiens:

    …
    -> RCPT TO:<peter.[hidden] <at> foo.[hidden].de>
    <-  250 Accepted
    -> RCPT TO:<foo <at> foo.[hidden].de>
    <** 451 Temporary local problem - please try later      <--- expected
    -> DATA
    …
    <-  250 OK id=1XqMmX-0004fk-Fe

Here the log:
(Continue reading)

Jean Respen | 16 Nov 15:24 2014
Picon

Disable exim for local users

Hello all,

On my webservers, users are sending emails with PHP using Exim4. I know
exactly which user is sending as every user using PHP has a system account.
How can I disable an account from sending emails (as local_sender_blacklist
is not working for users sending on 127.0.0.1)?

Is there a best way than writing a script that runs every 5 minutes to
check in exim/mainlog if a user is sending more than say 100 mails per 5
minutes? For example is there a way to put a "quota" with Exim?

Thanks a lot,

Best regards,

Jean
--

-- 
## 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/

Paul Muster | 13 Nov 21:31 2014
Picon

DKIM inbound checking

Hello there,

my goal is to reject emails from domains that well-known use DKIM for 
their outbound emails if signature is missing or invalid. But - because 
I receive emails from many mailing lists - only if sender_domain is one 
of these well-known senders.

Does this ACL do the job?

	deny 	message 	= DKIM check failed
  		sender_domains 	= gmail.com:ebay.com:ebay.de:paypal.com
  		dkim_signers 	= gmail.com:ebay.com:ebay.de:paypal.com
		dkim_verify_signers = $sender_address_domain
		dkim_status 	= none:invalid:fail

Thanks & greetings,

Paul

--

-- 
## 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/

Benoît PELISSIER | 12 Nov 11:23 2014
Picon

host_lookup ?

Hi all,

I wanna change this Host field :

<= root <at> pouet.fr H=truc.alpha.local (Truc.pouet.fr) [192.168.XXX.XXX]

in :

<= root <at> pouet.fr H=Truc.pouet.fr [192.168.XXX.XXX]

How can i do this ?

My exim4 do dnslookup first to resolve 192.168.XXX.XXX that why he find 
truc.alpha.local.

Thanks for your replies

Benoît
Attachment (bpelissier.vcf): text/x-vcard, 508 bytes
--

-- 
## 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/
Heiko Schlittermann | 13 Nov 13:38 2014
Picon

verify = recipient/callout --> Exchange2013

Hi,

we are about to forward messages from outside to an internel
Exchange2013 server.

It seems that the Exchange2013 does not cooperate well with the callouts
for recipient verification:

    mail from:<sender <at> sendedomain.de>250 2.1.0 Sender OK
    rcpt to:<empfang <at> empfangsdomäne.local>
    250 2.1.5 Recipient OK
    data
    354 Start mail input; end with <CRLF>.<CRLF>
    Test
    .
    550 5.1.1 User unknown   <------------- TOO LATE for Exim
    --

The "User unknown" response is delayed until the end of the data phase.

Can anybody confirm this behaviour?

Was anybody successful in changing the behaviour to what Exim
expects (5xx already at RCPT time)?

Yes, I know, using cutthrough routing/delivery could partially solve my
problem. But it's limited to one recipient per message, if I got it
right.

    Best regards from Dresden/Germany
(Continue reading)

Rob Gunther | 13 Nov 02:02 2014
Picon

(110): Connection timed out

I have a user who contacted me, saying that he is not getting his mail.
This is on a server that processes mail for thousands of domains and lots
of messages every day.

So I checked the logs and see EXIM reporting a connection timed out.  That
normally indicates the remote server is offline, firewall, networking issue
etc.

2014-11-12 15:59:22 1XoJ6d-0006S3-Io exchange.lahore.com [82.71.51.200]
Connection timed out
2014-11-12 15:59:22 1XoJ6d-0006S3-Io == shahid <at> lahore.com R=ik_router
T=remote_smtp defer (110): Connection timed out

A manual connection to the server via telnet works, I can connect and
deliver mail.

Seems odd.

In rare situations where there is a routing issue or firewall issue I can
clear the queue for a specific domain by routing mail pending for the
domain to another of our servers at a different datacenter. Essentially
route around the problem.  So I tried that, I use this little router:

# move mail to another server if it is stuck on this server for some reason
clear_queue:
  driver = manualroute
  condition = ${if match{$domain}{lahore.com} }
  route_list = * "122.103.250.10"
  transport = remote_smtp
  no_more
(Continue reading)


Gmane