Re: postfix/smtpd: queue file size limit exceeded

2010-07-23 Thread Sahil Tandon
On Fri, 2010-07-23 at 10:16:08 +0200, Stanisław Findeisen wrote: > On 2010-07-23 02:44, Sahil Tandon wrote: > > It appears that google's SMTP client does not use the SIZE declaration > > as outlined in RFC 1870. You can record the conversation between google > > and your server to verify this you

Re: milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/07/10 03:55, Jesus Cea wrote: > If you are actually saying that the issue is with thunderbird email > client, my next step would be to do a python email sender sending the > very same mail. Trying to create a "portable" reproductable case, I hav

Re: Block/allow incoming IP only for SOME domains

2010-07-23 Thread Noel Jones
On 7/23/2010 4:11 PM, Denis BUCHER wrote: Hello Brian, Le 23.07.2010 16:49, Brian Evans - Postfix List a écrit : Yesterday I succeeded into blocking some IP (or more exactly allowing only some) to connect to one of my server and send email via SMTP. Now for another server, I need something a l

Re: Sender restrictions

2010-07-23 Thread Noel Jones
On 7/23/2010 6:42 PM, Andrés Gattinoni wrote: On Fri, Jul 23, 2010 at 8:31 PM, Jeroen Geilman wrote: On 07/24/2010 12:44 AM, Andrés Gattinoni wrote: Hi guys, I have the following question: Is it possible to restrict some virtual accounts from sending emails through my Postfix? What does "

Re: postfix as forwarder and backscatterer problem

2010-07-23 Thread Noel Jones
On 7/23/2010 12:59 PM, Walter Pinto wrote: Couldn't you restrict the large bounces by setting bounce_size_limit = x ? This limits the amount of data returned with the bounce; it doesn't eliminate the bounce. smtpd_data_restrictions = reject_multi_recipient_bounce is a good idea too This r

Re: milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/07/10 01:28, Wietse Venema wrote: > 2) I repeat, the problem is that Postfix does not recognize the > end of the message. I don't send the message completely. According to thunderbird, it sends 88% only, waiting for postfix to open the tcp windo

Re: Integration of milter results in postfix logs

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/07/10 20:45, Wietse Venema wrote: > Postfix logs a milter-reject record with whatever text the milter > gives to Postfix. Yes, my fault. I overlooked it. Sorry. > Jul 23 20:11:57 XX sendmail[9441]: [ID 801593 mail.info] >> o6NIBtWs009441:

Re: Sender restrictions

2010-07-23 Thread Andrés Gattinoni
On Fri, Jul 23, 2010 at 8:45 PM, Jeroen Geilman wrote: >>> With a check_sender_access restriction in smtpd_recipient_restrictions. >>> >> >> Ok. Should it be something like this in /etc/postfix/access >> >> someu...@domain.com REJECT >> >> And then: >> >> smtpd_recipient_restrictions = check_sende

Re: Sender restrictions

2010-07-23 Thread Jeroen Geilman
On 07/24/2010 01:42 AM, Andrés Gattinoni wrote: On Fri, Jul 23, 2010 at 8:31 PM, Jeroen Geilman wrote: On 07/24/2010 12:44 AM, Andrés Gattinoni wrote: Hi guys, I have the following question: Is it possible to restrict some virtual accounts from sending emails through my Postfix?

Re: Sender restrictions

2010-07-23 Thread Andrés Gattinoni
On Fri, Jul 23, 2010 at 8:31 PM, Jeroen Geilman wrote: > On 07/24/2010 12:44 AM, Andrés Gattinoni wrote: >> >> Hi guys, I have the following question: >> >> Is it possible to restrict some virtual accounts from sending emails >> through my Postfix? >> > > What does "through" mean ? > If you mean F

Re: Sender restrictions

2010-07-23 Thread Jeroen Geilman
On 07/24/2010 12:44 AM, Andrés Gattinoni wrote: Hi guys, I have the following question: Is it possible to restrict some virtual accounts from sending emails through my Postfix? What does "through" mean ? If you mean FROM an address that is in your virtual_*_maps, then no, not trivially.

Re: milter still hungs (from time to time)

2010-07-23 Thread Wietse Venema
Jesus Cea: > On 23/07/10 23:09, Wietse Venema wrote: > > This has nothing to do with milters. > > > > A diff between the logs shows that YOU disconnect from the submission > > port before POSTFIX has logged the final MIME boundary. > > > > I suspect that you have an SMTP client implementation pro

Sender restrictions

2010-07-23 Thread Andrés Gattinoni
Hi guys, I have the following question: Is it possible to restrict some virtual accounts from sending emails through my Postfix? I have Postfix 2.3.3 running on a box with several virtual accounts. I want to prevent some of them from sending emails (I just want them to be able to receive). How co

Re: what is the quickest way to bounce all message in the defer queue?

2010-07-23 Thread Jeroen Geilman
On 07/23/2010 08:42 AM, Joe Wong wrote: Hello, For some good reason, I want to have a way to bounce all message in deferred queue. Is there a command(s) to do so? That is a very bad idea. The only valid reason to do this would be if you /knew/ these messages can never be delivered, which

Re: milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/07/10 23:09, Wietse Venema wrote: > This has nothing to do with milters. > > A diff between the logs shows that YOU disconnect from the submission > port before POSTFIX has logged the final MIME boundary. > > I suspect that you have an SMTP cli

Re: Block/allow incoming IP only for SOME domains

2010-07-23 Thread Denis BUCHER
Hello Brian, Le 23.07.2010 16:49, Brian Evans - Postfix List a écrit : Yesterday I succeeded into blocking some IP (or more exactly allowing only some) to connect to one of my server and send email via SMTP. Now for another server, I need something a little more complicated and I would be happy

Re: milter still hungs (from time to time)

2010-07-23 Thread Wietse Venema
Jesus Cea: > On 23/07/10 20:29, Wietse Venema wrote: > >> > >> How can I help you to diagnose & solve the error?. > > > > With POSTFIX "smtpd -v" and "cleanup -v" logging for: > > > > - One message that demonstrates the problem > > > > - The EXACT SAME MESSAGE with one letter changed in the recipie

Re: potconf -A returns a NULL value

2010-07-23 Thread Matt Hayes
On 7/23/2010 4:49 PM, Theodore Durst wrote: > Matt, > > I am probably misunderstanding this, have been playing ith the TLS > configuration but seemed to be spinning my wheels. What we need to do is > encrypt communication between this postfix server (which will only send) > and a relay server on a

Re: potconf -A returns a NULL value

2010-07-23 Thread Theodore Durst
Matt, I am probably misunderstanding this, have been playing ith the TLS configuration but seemed to be spinning my wheels. What we need to do is encrypt communication between this postfix server (which will only send) and a relay server on another box. Please elaborate. Theodore Please elabora

Re: milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/07/10 20:29, Wietse Venema wrote: >> >> How can I help you to diagnose & solve the error?. > > With POSTFIX "smtpd -v" and "cleanup -v" logging for: > > - One message that demonstrates the problem > > - The EXACT SAME MESSAGE with one letter chan

Re: milter still hungs (from time to time)

2010-07-23 Thread Stan Hoeppner
Jesus Cea put forth on 7/23/2010 2:33 PM: > The email filesize is around 300Kbytes. The mailing list rejects it. > > Should I send it to your personal email?. Send a ZIP file? Put it on your httpd server, or upload it to pastebin.com, and publish the appropriate link. -- Stan

Re: potconf -A returns a NULL value

2010-07-23 Thread Matt Hayes
On 7/23/2010 3:51 PM, Theodore Durst wrote: > I have been trying to get postfix running with TLS under AIX 5.2.3 with > no luck. Retracing my steps, I ran postconf and get no response when > running it with -A or -a fags. > > There are no man pages installed on this box and I am an AIX newbie > (c

potconf -A returns a NULL value

2010-07-23 Thread Theodore Durst
I have been trying to get postfix running with TLS under AIX 5.2.3 with no luck. Retracing my steps, I ran postconf and get no response when running it with -A or -a fags. There are no man pages installed on this box and I am an AIX newbie (coming to this from BSD and GNU/linux). So, I am, not sur

Re: milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The email filesize is around 300Kbytes. The mailing list rejects it. Should I send it to your personal email?. Send a ZIP file? - -- Jesus Cea Avion _/_/ _/_/_/_/_/_/ j...@jcea.es - http://www.jcea.es/ _/_/

Re: milter still hungs (from time to time)

2010-07-23 Thread Wietse Venema
Jesus Cea: > On 23/07/10 20:29, Wietse Venema wrote: > > - The EXACT SAME MESSAGE with one letter changed in the recipient > > address, so that it does not demonstrate the problem. > > Only one letter?. Then would be a non existant account. Is this test > useful to you?. I could create a valid e

Re: Integration of milter results in postfix logs

2010-07-23 Thread Wietse Venema
Jesus Cea: > For instance, in sendmail I see things like this in the logs: > > Jul 23 20:10:09 XXX sendmail[9338]: [ID 801593 mail.info] > o6NIA6ef009338: Milter: to=, reject=451 Temporaly delayed. > Try later (3540) ... > Jul 23 20:10:56 XXX sendmail[9374]: [ID 801593 mail.info] > o6NIArA7009374:

Re: milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/07/10 20:29, Wietse Venema wrote: > - The EXACT SAME MESSAGE with one letter changed in the recipient > address, so that it does not demonstrate the problem. Only one letter?. Then would be a non existant account. Is this test useful to you?.

Re: milter still hungs (from time to time)

2010-07-23 Thread Wietse Venema
> > How can I help you to diagnose & solve the error?. With POSTFIX "smtpd -v" and "cleanup -v" logging for: - One message that demonstrates the problem. - The EXACT SAME MESSAGE with one letter changed in the recipient address, so that it does not demonstrate the problem. Do not send verbos

Integration of milter results in postfix logs

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, my friends. My milter inserts/replace headers. Is there any postfix configuration to dump the headers changed by milter in the log, like sendmail does?. Now I have to cross reference postfix logs with milter logs to create an unified vision. :-?

milter still hungs (from time to time)

2010-07-23 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have spend the last months trying to debug an sporadic milter hang. Finally, a few days ago I found a (brittle) reproductible case. After a couple of days I determined that the problem was in postfix, not my milter filter. I was running postfix 2.6.

Re: postfix as forwarder and backscatterer problem

2010-07-23 Thread Walter Pinto
Couldn't you restrict the large bounces by setting bounce_size_limit = x ? smtpd_data_restrictions = reject_multi_recipient_bounce is a good idea too

Re: Block/allow incoming IP only for SOME domains

2010-07-23 Thread Brian Evans - Postfix List
On 7/23/2010 10:31 AM, Denis BUCHER wrote: Dear all, Yesterday I succeeded into blocking some IP (or more exactly allowing only some) to connect to one of my server and send email via SMTP. Now for another server, I need something a little more complicated and I would be happy if someone co

Block/allow incoming IP only for SOME domains

2010-07-23 Thread Denis BUCHER
Dear all, Yesterday I succeeded into blocking some IP (or more exactly allowing only some) to connect to one of my server and send email via SMTP. Now for another server, I need something a little more complicated and I would be happy if someone could direct me to the right method. I would

Re: Long term storage of undeliverable mail

2010-07-23 Thread Mark Goodge
On 23/07/2010 13:37, Wietse Venema wrote: Mark Goodge: What I need to do is configure A so that mail destined for B is stored indefinitely (well, for a few days, at least) without generating NDRs or attempted delivery notifications, so that when B comes back online all the stored mail can be de

Re: Long term storage of undeliverable mail

2010-07-23 Thread Wietse Venema
Mark Goodge: > OK, I'm sure this is in the documentation somewhere, but my brain isn't > working this morning and I need to get a fix for this fairly quickly, so > I'm asking here instead :-) > > Anyway, I currently have a situation where mail is currently received by > machine A, which then fo

Re: Feature request: postsuper release but don't delete (cloning?)

2010-07-23 Thread Wietse Venema
Victor Duchovni: > On Thu, Jul 22, 2010 at 09:24:52PM +0200, Ralf Hildebrandt wrote: > > > * Victor Duchovni : > > > > > Note, if rsync propagates file permissions before it copies file contents, > > > an incomplete queue file could be picked up by the queue manager before > > > it is completely

Re: postfix as forwarder and backscatterer problem

2010-07-23 Thread Charles Marcus
Vasya Pupkin wrote: > I'm my own only customer. And I understand risks of disabling bounce > feature. I understand that someone will not get a notification if his > email will not be delivered to me, but I can live with it. It is still solving the wrong problem, and possibly (probably?) someday yo

Re: postfix as forwarder and backscatterer problem

2010-07-23 Thread Charles Marcus
On 2010-07-22 10:45 AM, Randy Ramsdell wrote: > I am dealing with the same thing. I have to forward to non-local > mail servers and I try to mimic some of those settings but we still > get a few that pass local mail to external mail which is then > rejected. To state the obvious - have you tried

Re: openSUSE chroot setup for TLS workaround

2010-07-23 Thread Carsten Hoeger
On Fri, Jul 23, Matthias Andree wrote: > Greetings, > > I haven't checked if it's a flaw in my configuration, but anyways, > for the records: > > openSUSE 11.3 does not seem to automatically set up the TLS certs > for the chroot if you have smtp_tls_CApath set, but not > smtpd_tls_CApath (note t

Re: postfix/smtpd: queue file size limit exceeded

2010-07-23 Thread Stanisław Findeisen
On 2010-07-23 02:44, Sahil Tandon wrote: > On Thu, 2010-07-22 at 13:08:32 +0200, Stanisław Findeisen wrote: > >> Jul 21 12:11:26 smtpd[31280]: connect from >> mail-ww0-f46.google.com[74.125.82.46] >> Jul 21 12:11:26 smtpd[31280]: 2E..36: >> client=mail-ww0-f46.google.com[74.125.82.46] >> Jul 21

Long term storage of undeliverable mail

2010-07-23 Thread Mark Goodge
OK, I'm sure this is in the documentation somewhere, but my brain isn't working this morning and I need to get a fix for this fairly quickly, so I'm asking here instead :-) Anyway, I currently have a situation where mail is currently received by machine A, which then forwards it to machine B.