Re: how to remove string "[MASSMAIL]" from the subject ?

2017-04-02 Thread Mike Guelfi

Surely that's going to need to be:
/^Subject:(.*)\[MASSMAIL\](.*)/ REPLACE Subject: $1$2

Quoting Ralf Hildebrandt :


* Zalezny Niezalezny :

As I see here header_checks can do it. There is only one problem. This rule
searching for a subject with string [MASSMAIL] and replacing complete
subject line with word "test".

/^Subject:.*[MASSMAIL].*/ REPLACE Subject: test


/^Subject:(.*)[MASSMAIL](.*)/ REPLACE Subject: $1$2

--
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG, 80333 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein





Re: postfix uses A record for MX less domains

2017-04-02 Thread Mario Theodoridis

On 31/03/17 15:01, Ralf Hildebrandt wrote:

* Mario Theodoridis :

Hi everyone,

i'm having a curious issue with our postfix instance.

It seems it is sending emails to a domain's A record when no MX is found.

Is that standard?


Yes.


If so, can i disable this somewhere?


No.


connect to bikinibottom.com[208.73.211.70]:25: Connection refused
to=, relay=none, delay=407,
delays=407/0.01/0.15/0, dsn=4.4.1, status=deferred (connect to
bikinibottom.com[208.73.211.70]:25: Connection refused)


transport_maps:

bikinibottom.com error:This domain does not accept mail



Thank you Ralf

--
Mit Freundlichen Grüßen / Regards

Mario Theodoridis

regify GmbH
Römerstrasse 39 | D-78183 Hüfingen
Amtsgericht Freiburg HRB 709343
Telefon: +49 771 8978 4238