Re: PostScreen taking too long time to send greeting

2012-05-17 Thread Charles Marcus
On 2012-05-15 8:53 AM, vishesh kumar wrote: Thanks Wietse, When i disable postscreen, then postfix works fine and respond immediately. The *correct* solution is to DISABLE the brain-dead 'smtp fixup' on the CISCO box... -- Best regards, Charles

Re: Postfix SMTP Client Segfaults over TLS

2012-05-17 Thread Wietse Venema
Viktor Dukhovni: > On Thu, May 17, 2012 at 12:50:16AM +0200, Patrick Ben Koetter wrote: > > > > maillog: http://pastebin.com/k1EzFFY9 > > > postconf: http://pastebin.com/AjMGykjV > > > > You tell Postfix to keep the session cache databases in the queue_directory, > > but that is owned by root (on

adding a header via milter

2012-05-17 Thread Ben Rosengart
Dear Postfixers, I am testing a milter which, under some circumstances, adds a header to a message. The problem is that the header is simply not added. I have instrumented the milter-side code and I can see that the milter server is, at EOM time, writing to the socket: h X-MS-blah\0 some stu

Re: adding a header via milter

2012-05-17 Thread Wietse Venema
Ben Rosengart: > Dear Postfixers, > I am testing a milter which, under some circumstances, adds a > header to a message. The problem is that the header is simply not added. > > I have instrumented the milter-side code and I can see that the milter > server is, at EOM time, writing to the socket

Re: adding a header via milter

2012-05-17 Thread Ben Rosengart
On Thu, May 17, 2012 at 11:43:03AM -0400, Wietse Venema wrote: > Ben Rosengart: > > Dear Postfixers, > > I am testing a milter which, under some circumstances, adds a > > header to a message. The problem is that the header is simply not added. > > > > I have instrumented the milter-side code an

Re: Postfix SMTP Client Segfaults over TLS

2012-05-17 Thread Viktor Dukhovni
On Thu, May 17, 2012 at 11:05:30AM -0400, Wietse Venema wrote: > > > Use $data_directory instead. > > > > That's likely not the direct cause of the problem, rather the > > existing cache likely contains entries from different OpenSSL > > version, and OpenSSL segfaults when one imports a cached se

Re: adding a header via milter

2012-05-17 Thread Wietse Venema
Ben Rosengart: > On Thu, May 17, 2012 at 11:43:03AM -0400, Wietse Venema wrote: > > Ben Rosengart: > > > Dear Postfixers, > > > I am testing a milter which, under some circumstances, adds a > > > header to a message. The problem is that the header is simply not added. > > > > > > I have instrum

Re: adding a header via milter

2012-05-17 Thread Ben Rosengart
On Thu, May 17, 2012 at 12:04:11PM -0400, Wietse Venema wrote: > Ben Rosengart: > > > > > > Are you implementing your own Milter on-the-wire read/write > > > routines? > > > > No, I am using Sendmail::PMilter. > > Is that from CPAN or elsewhere? CPAN. It's currently unmaintained, but we are l

Re: Postfix SMTP Client Segfaults over TLS

2012-05-17 Thread Wietse Venema
Viktor Dukhovni: > On Thu, May 17, 2012 at 11:05:30AM -0400, Wietse Venema wrote: > > > > > Use $data_directory instead. > > > > > > That's likely not the direct cause of the problem, rather the > > > existing cache likely contains entries from different OpenSSL > > > version, and OpenSSL segfaul

Re: Postfix SMTP Client Segfaults over TLS

2012-05-17 Thread Viktor Dukhovni
On Thu, May 17, 2012 at 12:07:16PM -0400, Wietse Venema wrote: > > I think this is the server's cache key, the OP had issues with the > > SMTP client, so we probably need to "salt" that lookup also. It > > Of course. This was just to give the idea how the session key > structure would change. I h

Re: adding a header via milter

2012-05-17 Thread Wietse Venema
Ben Rosengart: > I enabled verbose mode in smtpd(8), but I don't know what to look for Adding headers is implemented in cleanup(8). Headers will never be added when smtpd(8) is followed by a before-queue content filter. Perhaps that is your problem? Otherwise, can you provide a small Perl sample

Re: adding a header via milter

2012-05-17 Thread Ben Rosengart
On Thu, May 17, 2012 at 01:19:52PM -0400, Wietse Venema wrote: > > Adding headers is implemented in cleanup(8). Headers will never be > added when smtpd(8) is followed by a before-queue content filter. > Perhaps that is your problem? No, but I appreciate the process behind the guess. > Otherwise

Re: adding a header via milter

2012-05-17 Thread Wietse Venema
Ben Rosengart: > On Thu, May 17, 2012 at 01:19:52PM -0400, Wietse Venema wrote: > > > > Adding headers is implemented in cleanup(8). Headers will never be > > added when smtpd(8) is followed by a before-queue content filter. > > Perhaps that is your problem? > > No, but I appreciate the process b

Re: adding a header via milter

2012-05-17 Thread Ben Rosengart
On Thu, May 17, 2012 at 02:31:19PM -0400, Wietse Venema wrote: > > I installed Sendmail::PMilter and it works out of the box (I used > TCP instead of UNIX-domain because I didn't want to mess with chroot > configuration). Do you think it makes a difference that I am running this as an smtpd_milter

Re: adding a header via milter

2012-05-17 Thread Wietse Venema
Ben Rosengart: > On Thu, May 17, 2012 at 02:31:19PM -0400, Wietse Venema wrote: > > > > I installed Sendmail::PMilter and it works out of the box (I used > > TCP instead of UNIX-domain because I didn't want to mess with chroot > > configuration). > > Do you think it makes a difference that I am ru

Re: my server generates spam

2012-05-17 Thread Giuseppe Perna
HELLO, I'm sorry, I did not understand how to check and see where the logs of who accesses the webmail. I HAVE seen in the log the ip that is bothering me, I stop sending this ip? thanks 2012/5/10 Reindl Harald : > > > Am 10.05.2012 14:10, schrieb Giuseppe Perna: >> thanks for repaly, >> this is

Re: content filtering & restriction_classses

2012-05-17 Thread Chad M Stewart
Thank you Noel for the clarification. I think I've figured out how I want this all setup. :) -Chad

Simple content filter

2012-05-17 Thread Stan Hoeppner
From: http://www.postfix.org/FILTER_README.html /etc/postfix/master.cf: # = # service type private unpriv chroot wakeup maxproc command # (yes) (yes) (yes) (never) (100) # =

Re: Simple content filter

2012-05-17 Thread /dev/rob0
On Thu, May 17, 2012 at 11:22:04PM -0500, Stan Hoeppner wrote: > From: http://www.postfix.org/FILTER_README.html > > /etc/postfix/master.cf: > # = > # service type private unpriv chroot wakeup maxproc command > #

Re: Simple content filter

2012-05-17 Thread Stan Hoeppner
On 5/17/2012 11:44 PM, /dev/rob0 wrote: > On Thu, May 17, 2012 at 11:22:04PM -0500, Stan Hoeppner wrote: >> From: http://www.postfix.org/FILTER_README.html >> >> /etc/postfix/master.cf: >> # = >> # service type private unpriv chroot