Re: [exim] TLS error in incoming emails from *.outlook.com

2018-02-16 Thread Ian Zimmerman via Exim-users
On 2018-02-12 20:57, Ian Zimmerman via Exim-users wrote:

> Ok, it was on, I disabled it.  We'll see soon enough if your
> hypothesis is right :-)

No change :-(

But in my case, all the messages actually make it through.  Also, I
checked my old logfiles, and this was the case even with GnuTLS.

Right now I see some other horrible misconfiguration on the outlook/365
servers, and I have never seen this particular error when talking to
anyone else, so I'm really tempted to write it off as being on their
side.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.

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


Re: [exim] send mail based on origin domain

2018-02-16 Thread Phil Pennock via Exim-users
On 2018-02-16 at 12:21 -0300, Nicolas Leonel via Exim-users wrote:
> I apologizes but my exim knowledge is extremely limited, can you share an
> example on how to setup two different users with that example.

I did.  In the linked message:

> >   https://lists.exim.org/lurker/message/20171015.030553.5600347d.en.html

If you read that, you have a worked example of the various stanzas for
parts of Exim configuration.

If you need more than that, then I'm not the person to help you.  Paid
professional support from someone might help.

Regards,
-Phil

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


Re: [exim] TLS BEAST attack on exim

2018-02-16 Thread Phil Pennock via Exim-users
On 2018-02-16 at 10:27 +0100, Cyborg via Exim-users wrote:
> has anyone ever heared, that Beast worked against TLSv1 on mailservers ?

I wrote a post to exim-announce at the time, analysing the situation.

A Google search for (exim beast) turned this up as the first result:

https://lists.exim.org/lurker/message/20110924.025611.322d31d8.en.html

Regards,
-Phil

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


Re: [exim] send mail based on origin domain

2018-02-16 Thread Nicolas Leonel via Exim-users
I apologizes but my exim knowledge is extremely limited, can you share an
example on how to setup two different users with that example.

Thanks so much and sorry for the hassle.


On Fri, Feb 2, 2018 at 7:30 PM, Phil Pennock  wrote:

> On 2018-02-01 at 13:32 -0300, Nicolas Leonel via Exim-users wrote:
> > Im using Sendgrid to send out email through my exim server, it uses a
> > remote SMTP host, port, username and password for sending email. The
> > problem is that now I would like to segment my delivery through multiple
> > SMTP users, aka SendGrid Sub-users.
> >
> > It appears I can do this by either using their API or through the MTA
> which
> > I believe would be easier to implement, my question is does anyone know
> how
> > to specify a certain SMTP user and password depending on the domain used
> to
> > send the email from?
>
> Yes.  This post might help:
>
>   https://lists.exim.org/lurker/message/20171015.030553.5600347d.en.html
>
> The two censored-for-web email addresses in the sample config extract
> were `x...@gmail.com` and `z...@example.org`.
>
> In essence: in the Router, use a lookup of `$sender_address` in some
> data-source to get space-separated key=value pairs and stash that with
> the `address_data` option, then refer to `$address_data` in the
> Transport via `${extract{keyname}{$address_data}{true-val}{false-val}}`
> to get the values of various options.
>
> -Phil
>



-- 



Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
## 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/


Re: [exim] Multiple conditions in router

2018-02-16 Thread Jeremy Harris via Exim-users
On 15/02/18 13:26, Ninad Gupte via Exim-users wrote:
> failed to expand condition "${if and{{bool_lax{NULL}}{bool_lax{${if or { 
> {lookup
> {$sender_address_domain} lsearch {/etc/archivedomains}} {lookup {$local_part}
> lsearch {/etc/archivedomains}} } {1}{0}}" for traffic_tap router: unknown
> condition "lookup" inside "or{...}" condition inside "and{...}" condition 
> Can you please advise where I am going wrong?

You're missing a $ somewhere close to that "lookup" word, and possibly
some {} also.
-- 
Jeremy

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


Re: [exim] HostEurope anybody

2018-02-16 Thread Heiko Schlittermann via Exim-users
Hi

some you (j*.e@t*.de) responded, but I can't answer:

  j*.e*@t*.de

  host mail.t*.de [*.*.230]
  SMTP error from remote mail server after RCPT
  TO::
  550 Client host rejected: reverse DNS failure-1

I'm quite sure that my IP 84.19.194.3 resolves.
Yes, it resolves to a CNAME, but this shouldn't be a problem.

J*, do you have some other mean of contact?
Or can you, for this communication, whitelist my server 84.19.194.3?

-- 
Heiko


signature.asc
Description: PGP signature
-- 
## 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/


Re: [exim] lowest numbered MX record points to local host

2018-02-16 Thread Hartmut Steffin via Exim-users

A simple solution may be to read the

domainlist local_domains =

from a flat file that needs to hold the names of the user defined domains.

On 14.02.2018 10:28, Cyborg via Exim-users wrote:

Am 14.02.2018 um 09:59 schrieb Bambero via Exim-users:

So what shoud I do to fix that? I can't use local_domains, becouse it's
shared hosting, and users can add domains by hand.
If someone will add domain 'gmail.com' exim will treat it as local domain.

The only way is to check MX.



There is no easy solution to the problem. Local domains defines those
domains, the server shall receive email for.

You could add a rule  to the check_rcpt acl , to see, if  IN MX of the
domain points to your server. It's doable,
but could be tricked also.

Way easier is to blacklist domains, you will never serve emails for like
gmail.com.

domainlist local_domains = @ : localhost : localhost.localdomain :
${lookup mysql {  SELECT domainname FROM .. WHERE ... AND DOMAIN NOT IN
( "gmail.com","t-online.de","gmx.de","gmx.net","outlook.com"  ) }}

You could also build an sql with a db defined blacklist, which would be
easier to maintain.

Hope that helped,
Marius





smime.p7s
Description: S/MIME Cryptographic Signature
-- 
## 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/


Re: [exim] Wildcards in aliases

2018-02-16 Thread Hartmut Steffin via Exim-users

On 13.02.2018 13:14, Andrew C Aitchison via Exim-users wrote:
> On Tue, 13 Feb 2018, Hardy via Exim-users wrote:

>> my aim is to have something in the way of
>>
>> myname.*: myname
>>
>
> I wonder whether you are trying to implement a feature
> already explicitly supported in exim ?

This may well be the case. I am so deep into writing ACLs only, I tend 
to neglect all the other parts of configuration and possibilities there.


>
> If you want that for all users, you could use something like
>  local_part_suffix : .
> in the "userforward" router (if I have got that right).
>

I found it in the docs... sounds interesting, but actually no, I don't 
want to add it to all users, that is why I preferred the alias solution. 
But still this seeds ideas.


Thank you.

And all the others, thank you also for pointing me to my self study for 
expressions...


Hardy
--
No pasaran!



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
## 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/


[exim] Multiple conditions in router

2018-02-16 Thread Ninad Gupte via Exim-users
Hi,
I am trying to setup a mail archiving router, for one of the several domains
hosted on the server. I need a copy of the incoming and outgoing mails of that
domain to be forwarded to another MTA. I have the following router currently
which works for incoming mails:
traffic_tap: unseen no_expn no_verify transport = remote_smtp_arch driver =
manualroute domains = foo.bar
self = send require_files = /etc/MAIL_TAP_HOST route_data =
${readfile{/etc/MAIL_TAP_HOST}{:}}
I would like the same router to also handle the outgoing mail archiving. I
created a file /etc/archivedomains containing foo.bar
I wrote a condition to replace "domains = foo.bar" as follows:
condition = \ ${if or { {lookup {$sender_address_domain} lsearch
{/etc/archivedomains}} \ {lookup {$local_part} lsearch {/etc/archivedomains}} }
\ {1}{0}}

This resulted in the following error in the logs:
failed to expand condition "${if and{{bool_lax{NULL}}{bool_lax{${if or { {lookup
{$sender_address_domain} lsearch {/etc/archivedomains}} {lookup {$local_part}
lsearch {/etc/archivedomains}} } {1}{0}}" for traffic_tap router: unknown
condition "lookup" inside "or{...}" condition inside "and{...}" condition 
Can you please advise where I am going wrong?
Regards,Ninad
-- 
## 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/


[exim] HostEurope anybody

2018-02-16 Thread Heiko Schlittermann via Exim-users
Hi,

sorry for abusing this list. We see massive (?) problems when sending
messages to HostEurope and customers of HostEurope are not able to send
mails to some of the domains I'm involved with.

Please contact me. Personal contact details are in the header of this
message.

Thank you.

Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
-- 
 SCHLITTERMANN.de  internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01  -


signature.asc
Description: PGP signature
-- 
## 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/


Re: [exim] HostEurope/GoDaddy anybody

2018-02-16 Thread Heiko Schlittermann via Exim-users
Heiko Schlittermann  (Fr 16 Feb 2018 12:21:30 CET):
> Hi,
> 
> sorry for abusing this list. We see massive (?) problems when sending
> messages to HostEurope and customers of HostEurope are not able to send
> mails to some of the domains I'm involved with.

To be more precise: I'm seeking for somebody who can help
debugging/tracing DNS problems with 62.138.131.0/24.

Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
-- 
 SCHLITTERMANN.de  internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01  -


signature.asc
Description: PGP signature
-- 
## 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/


[exim] TLS BEAST attack on exim

2018-02-16 Thread Cyborg via Exim-users

Hi,

has anyone ever heared, that Beast worked against TLSv1 on mailservers ?


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/