Robert Blayzor | 23 Jan 18:51 2015
Picon

Router only once per message?

I'm trying to create a router that would only ever be used ONCE per message, no matter how many recipients...

This is just an attempt to copy/clone a message from a sender to another Maildir.  It works, but if the message
has 50 recipients (CC, BCC, etc) the message is duplicated and saved 50 times.

This is what I have so far:

data_acl:

  warn    condition       = ${if eq{...}{true}}
          set acl_m_scdir = /path/to/destination
          set acl_m_scout = ${lc:$recipients}
  accept

 
router:

shadow_copy_out:
  driver = accept
  verify = false
  transport = shadow_clone
  condition = ${if def:acl_m_scout {true}}
  condition = ${if def:acl_m_scdir {true}}
  condition = ${if exists{$acl_m_scdir} {true}}
  unseen = true
  log_as_local = false

...

transport:
(Continue reading)

Christian Gebler | 22 Jan 16:21 2015

remote host address is the local host

Hi,

for a long time I use an exim mailsever, for one outgoing mail I get the
following error and I don't understand why. Maybe you can help me:

2015-01-22 14:37:37 1YEHx2-0002Pl-PO <= Recipient <at> xxx H=(mx.xxx.net)
[xxx.xxx.xxx.xxx] P=esmtp S=606 id=782374 <at> mailer.net
2015-01-22 14:37:37 1YEHx2-0002Pl-PO remote host address is the local host:
smtp.myserver.de
2015-01-22 14:37:37 1YEHx2-0002Pl-PO == postmaster <at> smtp.xxx.de
<Recipient <at> xxx.xx> R=dnslookup defer (-1): remote host address is the local
host
2015-01-22 14:37:37 1YEHx2-0002Pl-PO ** postmaster <at> smtp.xxx.de
<Recipient <at> xxx.xxl>: retry timeout exceeded
2015-01-22 14:37:37 1YEHx3-0002Pn-4z <= <> R=1YEHx2-0002Pl-PO U=mail
P=local S=1504
2015-01-22 14:37:37 1YEHx2-0002Pl-PO Completed

thx

chris
--

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

Robert Blayzor | 22 Jan 16:48 2015
Picon

Macros in include files

Per the documentation, macros are processed before include file statements.

Does this mean that macros within config include files are not possible?  Or are macros processed when the
include file is read?

--
Robert
inoc.net!rblayzor
http://inoc.net/

--

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

Klaus Ethgen | 21 Jan 15:43 2015
Picon

Re: Fwd: Re: check_srv mx exists


Please stay at the list for list relevant stuff. I even do not need a Cc
as I read the list.

Am Mi den 21. Jan 2015 um 15:34 schrieb Jeremy Harris:
> -------- Forwarded Message --------
> Subject: Re: [exim] check_srv mx exists
> Date: Wed, 21 Jan 2015 12:55:59 +0100
> From: Klaus Ethgen <Klaus+exim <at> Ethgen.ch>
> To: Jeremy Harris <jgh <at> wizmail.org>
> 
> Am Mi den 21. Jan 2015 um 12:30 schrieb Jeremy Harris:
> > On 21/01/15 11:18, Klaus Ethgen wrote:
> > >  There are many legit senders without MX
> > > record. That is fully ok and there are mail admins out there that do not
> > > see any reason why to add A and MX with the same content.
> > 
> > How do they receive bounces?
> 
> What do you mean, how do they receive bounces? Bounces are not different
> on that level. They are just regular mails.
> 
> Regards
>    Klaus

And where exactly did I say that it would work without A _and_ MX?

Gruß
   Klaus
--

-- 
(Continue reading)

Chris Knipe | 21 Jan 14:28 2015

Re: libspf2 issues

On Wed, Jan 21, 2015 at 9:40 AM, Kurt Jaeger <pi <at> opsec.eu> wrote:

> Have you tried to use the port version of exim and it's SPF
> support ? It works, we use it.
>

Hi,

That still doesn't explain why when custom compiling it, it doesn't work.
Whether it's compiled from ports or not, it should work.  If it doesn't
work (such as my case), I am looking for reasons as to why it is not
working.

There are reasons why I custom compile my exim (instead of using ports) -
that is hardly relevant to my post.

-- 

Regards,
Chris Knipe
--

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

Klaus Ethgen | 21 Jan 13:50 2015
Picon

Re: check_srv mx exists


I go back to the list with that discussion...

Am Mi den 21. Jan 2015 um 13:17 schrieb Jeremy Harris:
> On 21/01/15 12:13, Klaus Ethgen wrote:
> > Am Mi den 21. Jan 2015 um 13:09 schrieb Jeremy Harris:
> >>>> How do they receive bounces?
> >>>
> >>> What do you mean, how do they receive bounces? Bounces are not different
> >>> on that level. They are just regular mails.
> > 
> >> If they have no MX or A, where am I to send a bounce to?
> > 
> > To the sender address as you do with MX.
> 
> ... and this sender address has no MX, yes?

Well why should it? It can but it is not mandatory. As it is for every
other e-mail address.

I think you are a bit confused from how mails are send at all.

First there is DNS. In DNS you have usually an A record and/or an MX
record. The mail server uses is to MX or A (in this order) to find the
server to send mails to.

That is all, MX is used for.

Something completely different is a bounce or a bounce mail. A bounce is
just a normal mail with two exceptions:
(Continue reading)

John Schmerold | 21 Jan 12:03 2015
Picon

check_srv mx exists

Is there a check_srv directive that would allow exim to reject messages
without a mx record?

A healthy number of spammers have no mx record. Seems like a low cost way
to eliminate many of the new TLD spam we have been seeing.
--

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

Chris Knipe | 21 Jan 03:15 2015

libspf2 issues

Hi Guys,

I've build a new exim server to include spf support:

[user <at> host /home/cknipe/src/exim-4.84]# ldd build-FreeBSD-amd64/exim

build-FreeBSD-amd64/exim:

                libcrypt.so.5 => /lib/libcrypt.so.5 (0x8008fa000)

                libm.so.5 => /lib/libm.so.5 (0x800b1a000)

                libutil.so.9 => /lib/libutil.so.9 (0x800d42000)

                libmysqlclient.so.18 =>
/usr/local/lib/mysql/libmysqlclient.so.18 (0x800f54000)

                libspf2.so.2 => /usr/local/lib/libspf2.so.2 (0x8014c4000)

                libssl.so.8 => /usr/local/lib/libssl.so.8 (0x8016de000)

                libcrypto.so.8 => /usr/local/lib/libcrypto.so.8
(0x801947000)

                libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x801d4d000)

                libc.so.7 => /lib/libc.so.7 (0x801fc0000)

                libz.so.6 => /lib/libz.so.6 (0x80236a000)

(Continue reading)

LinuxAdmin | 20 Jan 06:25 2015

Exim not log from address

Hello Team,

Exim not log from addreess in log file.

Here is my command to send mail via php. 

mail($to, "The subject", "The mail body", $header, -f returns <at> domain.com );

my log selector setting is 
log_selector = +subject +received_recipients +received_sender +sender_on_delivery
+smtp_confirmation +deliver_time -retry_defer

In log file i am getting F=<returns <at> domain.com> insted of actual From: address.

My exim version is 4.80.1-49

Thanks in advance.

Regards,
Dilip Jadav
--

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

John Schmerold | 19 Jan 15:24 2015
Picon

exim.conf conditionals

What is the best way to employ conditionals in exim.conf in this situation?

I have implemented greylisting to deal with the recent onslought of random
tld spam, based on a query of greylist.db, I am finding some domains really
need to be whitelisted.
(SELECT * FROM greylist LEFT OUTER JOIN resenders ON (greylist.host =
resenders.host AND greylist.helo = resenders.helo) WHERE resenders.host IS
NULL;)

Not wanting to maintain multiple whitelists, I am planning on using my
whitelist file previously used as follows
Definition: domainlist whitelist_domains = lsearch;/etc/exim/whitelist

acl_check_rcpt:
  accept  sender_domains = +whitelist_domains

I have defined execution of greylisting in acl_check_rcpt:
#   Described here: https://github.com/Exim/exim/wiki/SimpleGreylisting
    warn set acl_m_greylistreasons = We greylist all
mail\n$acl_m_greylistreasons
         require acl = greylist_mail

It seems like there is an elegant (simple) way to say if sender domain is
listed in whitelist, don't greylist, but I haven't figured out how.

Please advise.
--

-- 
## 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/
(Continue reading)

Scott | 14 Jan 08:23 2015

Custom ACL to block TLD

Having trouble with a custom ACL to block certain spammy TLDs.  

The following works fine:

if first_delivery

and ("$h_to:" contains ".link")

or ("$h_from:" contains ".link")

then

headers add "SpamRule: EXIM FILTER Blocked CONTAINS LINK (was: $h_subject:)"

deliver "Global Spam <alerts <at> someaddress.com>"

seen finish

endif

but this doesn't do anything:

if first_delivery

and ("$h_to:" ends ".link")

or ("$h_from:" ends ".link")

then

(Continue reading)


Gmane