Re: Ignoring malformed SMTP from embedded device?

2009-04-06 Thread Victor Duchovni
On Tue, Apr 07, 2009 at 03:44:04PM +1000, Martin Barry wrote: > We have an embedded device which is speaking malformed SMTP. We have filed a > bug with the vendor Suggestion: find another vendor. This is a not an implementation error or oversight, this is basic incompetence from under-qualified d

Ignoring malformed SMTP from embedded device?

2009-04-06 Thread Martin Barry
We have an embedded device which is speaking malformed SMTP. We have filed a bug with the vendor but we would like to see if we can work around it in the meantime. Is there a way to ignore this or change it to a warning rather than a failure? 220 smtp.example.com ESMTP Postfix... HELO embedded.exa

Re: SMTP AUTH to a MS Exchange with NTLM

2009-04-06 Thread Victor Duchovni
On Tue, Apr 07, 2009 at 02:54:18AM +0200, Kay Obermueller wrote: > Apr 6 21:26:52 myserver postfix/smtp[8098]: > > mail.alice-dsl.de[88.44.60.26]: > kayobermuel...@alice-dsl.de > > Apr 6 21:26:52 myserver postfix/smtp[8097]: < > mail.alice-dsl.de[88.44.60.26]: > 334 Password: > > Apr 6 21:2

Re: SMTP AUTH to a MS Exchange with NTLM

2009-04-06 Thread Kay Obermueller
Le Monday, 6. April 2009 20:00:27 Victor Duchovni, vous avez écrit : > On Mon, Apr 06, 2009 at 01:58:36PM -0400, Victor Duchovni wrote: > > > Or can I get it to use another logon protocol? > > > > You can try "LOGIN" if you suppress GSSAPI and NTLM. > > > > smtp_sasl_mechanism_filter = !gssapi,

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread mouss
Victor Duchovni a écrit : > On Mon, Apr 06, 2009 at 11:42:40PM +0200, mouss wrote: > >> with a recent postfix, even better is >> >> check_reverse_client_hostname_access pcre:/etc/postfix/logit >> >> == logit >> /(.*)/ Transaction logged: PTR=$1 >> >> so that you get the PTR as well (eve

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 11:42:40PM +0200, mouss wrote: > with a recent postfix, even better is > > check_reverse_client_hostname_access pcre:/etc/postfix/logit > > == logit > /(.*)/Transaction logged: PTR=$1 > > so that you get the PTR as well (even if rdns is "unknwon"). Interes

Re: Piping /etc/aliases to newaliases

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 11:36:32PM +0200, mouss wrote: > Bryce Nesbitt a ??crit : > > Sure, I 'm fighting the system. But I'm willing to alter the system > > also so there is less fighting :-). > > > > And there IS a reason to prefer one over the other: > > neatness in a large aliases file, and

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread mouss
Len Conrad a écrit : > We have a simple restriction class to which we apply SAV and RAV to a very > small class of msgs: > > some_class = > check_helo_access pcre:/path/to/4tuple_unfiltered.pcre, > reject_unverified_sender, > reject_unverified_recipient, > check_helo_access pcre:/path/to/4tup

Re: Piping /etc/aliases to newaliases

2009-04-06 Thread mouss
Bryce Nesbitt a écrit : > Sure, I 'm fighting the system. But I'm willing to alter the system > also so there is less fighting :-). > > And there IS a reason to prefer one over the other: > neatness in a large aliases file, and clean documentation. > When things are lined up in columns it is easi

Re: SMTP AUTH to a MS Exchange with NTLM

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 01:58:36PM -0400, Victor Duchovni wrote: > > Or can I get it to use another logon protocol? > > You can try "LOGIN" if you suppress GSSAPI and NTLM. > > smtp_sasl_mechanism_filter = !gssapi, !ntlm Oops, left-out the "static:rest" element: http://www.postfix.or

Re: SMTP AUTH to a MS Exchange with NTLM

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 07:39:31PM +0200, Kay Obermueller wrote: > Apr 4 17:57:27 myhost postfix/smtp[4242]: < mail.alice-dsl.de[88.44.60.26]: > 250-AUTH GSSAPI NTLM LOGIN > Apr 4 17:57:27 myhost postfix/smtp[4242]: > mail.alice-dsl.de[88.44.60.26]: > AUTH NTLM TlRMTVNTUAABBwIAAA

SMTP AUTH to a MS Exchange with NTLM

2009-04-06 Thread Kay Obermueller
Hello everyone, I try to deliver mail to a server running Exchange. I have Postfix version 2.4.5 under Ubuntu. My Postfix and the opposite Exchange want to use NTLM, but this fails: Apr 4 17:57:27 myhost postfix/smtp[4242]: < mail.alice-dsl.de[88.44.60.26]: 250-TLS Apr 4 17:57:27 myhost post

Re: logging a WARN log line after a preceding REJECT

2009-04-06 Thread Victor Duchovni
On Mon, Apr 06, 2009 at 06:10:34PM +0200, Len Conrad wrote: > We have a simple restriction class to which we apply SAV and RAV to a very > small class of msgs: > > some_class = > check_helo_access pcre:/path/to/4tuple_unfiltered.pcre, > reject_unverified_sender, > reject_unverified_recipient,

Re: Change FROM in LOGS when e-mails come from APACHE

2009-04-06 Thread brian moore
On Fri, 3 Apr 2009 22:54:27 -0400 (EDT) wie...@porcupine.org (Wietse Venema) wrote: > Um, that should be the other way around: Though that will change 'every' sender to be that sender which may not be correct (virtual hosts, webmail, etc). http://us.php.net/manual/en/function.mail.php and see e

logging a WARN log line after a preceding REJECT

2009-04-06 Thread Len Conrad
We have a simple restriction class to which we apply SAV and RAV to a very small class of msgs: some_class = check_helo_access pcre:/path/to/4tuple_unfiltered.pcre, reject_unverified_sender, reject_unverified_recipient, check_helo_access pcre:/path/to/4tuple_filtered.pcre, permit The 4tuple

Only 4 real virtual domains no real local/primary one?!

2009-04-06 Thread M.A. GEERTSMA
Hello, I need some help with the following configuration setup: - I have 4 domains, with several unix-account users. the uses/domains are a complete mix. - myhostname: blabla.xs4all.nl =>this is my ISP IP and so my Modem. But mail addressed to @xs4all should not be delivered to the local machin