smtpd.key

2009-01-30 Thread Tolga
Hello, I get the below in my logs. Why do I get this error? smtpd.key exists Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: cannot get private key from file /etc/ssl/private/smtpd.key Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: TLS library problem: 10310:error:0B080074:x509 cert

can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Martijn Brinkers
I use an after queue filter to filter incoming email. When the filter queue grows because email comes in faster than it can handle the filter returns a 450 until the filter queue is empty again. Now when email is received in a big burst it can happen that the filter queue temporarily grows and then

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Wietse Venema
Martijn Brinkers: > I use an after queue filter to filter incoming email. When the filter > queue grows because email comes in faster than it can handle the filter > returns a 450 until the filter queue is empty again. Now when email is > received in a big burst it can happen that the filter queue

Re: smtpd.key

2009-01-30 Thread Wietse Venema
Tolga: > Hello, > > I get the below in my logs. Why do I get this error? smtpd.key exists > > Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: cannot get private > key from file /etc/ssl/private/smtpd.key > Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: TLS library > problem: 10310:er

Re: smtpd.key

2009-01-30 Thread Tolga
Wietse Venema yazmış: Tolga: Hello, I get the below in my logs. Why do I get this error? smtpd.key exists Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: cannot get private key from file /etc/ssl/private/smtpd.key Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: TLS library pro

Re: smtpd.key

2009-01-30 Thread Sahil Tandon
On Fri, 30 Jan 2009, Tolga wrote: > Wietse Venema yazm: >> Tolga: >> >>> Hello, >>> >>> I get the below in my logs. Why do I get this error? smtpd.key exists >>> >>> Jan 30 09:58:58 ozses postfix/smtpd[10310]: warning: cannot get >>> private key from file /etc/ssl/private/smtpd.key >>> Jan

Re: smtpd.key

2009-01-30 Thread Barney Desmond
>> I've read and applied >> https://help.ubuntu.com/8.04/serverguide/C/postfix.html. How could this >> happen? Shouldn't the information be consistent? > > Postfix is not affiliated with Ubuntu, so whatever you read on the > above-linked web site is the responsibility of the Ubuntu person who autho

Re: smtpd.key

2009-01-30 Thread Wietse Venema
Tolga: > I've read and applied > https://help.ubuntu.com/8.04/serverguide/C/postfix.html. How could this > happen? Shouldn't the information be consistent? That document is not part of Postfix, so you better complain to the Ubuntu people, not here. Wietse

Address verification + aliases on gateway

2009-01-30 Thread Guy
Hi, I've got two gateway machines that process aliases. If there is an alias that maps to a remote address (eg. hotmail) the mail is relayed directly to the remote domain, or if the alias maps to a local domain the message is relayed to the back end servers. If there is no alias the message is als

Re: sasl_passwd.db permissions?

2009-01-30 Thread swilting
how to use this command? and that must contain the file jed /usr/lib/sasl2/smtpd.conf pwcheck_method: pwcheck saslauthd or else I have one and that the plain authentication on my server Le mercredi 28 janvier 2009 à 20:06 +0100, Patrick Ben Koetter a écrit : > John, > > * swilting : > >

Re: Address verification + aliases on gateway

2009-01-30 Thread Noel Jones
Guy wrote: Hi, I've got two gateway machines that process aliases. If there is an alias that maps to a remote address (eg. hotmail) the mail is relayed directly to the remote domain, or if the alias maps to a local domain the message is relayed to the back end servers. If there is no alias the m

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Noel Jones
Wietse Venema wrote: Martijn Brinkers: I use an after queue filter to filter incoming email. When the filter queue grows because email comes in faster than it can handle the filter returns a 450 until the filter queue is empty again. Now when email is received in a big burst it can happen that t

Re: Duplicate messages

2009-01-30 Thread J.P. Trosclair
Gabriel Hahmann wrote: Ok J.P In fact the log entries looks like normal, like normal message sent. When I sent a mail to the global alias (which is my alias to all users), in the mail.log appear a message from me to the global alias and then a message from me to each user listed in the alias. Th

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 11:43:07AM -0600, Noel Jones wrote: > If that's ineffective for some reason, then implement the suggestions > outlined in > http://www.postfix.org/QSHAPE_README.html#backlog Note, for Postfix 2.5.x with x<=6, there is an error in the parameter names actually used by qmgr(

Re: Duplicate messages

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 11:45:15AM -0600, J.P. Trosclair wrote: >> global: ... giant list of users ... >> .. Create a "global-owner: postmaster" alias (replace postmaster with list maintainer address), and consider moving the list to a :include:/path external file. Without or or the other, you wi

Re: Duplicate messages

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 12:55:53PM -0500, Victor Duchovni wrote: > On Fri, Jan 30, 2009 at 11:45:15AM -0600, J.P. Trosclair wrote: > > >> global: ... giant list of users ... > >> .. > > Create a "global-owner: postmaster" alias (replace postmaster with list > maintainer address), and consider mo

Re: "Aliasing" of local mail account not working

2009-01-30 Thread Wietse Venema
Marcial Rion: > > Yes. I need to correlate what local(8) forwards against what cleanup(8) > > receives. > > > > Wietse > > > Here you go with the correlated logs (local -v and cleanup -v): > > http://www.copypaste.at/276 What you have can happen only with modified Postfix code. Wi

Re: "Aliasing" of local mail account not working

2009-01-30 Thread Marcial Rion
Wietse Venema wrote: Marcial Rion: Yes. I need to correlate what local(8) forwards against what cleanup(8) receives. Wietse Here you go with the correlated logs (local -v and cleanup -v): http://www.copypaste.at/276 What you have can happen only with modified Postf

Re: Is result_format being ignored?

2009-01-30 Thread Jason Voorhees
Hi: On Thu, Jan 29, 2009 at 4:50 PM, Victor Duchovni wrote: > On Thu, Jan 29, 2009 at 04:46:01PM -0500, Jason Voorhees wrote: > >> Ok, something else. Maybe isn't too appropiate for this post to use >> jvoorhe...@gmail.com as result_format because has no relation with my >> virtual domains scenar

Re: "Aliasing" of local mail account not working

2009-01-30 Thread Charles Marcus
On 1/30/2009, Marcial Rion (marcial.r...@swissonline.ch) wrote: > Ok, your explanation - and as far as I can understand the code - > makes sense to me, though I cannot explain why my box is using > modified code (I initially emerged postfix on my Gentoo box [is > Gentoo known to change postfix code

Timing question

2009-01-30 Thread Rocco Scappatura
Hello. I have a Postfix+Amavisd-new+MySQL+ClamAV mail gateway system. I'm observing time spent by a messagge in (Amavisd-new) content_filter of postfix (I trascure deliberately the time spent by a message to be processed by postfix, because it is neglegible with respect to the filter). I "grep"

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Martijn Brinkers
On Fri, 2009-01-30 at 11:43 -0600, Noel Jones wrote: > Seems to me the first action should be to reduce the number of > smtp connections to the content_filter to a number it's able > to consistently handle. There is a big difference in filtering speed between messages. The filter is an encryptio

Re: "Aliasing" of local mail account not working

2009-01-30 Thread Wietse Venema
Marcial Rion: > Wietse Venema wrote: > > Marcial Rion: > > > >>> Yes. I need to correlate what local(8) forwards against what cleanup(8) > >>> receives. > >>> > >>> Wietse > >>> > >>> > >> Here you go with the correlated logs (local -v and cleanup -v): > >> > >> http://www.copypaste.

Re: sasl_passwd.db RE ;:)

2009-01-30 Thread swilting
I have look at the page http://www.postfix.org/SASL_README.html nobody is perfect. I can not Le vendredi 30 janvier 2009 à 18:18 +0100, swilting a écrit : > how to use this command? > > and that must contain the file jed /usr/lib/sasl2/smtpd.conf > > pwcheck_method: pwcheck saslauthd > >

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 08:14:22PM +0100, Martijn Brinkers wrote: > If I'm not mistaken the described approach (with > fragile_destination_concurrency*) works when you have small bursts of > errors. In my case it can take some time before connections are allowed > (email is again allowed when the

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Noel Jones
Martijn Brinkers wrote: On Fri, 2009-01-30 at 11:43 -0600, Noel Jones wrote: Seems to me the first action should be to reduce the number of smtp connections to the content_filter to a number it's able to consistently handle. There is a big difference in filtering speed between messages. The f

Re: Calling smtpd restriction/filter from within master.cf

2009-01-30 Thread mouss
Steve a écrit : > Original-Nachricht >> Datum: Thu, 29 Jan 2009 20:38:26 +0100 >> Von: "Steve" >> An: postfix-users@postfix.org >> Betreff: Re: Calling smtpd restriction/filter from within master.cf > >> Original-Nachricht >>> Datum: Thu, 29 Jan 2009 19:44:53 +

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Noel Jones
Victor Duchovni wrote: On Fri, Jan 30, 2009 at 08:14:22PM +0100, Martijn Brinkers wrote: If I'm not mistaken the described approach (with fragile_destination_concurrency*) works when you have small bursts of errors. In my case it can take some time before connections are allowed (email is again

Re: Email delivered to wrong person.

2009-01-30 Thread mouss
David Schraeder a écrit : > > > Magnus Bäck wrote: >> On Thursday, January 29, 2009 at 23:39 CET, >> David Schraeder wrote: >> >>> I just got this postfix server going a few days ago. I have one >>> person receiving some emails that are not address to him. Yes they >>> are spam and I am r

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 01:45:29PM -0600, Noel Jones wrote: > Victor Duchovni wrote: >> On Fri, Jan 30, 2009 at 08:14:22PM +0100, Martijn Brinkers wrote: >>> If I'm not mistaken the described approach (with >>> fragile_destination_concurrency*) works when you have small bursts of >>> errors. In my

compile-problem with postfix-2.6-20090125

2009-01-30 Thread Peter Adebahr
hi * the above version compile flawlessly and is running fine on my main mailserver. on my home-server, i get the following error: gcc -Wmissing-prototypes -Wformat -DUSE_TLS -DHAS_PCRE -DSNAPSHOT -g -O -I. -I../../include -DLINUX2 -o smtpd smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o sm

Re: Email delivered to wrong person.

2009-01-30 Thread mouss
Sahil Tandon a écrit : > On Thu, 29 Jan 2009, Jim Wright wrote: > >> On Jan 29, 2009, at 4:54 PM, Magnus Bäck wrote: >> >>> You can easily find the relevant log entries by grepping your maillog >>> for the queue id, which is found in the first Received: header added by >>> your system. In this

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Martijn Brinkers
> iminate all queues from the filter, it should be a proxy. Let Postfix > do all the queueing, it is much better at this than the filter. The filter is based on James which is a Java based email server and cannot be used as a proxy, at least not without a major overhaul. The biggest reason I added

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 09:00:26PM +0100, Martijn Brinkers wrote: > > iminate all queues from the filter, it should be a proxy. Let Postfix > > do all the queueing, it is much better at this than the filter. > > The filter is based on James which is a Java based email server and > cannot be used

Garbled emails

2009-01-30 Thread Vruwink, Timothy Roger
Hi - I've got a strange postfix problem under opensuse 11. I have a couple admin type aliases setup on this box. Users can email these addresses and the messages get routed to the right person. Everything works fine. However, whenever one user replies to one of the messages from one of the loca

Re: compile-problem with postfix-2.6-20090125

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 08:51:19PM +0100, Peter Adebahr wrote: > gcc -Wmissing-prototypes -Wformat -DUSE_TLS -DHAS_PCRE -DSNAPSHOT -g -O -I. > -I../../include -DLINUX2 -o > smtpd smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o > smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o s

Re: Garbled emails

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 02:07:55PM -0600, Vruwink, Timothy Roger wrote: > VGVzdC4NCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCk Zyb206IE1lZGlhIC0gV2ViIFN1 > cHBvcnQgW21haWx0bzptZWRpYUBoZWxwLndpbGwudWl1Yy5lZH VdIA0KU2VudDogVGh1cnNkYXks > IEphbnVhcnkgMjksIDIwMDkgNDoxOCBQTQ0KVG86IEJhcnJpbm VhdSwgTWFyeSB

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Martijn Brinkers
> > If the filter queue size is larger than 500 messages (lower level) wait > > some time X in the RCPT handler of the filter and then continue > > normally. If size is larger than 1000 (upper level) return 450. > > Seems to me something is broken if the filter processing speed > is affected by

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 09:14:32PM +0100, Martijn Brinkers wrote: > > > If the filter queue size is larger than 500 messages (lower level) wait > > > some time X in the RCPT handler of the filter and then continue > > > normally. If size is larger than 1000 (upper level) return 450. > > > > Seem

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Martijn Brinkers
> You are solving the wrong problem. Your filter absorbs mail too fast, > queues it and then pushes back. It is far better for the filter to take > its time before responding to "." and thus to tie up Postfix connections > while the filter is catching up. You are completely right, that's what happ

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 09:20:02PM +0100, Martijn Brinkers wrote: > > You are solving the wrong problem. Your filter absorbs mail too fast, > > queues it and then pushes back. It is far better for the filter to take > > its time before responding to "." and thus to tie up Postfix connections > > w

Re: Garbled emails

2009-01-30 Thread Vruwink, Timothy Roger
Here are the headers of the original outgoing email. When the user replies to this message her incoming emails gets scrambled. Only seems to happen for her though. Received: from (1) with Microsoft SMTP Server (TLS) id 8.1.336.0; Thu, 29 Jan 2009 09:54:05 -0600 Received: from

Re: can the "deferred mail delivery attempts" settings be different for a postqueue filter?

2009-01-30 Thread Noel Jones
Martijn Brinkers wrote: If the filter queue size is larger than 500 messages (lower level) wait some time X in the RCPT handler of the filter and then continue normally. If size is larger than 1000 (upper level) return 450. Seems to me something is broken if the filter processing speed is affec

Re: Garbled emails

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 02:37:25PM -0600, Vruwink, Timothy Roger wrote: > Here are the headers of the original outgoing email. When the user replies > to this message her incoming emails gets scrambled. Only seems to happen for > her though. > > Received: from > (1) with Microsoft SM

gnarwl invoked from postfix

2009-01-30 Thread Jason Voorhees
Hi there: I finally understood and fixed previous problems with my Postfix installation. Now I'm invoking gnarwl from a transport, something like this: transport_maps = hash:/etc/postfix/transport virtual_alias_maps = ldap:/etc/postfix/phamm_alias.cf, ldap:/etc/postfix/phamm_vacation.cf /etc/pos

Re: gnarwl invoked from postfix

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 04:28:49PM -0500, Jason Voorhees wrote: > # ps aux | grep gnarwl > postfix 30245 0.0 0.3 6836 1804 ?S16:23 0:00 pipe > -n gnarwl -t unix flags=F user=gnarwl argv=/usr/local/bin/gnarwl -c > /usr/local/etc/gnarwl.cfg -s ${sender} -a ${us...@{nexthop} > roo

RE: Garbled emails

2009-01-30 Thread Barton Hodges
> -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of Victor Duchovni > Sent: Friday, January 30, 2009 2:42 PM > To: postfix-users@postfix.org > Subject: Re: Garbled emails > > On Fri, Jan 30, 2009 at 02:37:25PM -0600, Vruwink

Re: Timing question

2009-01-30 Thread Rocco Scappatura
> I have a Postfix+Amavisd-new+MySQL+ClamAV mail gateway system. > > I'm observing time spent by a messagge in (Amavisd-new) content_filter > of postfix (I trascure deliberately the time spent by a message to be > processed by postfix, because it is neglegible with respect to the > filter). > > I "

Re: gnarwl invoked from postfix

2009-01-30 Thread Wietse Venema
Jason Voorhees: > But I can see that gnarwl isn't receiving the email from Postfix, then > I query my processes: > > # ps aux | grep gnarwl > postfix 30245 0.0 0.3 6836 1804 ?S16:23 0:00 pipe > -n gnarwl -t unix flags=F user=gnarwl argv=/usr/local/bin/gnarwl -c > /usr/local/etc

Re: Timing question

2009-01-30 Thread Wietse Venema
Rocco Scappatura: > For example consider the log relative to the relay entries (to the cntent > filer and to postfix without conten filter): > > 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: > to=, relay=127.0.0.1[127.0.0.1]:10026, delay=8.9, > delays=1.3/0/0/7.7, dsn=2.0.0, status=sent

Re: Timing question

2009-01-30 Thread Rocco Scappatura
Thanks Wietse, >> For example consider the log relative to the relay entries (to the >> cntent >> filer and to postfix without conten filter): >> >> 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: >> to=, relay=127.0.0.1[127.0.0.1]:10026, delay=8.9, >> delays=1.3/0/0/7.7, dsn=2.0.0, statu

Re: Timing question

2009-01-30 Thread Wietse Venema
Rocco Scappatura: > Thanks Wietse, > > >> For example consider the log relative to the relay entries (to the > >> cntent > >> filer and to postfix without conten filter): > >> > >> 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: > >> to=, relay=127.0.0.1[127.0.0.1]:10026, delay=8.9, > >>

Re: Timing question

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 07:35:53PM -0500, Wietse Venema wrote: > > 1) Jan 30 10:02:17 av5 postfix/smtp[10603]: C0AFB226F23: > > to=, relay=127.0.0.1[127.0.0.1]:10026, delay=8.9, > > delays=1.3/0/0/7.7, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as > > 95CEE226F30) > > Postfix measures 7.7 secon

Mail backup for malfunctioning MTA

2009-01-30 Thread Melvyn Sopacua
Hello, I'd like to know if I can provide the following solution using postfix: 1) Accept mail for example.com as primary MX (yes, possible) 2) Relay to mx2.example.com (yes, possible) 3) If mx2.example.com gives fatal error, reduce to transient and try again later (not sure if relay -o soft_boun

Re: Mail backup for malfunctioning MTA

2009-01-30 Thread Victor Duchovni
On Fri, Jan 30, 2009 at 08:42:22PM -0900, Melvyn Sopacua wrote: > 1) Accept mail for example.com as primary MX (yes, possible) > 2) Relay to mx2.example.com (yes, possible) > 3) If mx2.example.com gives fatal error, reduce to transient and try again > later (not sure if relay -o soft_bounce=yes w