Queue full of double-bounce

2010-10-11 Thread Patric Falinder
Hi, Recently I've noticed that my mailqueue is filled up with doube-bounce messages that won't go away. I can't remember it being this way since the beginning and I just noticed it a couple of days ago. Right now I have 193 messages in the queue and they're all from double-bounce. They are o

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Patric Falinder: > Hi, > > Recently I've noticed that my mailqueue is filled up with doube-bounce > messages that won't go away. > I can't remember it being this way since the beginning and I just > noticed it a couple of days ago. > > Right now I have 193 messages in the queue and they're all

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Wietse Venema: > Patric Falinder: > > Hi, > > > > Recently I've noticed that my mailqueue is filled up with doube-bounce > > messages that won't go away. > > I can't remember it being this way since the beginning and I just > > noticed it a couple of days ago. > > > > Right now I have 193 messa

Re: Queue full of double-bounce

2010-10-11 Thread Patric Falinder
Wietse Venema skrev 2010-10-11 14:44: Wietse Venema: Patric Falinder: Hi, Recently I've noticed that my mailqueue is filled up with doube-bounce messages that won't go away. I can't remember it being this way since the beginning and I just noticed it a couple of days ago. Right now I have 193

Re: Queue full of double-bounce

2010-10-11 Thread Bastian Blank
On Mon, Oct 11, 2010 at 04:27:13PM +0200, Patric Falinder wrote: > I'm running Debian Lenny x64 with Postfix 2.5.5 with VDA patch. VDA is supported where? > It's virtualized on a VMWare ESX server. > Don't really know what tick-less timer support is so I guess I don't use > it unless it's stand

Overflow check when reading integer values from config?

2010-10-11 Thread Miroslav Lichvar
Hi, there is an inconsistency between 64-bit and 32-bit systems when a large integer which doesn't fit in int is specified in the config. On 32-bit the value is clamped to INT_MAX, because long is the same width as int. This leads to strange situations when the same configuration works on 32-bit,

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Wietse: > Apparently the low-frequency $queue_run_delay (300s) timer still > works, so the queue manager picks up one message every 300s, but > your system's ZERO-DELAY timer support is broken, so the queue > manager does not pick up the next message immediately as it does > everywhere else. > > Th

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Bastian Blank: [ Charset UTF-8 unsupported, converting... ] > On Mon, Oct 11, 2010 at 04:27:13PM +0200, Patric Falinder wrote: > > I'm running Debian Lenny x64 with Postfix 2.5.5 with VDA patch. > > VDA is supported where? > > > It's virtualized on a VMWare ESX server. > > Don't really know what

Re: Overflow check when reading integer values from config?

2010-10-11 Thread Wietse Venema
Miroslav Lichvar: > Hi, > > there is an inconsistency between 64-bit and 32-bit systems when a > large integer which doesn't fit in int is specified in the config. On > 32-bit the value is clamped to INT_MAX, because long is the same width > as int. This leads to strange situations when the same c

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Wietse Venema: > > How do I fix the system's ZERO-DELAY timer? > > I can write a small test program. If it reproduces the problem, > then there are two things that need to be done. > > 1) The program needs to be sent to VMware as part of a bug report. > > 2) We can try to program around this bug

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Small correction in-line. Wietse Wietse Venema: > Wietse Venema: > > > How do I fix the system's ZERO-DELAY timer? > > > > I can write a small test program. If it reproduces the problem, > > then there are two things that need to be done. > > > > 1) The program needs to be sent to VMwar

Postfix as TLS client using different credentials for same SMTP host

2010-10-11 Thread Chris Hills
Hi The situation is thus:- I wish to provide a v6-to-v4 relay for two different domains using the same postfix process. Mail for the domains is hosted by google, so the destination host will be ASPMX.L.GOOGLE.com. for both domains. However, recently my ipv4 provider has blocked outgoing tcp:25 so

Re: Postfix as TLS client using different credentials for same SMTP host

2010-10-11 Thread Wietse Venema
Chris Hills: [ Charset ISO-8859-1 unsupported, converting... ] > Hi > > The situation is thus:- > > I wish to provide a v6-to-v4 relay for two different domains using the > same postfix process. Mail for the domains is hosted by google, so the > destination host will be ASPMX.L.GOOGLE.com. for bo

Re: Postfix as TLS client using different credentials for same SMTP host

2010-10-11 Thread Jeroen Geilman
On 10/11/2010 08:56 PM, Chris Hills wrote: Hi The situation is thus:- I wish to provide a v6-to-v4 relay for two different domains using the same postfix process. Mail for the domains is hosted by google, so the destination host will be ASPMX.L.GOOGLE.com. for both domains. However, recently my

Re: Postfix as TLS client using different credentials for same SMTP host

2010-10-11 Thread Victor Duchovni
On Mon, Oct 11, 2010 at 07:56:40PM +0100, Chris Hills wrote: > Hi > > The situation is thus:- > > I wish to provide a v6-to-v4 relay for two different domains using the > same postfix process. Mail for the domains is hosted by google, so the > destination host will be ASPMX.L.GOOGLE.com. for bot

Re: Overflow check when reading integer values from config?

2010-10-11 Thread Victor Duchovni
On Mon, Oct 11, 2010 at 12:55:34PM -0400, Wietse Venema wrote: > Unfortunately, sccanf() returns no error indication when input > conversion fails - it was broken by design. > > Eventually, all numerical conversions will need to be "ported" over > the strtol() family. We also have the off_cvt_st

Re: Queue full of double-bounce

2010-10-11 Thread Patric Falinder
On 10/11/10 8:40 PM, Wietse Venema wrote: Small correction in-line. Wietse Wietse Venema: Wietse Venema: How do I fix the system's ZERO-DELAY timer? I can write a small test program. If it reproduces the problem, then there are two things that need to be done. 1) The program needs

Re: Queue full of double-bounce

2010-10-11 Thread Wietse Venema
Patric Falinder: > >> > >> then you have found the timer bug that causes Postfix to deliver > >> only one message probe per 300 seconds, and we can start looking > >> for workarounds (such as changing the src/util/events.c module and > >> replacing zero delay requests by 1 millisecond delay request

Newb question - simple script

2010-10-11 Thread jimmy zoto
I'm trying to copy all incoming mail to a local FIFO file for special purpose processing by a Java program. I don't know the best way to do this. I tried to modify the simple filter script example in the documentation to this : #!/bin/sh INSPECT_DIR=/var/spool/myFifoDir EX_TEMPFAIL=75 cd

Virtual Domains

2010-10-11 Thread Jeremy Bowen
Hi All I'm probably missing something really obvious but I can't see what I'm doing wrong. I have a server which I wish to use to host both my primary domain (eg. example.com) and several virtual domains (virtual1.com, virtual2.com etc.). I'm running Postfix v2.3.3 on CentOS 5 (This is the lates

Re: Newb question - simple script

2010-10-11 Thread Victor Duchovni
On Mon, Oct 11, 2010 at 02:07:20PM -0700, jimmy zoto wrote: > I'm trying to copy all incoming mail to a local FIFO file for special > purpose processing by a Java program. I don't know the best way to do this. This sounds like a bad design. It is unlikely that your FIFO has any way to indicate su

Re: Virtual Domains

2010-10-11 Thread Victor Duchovni
On Tue, Oct 12, 2010 at 10:21:26AM +1300, Jeremy Bowen wrote: > my /etc/postfix/virtual file looks like this: > @example.com jeremy Avoid confusing yourself with localpart-only addresses on the RHS of address lookup tables. Given your myorigin setting, Make that: @example.com

Re: Newb question - simple script

2010-10-11 Thread Wietse Venema
jimmy zoto: > I'm trying to copy all incoming mail to a local FIFO file for special purpose > processing by a Java program. I don't know the best way to do this. Don't use FIFOs for this. It's a one-way channel with no way for the receiver to report errors to the sender. Use SMTP instead. It's

Re: Virtual Domains

2010-10-11 Thread The Doctor
On Tue, Oct 12, 2010 at 10:21:26AM +1300, Jeremy Bowen wrote: > Hi All > > I'm probably missing something really obvious but I can't see what I'm > doing wrong. > > I have a server which I wish to use to host both my primary domain (eg. > example.com) and several virtual domains (virtual1.com, vi

Messages w/ No Subject

2010-10-11 Thread Carlos Mennens
I was wondering how mail administrators using Postfix handle messages w/o any subject material? I don't know if this is an RFC guideline that requires email to have a subject but I find it extremely annoying when email doesn't have a subject. I don't know if that's just personal preference or if it

Block all but a few from sending mail offsite

2010-10-11 Thread John Swift
Hello, For my Postfix web server, I was able to get the example working that was at the bottom of the web page here: http://www.postfix.org/RESTRICTION_CLASS_README.html#external. In that section of the web page, it says "It is left as an exercise for the reader to change this into a scheme wh

Re: Virtual Domains

2010-10-11 Thread Jeremy Bowen
On 10/11/2010, "Victor Duchovni" wrote: >Avoid confusing yourself with localpart-only addresses on the RHS of >address lookup tables. Given your myorigin setting, Make that: > >@example.com jer...@example.com >j...@virtual1.com j...@example.com >@virtual1.com f...@

Re: Messages w/ No Subject

2010-10-11 Thread Sahil Tandon
On Mon, 2010-10-11 at 19:41:08 -0400, Carlos Mennens wrote: > I was wondering how mail administrators using Postfix handle messages > w/o any subject material? I don't know if this is an RFC guideline > that requires email to have a subject but I find it extremely annoying > when email doesn't hav

Re: Block all but a few from sending mail offsite

2010-10-11 Thread Sahil Tandon
On Mon, 2010-10-11 at 16:45:13 -0700, John Swift wrote: > For my Postfix web server, I was able to get the example working that > was at the bottom of the web page here: > http://www.postfix.org/RESTRICTION_CLASS_README.html#external. In that > section of the web page, it says "It is left as an ex

Repeated mails

2010-10-11 Thread Alberto Lepe
Hello, I need some advice with a problem (I believe is an easy question but I couldn't find an answer): My server logs is "normally" reporting twice almost every time someone is sending an email: ./mail.log.0:Oct 11 08:58:23 mail postfix/qmgr[5276]: CCC3C1C015: from=< nak...@example.co.jp>, size=

RE: Repeated mails

2010-10-11 Thread Gary Smith
>The spam-assassin filter is still on testing period so some messages are >marked as SPAM only but are not blocked. Could that be the reason of >duplicated emails? Possibly a problem with SA. If you remove it does the problem go away? Also think about how spam assassin is configured. If you

Re: Repeated mails

2010-10-11 Thread Alberto Lepe
On Tue, Oct 12, 2010 at 11:32 AM, Gary Smith wrote: > > >The spam-assassin filter is still on testing period so some messages are > marked as SPAM only but are not blocked. Could that be the reason of > duplicated emails? > > Possibly a problem with SA. If you remove it does the problem go away?

Re: Repeated mails

2010-10-11 Thread Alberto Lepe
I have to say that I haven't confirm the email "duplication" problem. I have no way to test it from here and I have no information about the email client settings. Its just a problem reported from one user from hundreds. However I would like to rule out first any server related misconfiguration.

adding recipient

2010-10-11 Thread Tom Kinghorn
Good morning List. I just wanted to know if it is possible to add a recipient to a message which is queued? I come from an exim background where we could do so using exim -Mar message-id new-recipient-address. Thanks in advance. Tom