Problem with sendmail -bs from postfix 2.9.0

2012-02-17 Thread bszx-postfix
Hello I have problem with sendmail -bs from postfix 2.9.0. It is killed by segmentation fault when it is called by for example pine. More precisely /usr/lib/postfix/smtpd is killed after reading MAIL FROM: Log from this event: Feb 16 18:45:34 main postfix/smtpd[15966]: connect from

Simulate ISP

2012-02-17 Thread Jean Brico
Have a nice day. I've one postfix on Debian Squeeze that works fine. I'd like now to mount an other postif on an other Squeeze, that will simulate my ISP (I'm teacher). Then, my first postix will become a relay and will send mails to my ISP Postfix. I'm not able to find informations about

Re: Problem with sendmail -bs from postfix 2.9.0

2012-02-17 Thread Wietse Venema
bszx-post...@bszx.eu.org: Hello I have problem with sendmail -bs from postfix 2.9.0. It is killed by segmentation fault when it is called by for example pine. More precisely /usr/lib/postfix/smtpd is killed after reading MAIL FROM: Thanks, this patch is correct. The bug was introduced

Re: Simulate ISP

2012-02-17 Thread /dev/rob0
On Fri, Feb 17, 2012 at 02:17:35PM +, Jean Brico wrote: I've one postfix on Debian Squeeze that works fine. I'd like now to mount an other postif on an other Squeeze, that will simulate my ISP (I'm teacher). Then, my first postix will become a relay and will send mails to my ISP

Postfix resent messages detection

2012-02-17 Thread Simon Hintermann
Hello all, here is my problem: I have several hosting servers, sending mails from authenticated users, web scripts, web pages, and so on... I cannot monitor everything, and our greatest problem is outgoing unauthorized mails. we experience 10'000 mails spam campaigns every week or so... No

Re: Postfix resent messages detection

2012-02-17 Thread Reindl Harald
Am 17.02.2012 17:00, schrieb Simon Hintermann: Hello all, here is my problem: I have several hosting servers, sending mails from authenticated users, web scripts, web pages, and so on... I cannot monitor everything, and our greatest problem is outgoing unauthorized mails. we

Re: Ldap queries optimization

2012-02-17 Thread Viktor Dukhovni
On Fri, Feb 17, 2012 at 08:41:31AM +0100, Angel L. Mateo wrote: El 16/02/12 16:35, Viktor Dukhovni escribi?: On Thu, Feb 16, 2012 at 10:49:10AM +0100, Angel L. Mateo wrote: If your LDAP tables contain no bare (just the local part) address lookup keys, you may consider using %u@%d instead of

Re: Postfix resent messages detection

2012-02-17 Thread Simon Hintermann
Le 17. 02. 12 17:06, Reindl Harald a écrit : Am 17.02.2012 17:00, schrieb Simon Hintermann: Hello all, here is my problem: I have several hosting servers, sending mails from authenticated users, web scripts, web pages, and so on... I cannot monitor everything, and our greatest problem is

Re: Postfix resent messages detection

2012-02-17 Thread Reindl Harald
Am 17.02.2012 18:31, schrieb Simon Hintermann: Okay... perhaps I explained it poorly, or did I actually not understood a word of your explaination... The case I cannot detect is: SENDER (a...@toto.com) sends an email to b...@domain.com || v WEBSERVER (b...@domain.com forwards

Re: Postfix resent messages detection

2012-02-17 Thread Toni Mueller
On Fri, Feb 17, 2012 at 06:35:11PM +0100, Reindl Harald wrote: Am 17.02.2012 18:31, schrieb Simon Hintermann: SENDER (a...@toto.com) sends an email to b...@domain.com || v WEBSERVER (b...@domain.com forwards all mails to b...@yahoo.com) || v MAIL GATEWAY (local domains:

Re: Postfix resent messages detection

2012-02-17 Thread Simon Hintermann
Le 17. 02. 12 18:35, Reindl Harald a écrit : Am 17.02.2012 18:31, schrieb Simon Hintermann: Okay... perhaps I explained it poorly, or did I actually not understood a word of your explaination... The case I cannot detect is: SENDER (a...@toto.com) sends an email to b...@domain.com || v

Re: Postfix resent messages detection

2012-02-17 Thread Reindl Harald
Am 17.02.2012 18:41, schrieb Toni Mueller: On Fri, Feb 17, 2012 at 06:35:11PM +0100, Reindl Harald wrote: Am 17.02.2012 18:31, schrieb Simon Hintermann: SENDER (a...@toto.com) sends an email to b...@domain.com || v WEBSERVER (b...@domain.com forwards all mails to b...@yahoo.com) || v

Re: Postfix resent messages detection

2012-02-17 Thread Reindl Harald
Am 17.02.2012 18:48, schrieb Simon Hintermann: Okay, the webserver is a Plesk server where users can set an email redirection to their external address. I don't know why, but many users do that. i am out here because i never use such software using server configuartions natevily all of the

Re: Postfix resent messages detection

2012-02-17 Thread Wietse Venema
Simon Hintermann: [restricting the sender address from webmail apps with an SMTP sender access table] Now I get a warning in my logs every time a potentially unauthorized mails goes out. But I can't have any visibility over redirected mails. We've got several users that configure their

Email encryption check before accepting for transmission

2012-02-17 Thread john
We need to ensure that emails sent by some of our users are encrypted (medical records, reports, etc) before they are sent. We only accept out going mail from our local users by submission (port 587). I realize that this is really the job of the MUA, but I would like to check that emails

Re: Postfix resent messages detection

2012-02-17 Thread Simon Hintermann
Le 17. 02. 12 19:02, Reindl Harald a écrit : Am 17.02.2012 18:48, schrieb Simon Hintermann: Okay, the webserver is a Plesk server where users can set an email redirection to their external address. I don't know why, but many users do that. i am out here because i never use such software

Re: Email encryption check before accepting for transmission

2012-02-17 Thread Wietse Venema
john: We need to ensure that emails sent by some of our users are encrypted (medical records, reports, etc) before they are sent. We only accept out going mail from our local users by submission (port 587). I realize that this is really the job of the MUA, but I would like to check

Unable to relay via postfix ... but telnet works...?

2012-02-17 Thread A. Abd-Allah
Hello, At work, we've set up a small Linux server with postfix on it, and configured postfix to use an external SMTP mail server. The related settings in main.cf: myhostname = scm1.ourdomain.commydestination = scm1.ourdomain.com, localhostrelayhost = [externalmailer.ourdomain.com] The

Re: Unable to relay via postfix ... but telnet works...?

2012-02-17 Thread Wietse Venema
A. Abd-Allah: Final-Recipient: rfc822;bob@gmail.comAction: failedStatus: 5.0.0Remote-MTA: smtp;MAILGW1.OURDOMAIN.COMDiagnostic-Code: X-Notes; Error transferring to MAILGW1.OURDOMAIN.COM; Maximum hop count exceeded. Message probably in a routing loop. When a mail server receives mail via

RE: Unable to relay via postfix ... but telnet works...?

2012-02-17 Thread A. Abd-Allah
Dr. Wietse, Thank you for your valuable time, not just for this question, but for the entire postfix product. If I understood you correctly, increasing the hop count limit may help in this case. I only see 1 or 2 headers that are being added, but I am not sure. I can try changing the limit

Re: Unable to relay via postfix ... but telnet works...?

2012-02-17 Thread Wietse Venema
A. Abd-Allah: Dr. Wietse, Thank you for your valuable time, not just for this question, but for the entire postfix product. If I understood you correctly, increasing the hop count limit may help in this case. I only see 1 or 2 headers that are being added, but I am not sure. I can try

I want to route all email to a second server.

2012-02-17 Thread Rich
I have a postfix with lotus notes setup. That peice is working fine. I use a transport map entry to send the email to the Domino server. What I want to do is send all incoming and outgoing mail to a second server that will be for historical purposes. I will be using cyrus as the mailstore. My

spam to postmaster

2012-02-17 Thread Reindl Harald
am i th eonly one currently receiving a ton of spam with all sorts of job vacation to my postmaster-account all day long? different sender-IPs so abuse to the providr will not help much, problem here is via RFC postmaster must not be filtered and so the spamfirewall does not help in any way how

Re: spam to postmaster

2012-02-17 Thread Peter Blair
On Fri, Feb 17, 2012 at 3:54 PM, Reindl Harald h.rei...@thelounge.net wrote: how do other people act with such braindead sh**t? Look into greylisting it. You'll find that greylisting could very well deal with most of the bots that things like zen.spamhaus.org would normally deal with. And

Re: Email encryption check before accepting for transmission

2012-02-17 Thread Toni Mueller
Hi, On Fri, Feb 17, 2012 at 01:26:45PM -0500, john wrote: I realize that this is really the job of the MUA, but I would like to check that emails are in fact encrypted before being sent. this can be ensured by running the emails through a (specialized) content filter. suitable message/code.

Re: Email encryption check before accepting for transmission

2012-02-17 Thread /dev/rob0
On Fri, Feb 17, 2012 at 10:36:09PM +0100, Toni Mueller wrote: On Fri, Feb 17, 2012 at 01:26:45PM -0500, john wrote: Is any of this possible, if so suggestions as to where to look or solutions. I would try to copy-cat the typical amavisd-new pre-queue setup, substituting amavis with your

Re: spam to postmaster

2012-02-17 Thread /dev/rob0
On Fri, Feb 17, 2012 at 03:59:22PM -0500, Peter Blair wrote: On Fri, Feb 17, 2012 at 3:54 PM, Reindl Harald h.rei...@thelounge.net wrote: how do other people act with such braindead sh**t? Look into greylisting it. You'll find that greylisting could very well deal with most of the bots

Re: spam to postmaster

2012-02-17 Thread Reindl Harald
Am 17.02.2012 21:59, schrieb Peter Blair: On Fri, Feb 17, 2012 at 3:54 PM, Reindl Harald h.rei...@thelounge.net wrote: how do other people act with such braindead sh**t? Look into greylisting it. You'll find that greylisting could very well deal with most of the bots that things like

Re: spam to postmaster

2012-02-17 Thread Simon Brereton
On Feb 17, 2012 6:14 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 17.02.2012 21:59, schrieb Peter Blair: On Fri, Feb 17, 2012 at 3:54 PM, Reindl Harald h.rei...@thelounge.net wrote: how do other people act with such braindead sh**t? Look into greylisting it. You'll find that

Re: spam to postmaster

2012-02-17 Thread Reindl Harald
Am 18.02.2012 00:17, schrieb Simon Brereton: On Feb 17, 2012 6:14 PM, Reindl Harald h.rei...@thelounge.net mailto:h.rei...@thelounge.net wrote: Am 17.02.2012 21:59, schrieb Peter Blair: On Fri, Feb 17, 2012 at 3:54 PM, Reindl Harald h.rei...@thelounge.net

Re: spam to postmaster

2012-02-17 Thread Dennis Carr
On Sat, 18 Feb 2012, Reindl Harald wrote: what i do not understand is how f^%@#!!$ stupid people are spamming to postmaster/abuse-addresses (bowdlerized for comical effect -ed) As near as I can tell, the spammers just run under a few assumptions. RFC requires one to maintain those

Re: spam to postmaster

2012-02-17 Thread Dennis Carr
On Sat, 18 Feb 2012, Reindl Harald wrote: what i do not understand is how %#^%$@!! stupid people are spamming to postmaster/abuse-addresses Oh. One other thing - they don't care. There is no courtesy. They don't care if you scream at them, yell at them, because people are paying them to

Re: spam to postmaster

2012-02-17 Thread Reindl Harald
Am 18.02.2012 02:46, schrieb Dennis Carr: On Sat, 18 Feb 2012, Reindl Harald wrote: what i do not understand is how %#^%$@!! stupid people are spamming to postmaster/abuse-addresses Oh. One other thing - they don't care. There is no courtesy. They don't care if you scream at them,

RE: Unable to relay via postfix ... but telnet works...?

2012-02-17 Thread A. Abd-Allah
Dr. Wietse, Thank you again for your time. I have been an off-and-on-again user of Postfix for many years, and it is a real honor (and surprise!) to get support directly from its originator. The hop-count limit is reached in the REMOTE mail server. I suspected as much, but I wasn't sure.

Re: I want to route all email to a second server.

2012-02-17 Thread Ram
On Fri, 2012-02-17 at 15:43 -0500, Rich wrote: I have a postfix with lotus notes setup. That peice is working fine. I use a transport map entry to send the email to the Domino server. What I want to do is send all incoming and outgoing mail to a second server that will be for historical

Re: spam to postmaster

2012-02-17 Thread Ram
On Fri, 2012-02-17 at 15:49 -0600, /dev/rob0 wrote: On Fri, Feb 17, 2012 at 03:59:22PM -0500, Peter Blair wrote: On Fri, Feb 17, 2012 at 3:54 PM, Reindl Harald h.rei...@thelounge.net wrote: how do other people act with such braindead sh**t? Look into greylisting it. You'll find that