Re: postfix/local segfaults

2010-07-22 Thread Bas Mevissen
On 07/22/2010 05:22 AM, Victor Duchovni wrote: On Wed, Jul 21, 2010 at 11:16:04PM +0200, Bas Mevissen wrote: Can you try what happens if you replace at typedef struct LOCAL_STATE { int level;/* nesting level, for logging */ DELIVER_ATTR msg_attr;/*

Re: postfix/local segfaults

2010-07-22 Thread Kai Krakow
Bas, why should that make a difference if it was already proven that changing the optimization level of the compiler fixes the issue, and that it is probably a special corner case of hardened gcc3.4? I suppose it has to do with it's stack protecting techniques etc. 2010/7/22 Bas Mevissen

Re: Postfix queue on ramdisk: Insufficient system storage

2010-07-22 Thread Patrick Ben Koetter
* Stan Hoeppner s...@hardwarefreak.com: Wietse Venema put forth on 7/21/2010 2:22 PM: Ram: One server of ours just accepts the mails from clients and then relays the mails to other servers. Since there is almost no mail queued on the server , I think it is will be good to mount

Rewrite MAIL FROM protocol message

2010-07-22 Thread 509d410cf194382a73729bcddc5ef48f
Hi, I've got a local mail server that is responsible for delivering all my mail to the recipients. It does this by forwarding it to the strato mailserver using smtp authentication. As I do have accounts with different providers, my mails do have different sender domains. That's why the strato

[solved] Re: Rewrite MAIL FROM protocol message

2010-07-22 Thread 509d410cf194382a73729bcddc5ef48f
Hi, [rewrite sender envelope address only] I just got it working using canonical mapping and canonical_classes. Regards, M. Braun signature.asc Description: OpenPGP digital signature

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

2010-07-22 Thread Patrick Ben Koetter
I can put a mail on HOLD and release it later with the postsuper command. That's great for debugging purposes, but only if I need to send the message just once. Would it be possible to expand the postsuper command with an optional command line parameter that releases the message, but does not

Re: Postfix queue on ramdisk: Insufficient system storage

2010-07-22 Thread Stan Hoeppner
Patrick Ben Koetter put forth on 7/22/2010 2:11 AM: * Stan Hoeppner s...@hardwarefreak.com: Wietse Venema put forth on 7/21/2010 2:22 PM: Ram: One server of ours just accepts the mails from clients and then relays the mails to other servers. Since there is almost no mail queued on the

Re: Need help to block/allow incoming connections based on IP

2010-07-22 Thread Christoph Anton Mitterer
On Thu, 2010-07-22 at 12:54 +0200, Denis BUCHER wrote: 4. But now when I try a telnet (this machine) 25 from 213.213.213.213 I get Welcome and I am not rejected ? Could someone tell me what I did wrong ? Check http://www.postfix.org/SMTPD_ACCESS_README.html#timing which tells you _when_ your

[SOLVED] Re: Need help to block/allow incoming connections based on IP

2010-07-22 Thread Denis BUCHER
Le 22.07.2010 12:58, Christoph Anton Mitterer a écrit : On Thu, 2010-07-22 at 12:54 +0200, Denis BUCHER wrote: 4. But now when I try a telnet (this machine) 25 from 213.213.213.213 I get Welcome and I am not rejected ? Could someone tell me what I did wrong ? Check

postfix/smtpd: queue file size limit exceeded

2010-07-22 Thread Stanisław Findeisen
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 12:11:26 cleanup[31284]: 2E..36: message-id=aanlk.@mail.gmail.com Jul 21 12:11:34 smtpd[31280]: warning: 2E..36:

Re: Need help to block/allow incoming connections based on IP

2010-07-22 Thread Mark Goodge
On 22/07/2010 11:54, Denis BUCHER wrote: Dear all, After hours of reading websites and this mailing list, and after many unsuccessful tries, I would be happy if someone could help me. I want to allow some incoming networks to be allowed to connect to our servers and all the rest to be blocked.

Re: postfix/local segfaults

2010-07-22 Thread Wietse Venema
Kai Krakow: Bas, why should that make a difference if it was already proven that changing the optimization level of the compiler fixes the issue, and that it is probably a special corner case of hardened gcc3.4? I suppose it has to do with it's stack protecting techniques etc. That is

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

2010-07-22 Thread Wietse Venema
Patrick Ben Koetter: I can put a mail on HOLD and release it later with the postsuper command. That's great for debugging purposes, but only if I need to send the message just once. Would it be possible to expand the postsuper command with an optional command line parameter that releases

THREAD CLOSED (ISP Blocking of port 25)

2010-07-22 Thread Wietse Venema
Sahil Tandon: Time of death on Thu, Jul 22: 01:57:34 UTC END OF THREAD. Please? :-) Yes. I was posting that when my hotel's internet connection broke. TRESPASSERS WILL BE REMOVED FROM THE LIST. Wietse

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

2010-07-22 Thread Ralf Hildebrandt
* Wietse Venema wie...@porcupine.org: Patrick Ben Koetter: I can put a mail on HOLD and release it later with the postsuper command. That's great for debugging purposes, but only if I need to send the message just once. Would it be possible to expand the postsuper command with an

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

2010-07-22 Thread Patrick Ben Koetter
* Ralf Hildebrandt postfix-users@postfix.org: * Wietse Venema wie...@porcupine.org: Patrick Ben Koetter: I can put a mail on HOLD and release it later with the postsuper command. That's great for debugging purposes, but only if I need to send the message just once. Would it

Debugging Routing

2010-07-22 Thread Jerry
Exim, supposedly, has a -bt option that when combined with the debug flag option produces a detailed routing output useful for debugging. How would one go about duplicating that in Postfix? -- Jerry ✌ postfix-u...@seibercom.net

Re: Postfix queue on ramdisk: Insufficient system storage

2010-07-22 Thread Ram
On Thu, 2010-07-22 at 04:50 -0500, Stan Hoeppner wrote: Patrick Ben Koetter put forth on 7/22/2010 2:11 AM: * Stan Hoeppner s...@hardwarefreak.com: Wietse Venema put forth on 7/21/2010 2:22 PM: Ram: One server of ours just accepts the mails from clients and then relays the mails to

Re: Debugging Routing

2010-07-22 Thread Patrick Ben Koetter
* Jerry postfix-users@postfix.org: Exim, supposedly, has a -bt option that when combined with the debug flag option produces a detailed routing output useful for debugging. How would one go about duplicating that in Postfix? sendmail -bv ? p...@rick -- All technical questions asked

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

2010-07-22 Thread Wietse Venema
Patrick Ben Koetter: Postfix queue files should not have multiple hard links. Consider using RSYNC to COPY the file from the hold queue to the incoming queue, using the same file name. Once it's there, will it take the same path as the initial mail (on HOLD) would have taken?

postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
Hello. First, I have spent two days reading articles and searching web for solution but failed there. I am using postfix as an mx for my domains, it accpets mail for different addresses withing my domains which is then forwarded to other external domains, i.e. google.com and other mail services.

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Wietse Venema
Vasya Pupkin: Hello. First, I have spent two days reading articles and searching web for solution but failed there. I am using postfix as an mx for my domains, it accpets mail for different addresses withing my domains which is then forwarded to other external domains, i.e. google.com and

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Mikael Bak
Vasya Pupkin wrote: Hello. First, I have spent two days reading articles and searching web for solution but failed there. I am using postfix as an mx for my domains, it accpets mail for different addresses withing my domains which is then forwarded to other external domains, i.e. google.com

postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
I'm doing best I can to fight spam. What I described happens with spam that pierced through all filters. There is no 100% way to detect spam and you know that. So, some percentage will still go through and will be forwarded, and possibly rejected, causing bounce to be generated. On Thu, Jul 22,

postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
It is already as restrictive as possible and acceptable for me. I do not want to loose any non-spam mail as well, so I am not going insane adding network block based rbl domains, but I am using most reliable rbl domains, including zen.spamhaus.org, bl.spamcop.net, cbl.abuseat.org,

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Randy Ramsdell
Vasya Pupkin wrote: Hello. First, I have spent two days reading articles and searching web for solution but failed there. I am using postfix as an mx for my domains, it accpets mail for different addresses withing my domains which is then forwarded to other external domains, i.e. google.com and

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
I just got an idea to use smtp_header_checks to discard mail from postmas...@mydomain.tld which is used for bounce emails. I hope it will work. On Thu, Jul 22, 2010 at 6:45 PM, Randy Ramsdell rramsd...@activedg.com wrote: Vasya Pupkin wrote: Hello. First, I have spent two days reading

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
You of course understand that this is not possible, right? On Thu, Jul 22, 2010 at 6:50 PM, Wietse Venema wie...@porcupine.org wrote: Vasya Pupkin: I'm doing best I can to fight spam. Then you will have to predict what mail will be rejected down-stream. Let me know when you solve that

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread N. Yaakov Ziskind
In my experience, ALL the NDRs I've ever seen are useless - if mail is bad, it should be REJECTed, otherwise the system is breaking down somewhere. Is there a way to just drop bounces on the floor? Vasya Pupkin wrote (on Thu, Jul 22, 2010 at 06:52:22PM +0400): You of course understand that this

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread N. Yaakov Ziskind
Sometimes the downstream MX has a 'special cookbook' of super secret anti-spam body checks, and you will always have this problem. Vasya Pupkin wrote (on Thu, Jul 22, 2010 at 06:37:26PM +0400): It is already as restrictive as possible and acceptable for me. I do not want to loose any non-spam

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Eray Aslan
On Thu, Jul 22, 2010 at 06:52:22PM +0400, Vasya Pupkin wrote: You of course understand that this is not possible, right? Yes, I am sure he does. That was sarcasm. Anyway, If the amount of backscatter is small, do not change behaviour. But accept the fact that (prepare for) you might get

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Mark Goodge
On 22/07/2010 16:29, Eray Aslan wrote: On Thu, Jul 22, 2010 at 06:52:22PM +04 If the amount of backscatter is small, do not change behaviour. But accept the fact that (prepare for) you might get blacklisted in the future. If that is not acceptable, stop forwarding mail to domains that you do

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
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. On Thu, Jul 22, 2010 at 7:29 PM, Eray Aslan eray.as...@caf.com.tr wrote: On Thu, Jul 22, 2010 at

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Vasya Pupkin
In particular, if a bounce is caused by a downstream MTA rejecting an email because it's too large, then that's an unavoidable bounce. But it's also unlikely to be backscatter In my case it was one of the most reasons why my server acted as a backscatterer.

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

2010-07-22 Thread Victor Duchovni
On Thu, Jul 22, 2010 at 02:35:14PM +0200, Ralf Hildebrandt wrote: Consider using RSYNC to COPY the file from the hold queue to the incoming queue, using the same file name. Once it's there, will it take the same path as the initial mail (on HOLD) would have taken? No, because only

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

2010-07-22 Thread Patrick Ben Koetter
* Victor Duchovni postfix-users@postfix.org: On Thu, Jul 22, 2010 at 02:35:14PM +0200, Ralf Hildebrandt wrote: Consider using RSYNC to COPY the file from the hold queue to the incoming queue, using the same file name. Once it's there, will it take the same path as the initial mail

Postfix e-mail redirections to external e-mail addresses

2010-07-22 Thread TSPTS
Hello, I configured postfix with mysql virtual mailboxes following the instructions on http://www.esdebian.org/wiki/servidor-correo (instructions are in spanish, but I have attached the contents of the main.cf file for reference). Everything worked fine, but I'm not able to forward e-mail to

Re: Postfix e-mail redirections to external e-mail addresses

2010-07-22 Thread Noel Jones
On 7/22/2010 1:35 PM, TSPTS wrote: Hello, I configured postfix with mysql virtual mailboxes following the instructions on http://www.esdebian.org/wiki/servidor-correo (instructions are in spanish, but I have attached the contents of the main.cf file for reference). Everything worked fine, but

Re: Postfix e-mail redirections to external e-mail addresses

2010-07-22 Thread Leonardo Rodrigues
Em 22/07/2010 15:49, Noel Jones escreveu: This email was correctly delivered to gmail and the gmail server acknowledged receipt. This isn't a postfix configuration issue. If it doesn't show up in your mailbox, you'll need to check with them for the reason. Maybe their spam filters

Re: postfix as forwarder and backscatterer problem

2010-07-22 Thread Wietse Venema
Vasya Pupkin: In particular, if a bounce is caused by a downstream MTA rejecting an email because it's too large, then that's an unavoidable bounce. But it's also unlikely to be backscatter In my case it was one of the most reasons why my server acted as a backscatterer. You have

Re: Mixed Setup

2010-07-22 Thread Michael Orlitzky
On 07/20/2010 06:37 PM, mouss wrote: LuKreme a écrit : On 19-Jul-2010, at 17:40, Victor Duchovni wrote: The .local TLD is used with mDNS and in conflict with Microsoft Active Directory for an internal-only TLD. http://en.wikipedia.org/wiki/.local It is better to use exchange.example.com

Re: Mixed Setup

2010-07-22 Thread Ralf Hildebrandt
* Michael Orlitzky mich...@orlitzky.com: I'll repeat myself. .local is not a reserved suffix. nor is .localdomain, despite what linuxers seem to believe. using such domains is a hijack. you are telling the IETF: we decided to use these suffixes and you cannot use them anymore. This is

Re: Throttling, trivial-rewrite and problem talking to service errors when using LDAP

2010-07-22 Thread Jon Kristensen
Thanks for your help. I created the /dev/urandom device file and recompiled Postfix with SSL instead of TLS and now everything works like a charm! Warm regards, Jon Kristensen

drop email for my-sub-domain

2010-07-22 Thread groups
I have an internal relay.. - relay is mx for my-sub-domain - relay forwards of emails to many domains through trusted_networks - I want to drop all email to anyu...@my-sub-domain right now it loops back to myself then bounces.. would prefer a drop.. - I would like to get email for one account -

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

2010-07-22 Thread Victor Duchovni
On Thu, Jul 22, 2010 at 09:24:52PM +0200, Ralf Hildebrandt wrote: * Victor Duchovni victor.ducho...@morganstanley.com: 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/local segfaults

2010-07-22 Thread Victor Duchovni
On Thu, Jul 22, 2010 at 08:21:48AM +0200, Bas Mevissen wrote: The local(8) and virtual(8) servers are separately compiled programs (the latter being a stripped down version of the former). The header files in question are not used in the same compilation unit, and so this suggestion is

Re: postfix/local segfaults

2010-07-22 Thread Kai Krakow
2010/7/22 Wietse Venema wie...@porcupine.org: The pass-by-value structure is part of a Postfix safety mechanism, and therefore I am not inclined to change it to work around buggy compiler features. Wise decision... Stick with that. :-) -- Regards, Kai Krakow http://hurikhan77.wordpress.com/

Re: Postfix e-mail redirections to external e-mail addresses

2010-07-22 Thread tomas
Thank you for your answers. Should it be any different if disabled the virtual servers configuration and used .forward redirections ? Regards, -- Tomás S. 2010/7/22 Leonardo Rodrigues leolis...@solutti.com.br: Em 22/07/2010 15:49, Noel Jones escreveu: This email was correctly delivered to

openSUSE chroot setup for TLS workaround

2010-07-22 Thread Matthias Andree
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 the d in smtp vs. smtpd). I needed to do this

Re: postfix/smtpd: queue file size limit exceeded

2010-07-22 Thread Sahil Tandon
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 12:11:26 cleanup[31284]: 2E..36:

Re: drop email for my-sub-domain

2010-07-22 Thread Sahil Tandon
On Thu, 2010-07-22 at 16:38:14 -0500, groups wrote: I have an internal relay.. - relay is mx for my-sub-domain - relay forwards of emails to many domains through trusted_networks Hm? What is trusted_networks in the Postfix context? - I want to drop all email to anyu...@my-sub-domain Then

Re: Postfix e-mail redirections to external e-mail addresses

2010-07-22 Thread Noel Jones
2010/7/22 Leonardo Rodriguesleolis...@solutti.com.br: Em 22/07/2010 15:49, Noel Jones escreveu: This email was correctly delivered to gmail and the gmail server acknowledged receipt. This isn't a postfix configuration issue. If it doesn't show up in your mailbox, you'll need to check with