Re: Negation in header_checks doesn't work as expected?

2010-07-14 Thread Ansgar Wiechers
On 2010-07-14 Hendra . wrote: I need a mail server with a catch-all address but limit the recipient pattern to -keyw...@example.com, and forward it to an existing local account. The -keyw...@example.com is an auto-generated address by another application so these addresses will not be

Re: Negation in header_checks doesn't work as expected?

2010-07-14 Thread Tom Hendrikx
On 14/07/10 06:11, Hendra . wrote: Hi All, I'm new to postfix as well as to this mailing list, so I apologize in advance for any blunder ;) Need some expert advice on what I'm trying to achieve but encountered a major roadblock so far. I need a mail server with a catch-all address but

Reason for blocked access?

2010-07-14 Thread Joern Bredereck
Hi, how can I tell why the following mail has been rejected: Jul 14 08:48:58 zarafa-xen postfix/smtpd[26113]: NOQUEUE: reject: RCPT from ns.gbc.net[212.97.96.201]: 554 5.7.1 ns.gbc.net[212.97.96.201]: Client host rejected: Access denied; from=joerg.hal...@flaig-hommel.de to=m.b...@otec.de

Re: Reason for blocked access?

2010-07-14 Thread Ralf Hildebrandt
* Joern Bredereck j...@bw-networx.net: Hi, how can I tell why the following mail has been rejected: Jul 14 08:48:58 zarafa-xen postfix/smtpd[26113]: NOQUEUE: reject: RCPT from ns.gbc.net[212.97.96.201]: 554 5.7.1 ns.gbc.net[212.97.96.201]: Client host rejected: Access denied;

Re: Reason for blocked access?

2010-07-14 Thread Joern Bredereck
Disregard my posting... I found the IP in one of the tables Sorry for bothering you! Jörn Am 14.07.10 10:06, schrieb Joern Bredereck: Hi, how can I tell why the following mail has been rejected: Jul 14 08:48:58 zarafa-xen postfix/smtpd[26113]: NOQUEUE: reject: RCPT from

Re: Reason for blocked access?

2010-07-14 Thread Stan Hoeppner
Joern Bredereck put forth on 7/14/2010 3:06 AM: Hi, how can I tell why the following mail has been rejected: Jul 14 08:48:58 zarafa-xen postfix/smtpd[26113]: NOQUEUE: reject: RCPT from ns.gbc.net[212.97.96.201]: 554 5.7.1 ns.gbc.net[212.97.96.201]: Client host rejected: Access denied;

Re: Reason for blocked access?

2010-07-14 Thread Joern Bredereck
Am 14.07.10 10:45, schrieb Stan Hoeppner: Do you have more than one access table/type? I have 7 access tables, including hash, CIDR, regexp, and PCRE. I add comments to my regexp and PCRE tables to make matching REJECTs in the mail log to a given filter possible. Without such comments

Re: Reason for blocked access?

2010-07-14 Thread Stan Hoeppner
Joern Bredereck put forth on 7/14/2010 3:50 AM: Am 14.07.10 10:45, schrieb Stan Hoeppner: Do you have more than one access table/type? I have 7 access tables, including hash, CIDR, regexp, and PCRE. I add comments to my regexp and PCRE tables to make matching REJECTs in the mail log to a

Re: Reason for blocked access?

2010-07-14 Thread Joern Bredereck
Am 14.07.10 10:59, schrieb Stan Hoeppner: Anyway, the important thing to remember is that others may see the text, so make sure it's polite. Yes, agreed. Well... at least depending on... On the flip side, if the table entry is for a chronic pain in the butt professional snowshoe spammer,

Re: MAIL FROM problem after upgrade

2010-07-14 Thread Johan Vromans
Noel Jones njo...@megan.vbhcs.org writes: It might be helpful if you shared the logs of mail entering postfix when you run your test command. As basic as possible: $ cat test.msg To: jo...@sppn.nl test message $ /usr/sbin/sendmail -v -t test.msg While figuring this out I ran

Re: Reason for blocked access?

2010-07-14 Thread Noel Jones
On 7/14/2010 3:59 AM, Stan Hoeppner wrote: Joern Bredereck put forth on 7/14/2010 3:50 AM: Am 14.07.10 10:45, schrieb Stan Hoeppner: Do you have more than one access table/type? I have 7 access tables, including hash, CIDR, regexp, and PCRE. I add comments to my regexp and PCRE tables to

Re: MAIL FROM problem after upgrade

2010-07-14 Thread Noel Jones
On 7/14/2010 5:01 AM, Johan Vromans wrote: Noel Jonesnjo...@megan.vbhcs.org writes: It might be helpful if you shared the logs of mail entering postfix when you run your test command. As basic as possible: $ cat test.msg To: jo...@sppn.nl test message $ /usr/sbin/sendmail -v

Re: private restriction class is ignored

2010-07-14 Thread Dieter Kluenter
Magnus Bäck mag...@dsek.lth.se writes: On Tuesday, July 13, 2010 at 09:11 CEST, Dieter Kluenter die...@dkluenter.de wrote: I have added a private restriction class to main.cf smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/distribution_lists.cf,

Re: reverse hostname (ok) - fw dns query (ko) - unknow

2010-07-14 Thread Amedeo Rinaldo
Il 14/07/2010 04:57, Sahil Tandon ha scritto: On Wed, 2010-07-14 at 04:50:11 +0200, Amedeo Rinaldo wrote: ..[CUT].. Is there a simple way to get the reverse hostname back ? http://www.postfix.org/postconf.5.html#check_reverse_client_hostname_access ..so simple :) Thank you Sahil .. But..

Any way to archive the same using regexp transport in versions 2.3+

2010-07-14 Thread Dusan Obradovic
Postfix prior version 2.3 allowed this using regexp transport_maps: /^(.*)@(.*)$/smtp:[${2}.smtp.transport.company.com] I'm looking for this result in postfix version 2.3+: u...@domain1.comsmtp:[domain1.com.smtp.transport.company.com] -- Thanks.

Re: reverse hostname (ok) - fw dns query (ko) - unknow

2010-07-14 Thread Noel Jones
On 7/14/2010 10:21 AM, Amedeo Rinaldo wrote: Il 14/07/2010 04:57, Sahil Tandon ha scritto: On Wed, 2010-07-14 at 04:50:11 +0200, Amedeo Rinaldo wrote: ..[CUT].. Is there a simple way to get the reverse hostname back ?

Re: Any way to archive the same using regexp transport in versions 2.3+

2010-07-14 Thread Noel Jones
On 7/14/2010 11:11 AM, Dusan Obradovic wrote: Postfix prior version 2.3 allowed this using regexp transport_maps: /^(.*)@(.*)$/ smtp:[${2}.smtp.transport.company.com] I'm looking for this result in postfix version 2.3+: u...@domain1.com mailto:u...@domain1.com

postfix/local segfaults

2010-07-14 Thread Kai Krakow
Hello! I've just upgraded a working setup from postfix 2.5.5 to 2.6.6 on a Gentoo box. Since then, when postfix/local tries to do user name expansion (as far as I learned from the backtrace), it segfaults: 8-- #0  0x11286469 in vstring_strcpy

Re: PATCH: defer when pipe command dies

2010-07-14 Thread Jeroen Geilman
On 07/14/2010 01:27 AM, Thomas Arnett wrote: On Jul 13, 2010, at 7:03 PM, Wietse Venema wrote: What are the symptoms of the problem? postfix/pipe[22169]: 5991748: to=u...@example.com, relay=dovecot, delay=1.9, delays=1.8/0.05/0/0.03, dsn=5.3.0, status=bounced (Command died with

TLS not being advertised or not running?

2010-07-14 Thread Theodore Durst
I think I have a configuration issue, but it looks like a strange one on this end. Before going line by line, I thought I would throw this out to the list. I am attempting to set up postfix (send only) with TLS support. TLS was compiled in and postfix does run, it does send mail in the clear.

Re: TLS not being advertised or not running?

2010-07-14 Thread Ralf Hildebrandt
* Theodore Durst tdu...@durstmedia.com: I think I have a configuration issue, but it looks like a strange one on this end. Before going line by line, I thought I would throw this out to the list. I am attempting to set up postfix (send only) with TLS support. TLS was compiled in and

Re: TLS not being advertised or not running?

2010-07-14 Thread markus reichelt
* Theodore Durst tdu...@durstmedia.com wrote: Any hints? When I started I found this quite useful: http://souptonuts.sourceforge.net/postfix_tutorial.html -- left blank, right bald pgpQO8XkJLp9C.pgp Description: PGP signature

Re: TLS not being advertised or not running?

2010-07-14 Thread Jerry
On Wed, 14 Jul 2010 20:09:37 +0200 markus reichelt m...@mareichelt.com articulated: When I started I found this quite useful: http://souptonuts.sourceforge.net/postfix_tutorial.html The tutorial, while useful, is nevertheless dated. -- Jerry ✌ postfix-u...@seibercom.net

Re: TLS not being advertised or not running?

2010-07-14 Thread Jeroen Geilman
On 07/14/2010 08:09 PM, markus reichelt wrote: * Theodore Dursttdu...@durstmedia.com wrote: Any hints? When I started I found this quite useful: http://souptonuts.sourceforge.net/postfix_tutorial.html Please stick to the actual documentation, to avoid misunderstandings :

Re: TLS not being advertised or not running?

2010-07-14 Thread Noel Jones
On 7/14/2010 1:02 PM, Theodore Durst wrote: I think I have a configuration issue, but it looks like a strange one on this end. Before going line by line, I thought I would throw this out to the list. I am attempting to set up postfix (send only) with TLS support. TLS was compiled in and

can't get rate limit to work

2010-07-14 Thread Len Conrad
mx1# postfwd -V postfwd2 0.21 (Net::DNS 0.65, Net::Server 0.97, Sys::Syslog 0.27, Perl 5.008009 on freebsd) mx1# postfwd --showconfig -f /usr/local/etc/postfwd.conf | egrep SNDR Rule 4: id-SNDR_RATE_LIMIT; action-rate($$sender/10/60/450 4.7.1 SNDR_RATE_LIMIT); client_address-==;(.*) then I

Re: can't get rate limit to work

2010-07-14 Thread Noel Jones
On 7/14/2010 2:26 PM, Len Conrad wrote: mx1# postfwd -V postfwd2 0.21 (Net::DNS 0.65, Net::Server 0.97, Sys::Syslog 0.27, Perl 5.008009 on freebsd) mx1# postfwd --showconfig -f /usr/local/etc/postfwd.conf | egrep SNDR Rule 4: id-SNDR_RATE_LIMIT; action-rate($$sender/10/60/450 4.7.1

Re: PATCH: defer when pipe command dies

2010-07-14 Thread Victor Duchovni
On Wed, Jul 14, 2010 at 07:56:36PM +0200, Jeroen Geilman wrote: postfix/pipe[15018]: A481A3B: to=u...@example.com, relay=dovecot, delay=0.32, delays=0.26/0.02/0/0.04, dsn=4.3.0, status=deferred (Command died with signal 7: /usr/libexec/dovecot/deliver) postfix/pipe[15173]: A481A3B:

Re: where to put domain name that's only it virtual map

2010-07-14 Thread Victor Duchovni
On Wed, Jul 14, 2010 at 12:49:11PM -0400, Phil Howard wrote: http://www.postfix.org/postconf.5.html#virtual_mailbox_domains So what if a given domain is, instead, going to have addresses forwarded back out to some other mail server? If without rewriting, that's a relay domain. If addresses

Re: where to put domain name that's only it virtual map

2010-07-14 Thread Phil Howard
On Wed, Jul 14, 2010 at 17:08, Victor Duchovni victor.ducho...@morganstanley.com wrote: On Wed, Jul 14, 2010 at 12:49:11PM -0400, Phil Howard wrote: http://www.postfix.org/postconf.5.html#virtual_mailbox_domains So what if a given domain is, instead, going to have addresses forwarded back

Re: PATCH: defer when pipe command dies

2010-07-14 Thread Jeroen Geilman
On 07/14/2010 10:29 PM, Victor Duchovni wrote: On Wed, Jul 14, 2010 at 07:56:36PM +0200, Jeroen Geilman wrote: postfix/pipe[15018]: A481A3B: to=u...@example.com, relay=dovecot, delay=0.32, delays=0.26/0.02/0/0.04, dsn=4.3.0, status=deferred (Command died with signal 7:

Re: PATCH: defer when pipe command dies

2010-07-14 Thread Jeroen Geilman
On 07/14/2010 10:29 PM, Victor Duchovni wrote: On Wed, Jul 14, 2010 at 07:56:36PM +0200, Jeroen Geilman wrote: postfix/pipe[15018]: A481A3B: to=u...@example.com, relay=dovecot, delay=0.32, delays=0.26/0.02/0/0.04, dsn=4.3.0, status=deferred (Command died with signal 7:

Re: where to put domain name that's only it virtual map

2010-07-14 Thread Wietse Venema
Phil Howard: Every address in these domains will be rewritten to some other address (not all with the same domain) and sent on their way. Some of them will be rewritten to addresses that do fall into other classes for some kind of local delivery (right now, in virtual mailbox). You give

Re: where to put domain name that's only it virtual map

2010-07-14 Thread Noel Jones
On 7/14/2010 5:09 PM, Phil Howard wrote: Every address in these domains will be rewritten to some other address (not all with the same domain) and sent on their way. Some of them will be rewritten to addresses that do fall into other classes for some kind of local delivery (right now, in