Re: Mapping one domain to another (mysql)

2012-08-08 Thread Tom Hendrikx
On 8/7/12 8:58 PM, email builder wrote: Probably the best lesson to learn from postfixadmin is: you can have more than one lookup table in postfix per main.cf directive. Postfixadmin uses 2 separate queries for regular aliases and domain aliases. from main.cf: virtual_alias_maps =

Re: strange behaviours with sender_dependent_default_transport_maps

2012-08-08 Thread zorg
Le 07/08/2012 18:14, Viktor Dukhovni a écrit : On Tue, Aug 07, 2012 at 05:51:43PM +0200, zorg wrote: Reading the manual, it explain that sender_dependent_default_transport_maps override default_transport Which selects the delivery agent and nexthop for *external* recipients based on the

Re: soft_bounce=yes in postmulti setup

2012-08-08 Thread mailing list subscriber
Hi, I asked this earlier but maybe skipped your attention. In summary, Why do body/header checks generate 5xx rejects even with soft_bounce=yes? Thanks. On Mon, Jul 30, 2012 at 1:21 AM, mailing list subscriber mailinglist...@gmail.com wrote: Hi, I have two issues. After hard reading of

Re: Failover gateway server

2012-08-08 Thread Nikolaos Milas
On 8/8/2012 3:41 πμ, Stan Hoeppner wrote: Yes, this is not a Postfix issue but a mail store issue. Nikolaos, what mail server are you using? Cyrus, Dovecot, other? As Viktor points out, building an HA mail server is not trivial. But we can probably point you to HA docs, and mailing lists,

Re: Mapping one domain to another (mysql)

2012-08-08 Thread email builder
query = select if ('%d' = 'example-2.com', IFNULL((select dest from aliases where addr = '%u...@example.com'), (select addr from users where addr = '%u...@example.com')), NULL) I've found that in conjunction with a 2nd query (the original normal one), everything seems to work as

Re: Failover gateway server

2012-08-08 Thread Nikolaos Milas
On 8/8/2012 12:24 μμ, Nikolaos Milas wrote: It's Dovecot 2.0. Addendum: We use Maildir and the load is low (aside spam). Only about 250 users/mailboxes (4G each). All servers are CentOS 5.8 (planning move to 6.3). Currently we have only one internal mail server (Postfix/Dovecot),

Re: orig_to missing in logs

2012-08-08 Thread Michal Lipka
On Tue, 7 Aug 2012, Wietse Venema wrote: Michal Lipka: Hello, today I noticed I don;t have orig_to in my log file even that the address is rewrited. Incorrect. Postfix logs orig_to only if the address is rewritten before it is delivered. For example Postfix does not log orig_to AFTER a

Re: Mapping one domain to another (mysql)

2012-08-08 Thread Tom Hendrikx
On 8/8/12 11:27 AM, email builder wrote: query = select if ('%d' = 'example-2.com', IFNULL((select dest from aliases where addr = '%u...@example.com'), (select addr from users where addr = '%u...@example.com')), NULL) I've found that in conjunction with a 2nd query (the original

mailtail

2012-08-08 Thread Sascha Hüdepohl
Hi! A very little tool to watch mail.log in color: http://sascha.huedepohl.de/mailtail Sascha

Re: soft_bounce=yes in postmulti setup

2012-08-08 Thread Noel Jones
On 8/8/2012 4:22 AM, mailing list subscriber wrote: Hi, I asked this earlier but maybe skipped your attention. In summary, Why do body/header checks generate 5xx rejects even with soft_bounce=yes? soft_bounce works as documented. The log may show a 5.x.x extended status code, but the

Re: mailtail

2012-08-08 Thread Alvin Wong
With just a single binary I have 80% thought of it being a Trojan. 2012/8/8 Sascha Hüdepohl sas...@ravenworks.de Hi! A very little tool to watch mail.log in color: http://sascha.huedepohl.de/mailtail Sascha

Re: postfix thinks mysql managed email address is remote

2012-08-08 Thread Scott Brown
Rob, thank you very much for the pointers on reposting. I turned off the -v setting on smtpd The old virtual domain is resumearrow.com.  The new, mysql-managed domain, is parallelemail.com If I run a postmap -q on my email address under both domains, the results are the same:

Re: mysql query suppressed?

2012-08-08 Thread Wietse Venema
email builder: 2) it's not intuitive to me that the query I have given to postifx is conditionally executed. And THAT is precisely what the documentation says. Wietse

Re: orig_to missing in logs

2012-08-08 Thread Viktor Dukhovni
On Wed, Aug 08, 2012 at 02:03:56PM +0200, Michal Lipka wrote: On Tue, 7 Aug 2012, Wietse Venema wrote: Incorrect. Postfix logs orig_to only if the address is rewritten before it is delivered. For example Postfix does not log orig_to AFTER a content filter, when virtual alias expansion

Re: Best way to protect backup-mx?

2012-08-08 Thread tobi
Thanks for this very plausible reason for not doing what I wanted :-) I did not think about such circumstances. Cheers tobi Am 07.08.2012 22:25, schrieb Reindl Harald: be carfeul with such things that you primary MX is up from the connection of your backup-MX means virtually nothing

Re: Best way to protect backup-mx?

2012-08-08 Thread tobi
Am 07.08.2012 22:40, schrieb Ansgar Wiechers: Why do you consider this a problem? Your backup MX should neither accept nor allow anything the primary MX wouldn't. Actually I do not consider this a real problem My setups on my backup-mx are as identical as possible to my main-mx. It's just

Re: orig_to missing in logs

2012-08-08 Thread michal
On Wed, 8 Aug 2012, Viktor Dukhovni wrote: On Wed, Aug 08, 2012 at 02:03:56PM +0200, Michal Lipka wrote: On Tue, 7 Aug 2012, Wietse Venema wrote: Incorrect. Postfix logs orig_to only if the address is rewritten before it is delivered. For example Postfix does not log orig_to AFTER a

Re: Failover gateway server

2012-08-08 Thread Stan Hoeppner
On 8/8/2012 4:24 AM, Nikolaos Milas wrote: On 8/8/2012 3:41 πμ, Stan Hoeppner wrote: Yes, this is not a Postfix issue but a mail store issue. Nikolaos, what mail server are you using? Cyrus, Dovecot, other? As Viktor points out, building an HA mail server is not trivial. But we can

Re: mailtail

2012-08-08 Thread Ben Rosengart
On Wed, Aug 08, 2012 at 09:48:40PM +0800, Alvin Wong wrote: With just a single binary I have 80% thought of it being a Trojan. 23 lines of non-obfuscated bash. -- Ben Rosengart Like all those possessing a library, Sendmail, Inc. Aurelian was aware that he was guilty of

Re: orig_to missing in logs

2012-08-08 Thread Viktor Dukhovni
On Wed, Aug 08, 2012 at 07:53:34PM +0200, mic...@lipka.waw.pl wrote: On Wed, 8 Aug 2012, Viktor Dukhovni wrote: On Wed, Aug 08, 2012 at 02:03:56PM +0200, Michal Lipka wrote: On Tue, 7 Aug 2012, Wietse Venema wrote: Incorrect. Postfix logs orig_to only if the address is rewritten before

Re: orig_to missing in logs

2012-08-08 Thread michal
On Wed, 8 Aug 2012, Viktor Dukhovni wrote: On Wed, Aug 08, 2012 at 07:53:34PM +0200, mic...@lipka.waw.pl wrote: On Wed, 8 Aug 2012, Viktor Dukhovni wrote: On Wed, Aug 08, 2012 at 02:03:56PM +0200, Michal Lipka wrote: On Tue, 7 Aug 2012, Wietse Venema wrote: Incorrect. Postfix logs

Re: Best way to protect backup-mx?

2012-08-08 Thread Sebastian Wiesinger
* tobi tobs...@brain-force.ch [2012-08-07 18:46]: Hi list, Sorry list, hi Tobi: I wanted to tell you that your DNSSEC for brain-force.ch is broken so resolvers which validate DNSSEC will not be able to resolve your domain (and so I can't send you mails directly). You might want to fix this.

Re: orig_to missing in logs

2012-08-08 Thread Wietse Venema
mic...@lipka.waw.pl: 10.0.15.24 is my mail frontend (receives mails from internet and then relays them to appropriate server inside). it does only virus scanning (with spamassassin). Is it important what's going on with message on other server? Naturally, since it is highly likely the

Re: Mapping one domain to another (mysql)

2012-08-08 Thread email builder
I've found that in conjunction with a 2nd query (the original normal one), everything seems to work as expected (including aliases with only local parts like postmaster) But I'm still unsure if this kind of query is correct, if I'm on the right track. Can anyone tell me if

Re: mysql query suppressed?

2012-08-08 Thread email builder
2) it's not intuitive to me that the query I have given to postifx is conditionally executed. And THAT is precisely what the documentation says. And THAT is merely what I was asking to have confirmation of (not sure why that is so difficult)... because it's not intuitive, and also

postfix/clamsmpt/clam msgs from quarantine?

2012-08-08 Thread Len Conrad
a bad MBL sig quarantined a few 1000 legit msgs. Thanks Len

postfix/clamsmpt/clam msgs from quarantine?

2012-08-08 Thread Len Conrad
a bad MBL sig quarantined a few 1000 legit msgs. Thanks Len

Re: Mapping one domain to another (mysql)

2012-08-08 Thread Brian Evans - Postfix List
On 8/8/2012 3:03 PM, email builder wrote: I don't think mine is so confusing as you suggest if you take a second to understand it. Maybe if you read it with some whitespace: select if ('%d' = 'example-2.com', IFNULL( (select dest from aliases where addr =

Re: mysql query suppressed?

2012-08-08 Thread Viktor Dukhovni
On Wed, Aug 08, 2012 at 12:07:09PM -0700, email builder wrote: 2) it's not intuitive to me that the query I have given to postifx is conditionally executed. And THAT is precisely what the documentation says. And THAT is merely what I was asking to have confirmation of (not sure

Re: Mapping one domain to another (mysql)

2012-08-08 Thread email builder
I don't think mine is so confusing as you suggest if you take a second to understand it.  Maybe if you read it with some whitespace: select     if ('%d' = 'example-2.com',         IFNULL(             (select dest from aliases where addr = '%u...@example.com'),            

Re: Mapping one domain to another (mysql)

2012-08-08 Thread Wietse Venema
email builder: Postfix expects an empty set (i.e. no rows returned) if it is to respond negatively that a virtual alias does not exist. Returning NULL does not equal no rows returned. email builder: Are you sure?? 100% confirmed. To return NOTFOUND, you MUST return NO RESULT. Wietse

Re: Mapping one domain to another (mysql)

2012-08-08 Thread Viktor Dukhovni
On Wed, Aug 08, 2012 at 04:08:03PM -0400, Wietse Venema wrote: email builder: Postfix expects an empty set (i.e. no rows returned) if it is to respond negatively that a virtual alias does not exist. Returning NULL does not equal no rows returned. email builder: Are you sure?? 100%

Re: postfix thinks mysql managed email address is remote

2012-08-08 Thread /dev/rob0
On Wed, Aug 08, 2012 at 07:40:22AM -0700, Scott Brown wrote: The old virtual domain is resumearrow.com.  The new, mysql-managed domain, is parallelemail.com If I run a postmap -q on my email address under both domains, the results are the same: [root@miltermatic log]# postmap -q

Re: postfix thinks mysql managed email address is remote

2012-08-08 Thread Scott Brown
Rob, Thank you very much for your help.  It looks like the missing virtual_alias_domains was the problem.   Scott - Original Message - From: /dev/rob0 r...@gmx.co.uk To: postfix-users@postfix.org Cc: Sent: Wednesday, August 8, 2012 5:24 PM Subject: Re: postfix thinks mysql managed

Re: soft_bounce=yes in postmulti setup

2012-08-08 Thread mailing list subscriber
On Wed, Aug 8, 2012 at 4:19 PM, Noel Jones njo...@megan.vbhcs.org wrote: On 8/8/2012 4:22 AM, mailing list subscriber wrote: Hi, I asked this earlier but maybe skipped your attention. In summary, Why do body/header checks generate 5xx rejects even with soft_bounce=yes? soft_bounce works

Re: mailtail

2012-08-08 Thread ml
is a guilty network for a freedom Le 2012-08-08 20:07, Ben Rosengart a écrit : On Wed, Aug 08, 2012 at 09:48:40PM +0800, Alvin Wong wrote: With just a single binary I have 80% thought of it being a Trojan. 23 lines of non-obfuscated bash. --

Re: always_bcc

2012-08-08 Thread Fernando Maior
Hi Saldanha, As per your config file: - myhostname = labmail.temp.com - allways_bcc = t...@temp.com Maybe I am guessing wrong, but I believe you are trying to deliver the allways_bcc messages to a domain that is hosted by the server labmail.temp.com http://labmail.test.com; if that is the

Re: Mapping one domain to another (mysql)

2012-08-08 Thread email builder
Postfix expects an empty set (i.e. no rows returned) if it is to respond negatively that a virtual alias does not exist. Returning NULL does not equal no rows returned. email builder: Are you sure?? 100% confirmed. To return NOTFOUND, you MUST return NO RESULT. So with NULL,

Re: Mapping one domain to another (mysql)

2012-08-08 Thread email builder
Postfix expects an empty set (i.e. no rows returned) if it is to respond negatively that a virtual alias does not exist. Returning NULL does not equal no rows returned. Are you sure?? 100% confirmed. To return NOTFOUND, you MUST return NO RESULT. The common code that

Re: mysql query suppressed?

2012-08-08 Thread email builder
  2) it's not intuitive to me that the query I have given to postifx   is conditionally executed. And THAT is precisely what the documentation says. And THAT is merely what I was asking to have confirmation of (not sure why that is so difficult)... It is difficult only