Re: CC all messages relayed through postfix

2010-12-14 Thread Ronald MacDonald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14 Dec 2010, at 02:31, Jerrale G wrote: How would you store a CC of all mailings relayed through postfix, sent by our users. We have plenty of logs but they dont tell us if someone sends spam and how much, so that we may reprimand the user

Re: Append orig_to messages subject

2010-12-14 Thread selcukyazar
Nobody ? seyazar wrote: Hi We have postfix server and some of our users have .forward file. I want ot change orig_to mesages (forwarded mesages) subject in server side, Can I do that thanks in advance selcuk -- View this message in context:

modify messages subject forwarded mails by .forward

2010-12-14 Thread selcukyazar
Hi We have postfix server and some of our users have .forward file. I want ot change orig_to mesages (forwarded mesages) subject in server side, Can I do that thanks in advance selcuk -- View this message in context:

Re: How to extract information from postfix log through cron ?

2010-12-14 Thread J. Bakshi
On Mon, 13 Dec 2010 12:24:10 +0530 J. Bakshi joyd...@infoservices.in wrote: Hello postfix gurus, I have an email server built on postfix+dovecot+mysql (I have made it based on ISP style mailserver available at net ) for our organization and the system is running for more than 4 yrs. I

Re: Append orig_to messages subject

2010-12-14 Thread Ralf Hildebrandt
* selcukyazar selcuk.ya...@gmail.com: We have postfix server and some of our users have .forward file. I want ot change orig_to mesages (forwarded mesages) subject in server side, Can I do that So you want to change the Subject: line whenever a mail is being forwarded using a .forward

Re: Append orig_to messages subject

2010-12-14 Thread Selcuk Yazar
Hi, yes. right. is it posssible for filter or another way. thanks you. selcuk. On Tue, Dec 14, 2010 at 11:29 AM, Ralf Hildebrandt ralf.hildebra...@charite.de wrote: * selcukyazar selcuk.ya...@gmail.com: We have postfix server and some of our users have .forward file. I want ot

Re: Append orig_to messages subject

2010-12-14 Thread Ralf Hildebrandt
* Selcuk Yazar selcuk.ya...@gmail.com: Hi, yes. right. is it posssible for filter or another way. Directly with .forward alone: No But you can call procmail from .forward and do it that way (I guess) You would need to use formail to extract the subject into a variable and then use formail

Re: Append orig_to messages subject

2010-12-14 Thread Selcuk Yazar
Thanks for prompt reply. also i try | /usr/sbin/sendmail -i myad...@gmail.com but i think there is no way to change subject in here. i will try procmail. thanks again. selçuk On Tue, Dec 14, 2010 at 11:39 AM, Ralf Hildebrandt ralf.hildebra...@charite.de wrote: * Selcuk Yazar

Re: Append orig_to messages subject

2010-12-14 Thread Ralf Hildebrandt
* Selcuk Yazar selcuk.ya...@gmail.com: Thanks for prompt reply. also i try | /usr/sbin/sendmail -i myad...@gmail.com but i think there is no way to change subject in here. | sed 's/Subject: foo/Subject: bar/g' | /usr/sbin/sendmail -i myad...@gmail.com but Victor will probably flame me for

Re: Append orig_to messages subject

2010-12-14 Thread selcukyazar
Thanks It works. :) i tried sed end of command :) selçuk. Ralf Hildebrandt wrote: * Selcuk Yazar selcuk.ya...@gmail.com: Thanks for prompt reply. also i try | /usr/sbin/sendmail -i myad...@gmail.com but i think there is no way to change subject in here. | sed 's/Subject: foo/Subject:

selective behaviour for reject_sender_login_mismatch ?

2010-12-14 Thread Per Jessen
I would like to be able to do soft or hard checks on sasl userid + sender domains depending on the sasl userid, i.e.: if userid=='customer1' then only log warnings on mismatch if userid=='customer2' then reject on mismatch I was thinking of creating two restrictions classes: soft =

Re: verify db with mysql

2010-12-14 Thread Stefan
On Tuesday, 7th of december 2010, 21:57:00 Wietse Venema wrote: Wietse Venema: Thanks for the patch. Stefan Jakobs: I'am not aware of any dead-lock issues. The sequence pseudo-thread will query the database only once with the first key. For every next key the sequence

Re: How to extract information from postfix log through cron ?

2010-12-14 Thread Stan Hoeppner
J. Bakshi put forth on 12/14/2010 3:27 AM: On Mon, 13 Dec 2010 12:24:10 +0530 J. Bakshi joyd...@infoservices.in wrote: Hello postfix gurus, I have an email server built on postfix+dovecot+mysql (I have made it based on ISP style mailserver available at net ) for our organization and the

Re: selective behaviour for reject_sender_login_mismatch ?

2010-12-14 Thread Wietse Venema
Per Jessen: I would like to be able to do soft or hard checks on sasl userid + sender domains depending on the sasl userid, i.e.: if userid=='customer1' then only log warnings on mismatch if userid=='customer2' then reject on mismatch I was thinking of creating two restrictions classes:

Re: How to extract information from postfix log through cron ?

2010-12-14 Thread J. Bakshi
On Tue, 14 Dec 2010 06:05:50 -0600 Stan Hoeppner s...@hardwarefreak.com wrote: J. Bakshi put forth on 12/14/2010 3:27 AM: On Mon, 13 Dec 2010 12:24:10 +0530 J. Bakshi joyd...@infoservices.in wrote: Hello postfix gurus, I have an email server built on postfix+dovecot+mysql (I have

Re: selective behaviour for reject_sender_login_mismatch ?

2010-12-14 Thread Victor Duchovni
On Tue, Dec 14, 2010 at 07:10:01AM -0500, Wietse Venema wrote: but I can't find an access table that is indexed by sasl userid. Is there a way to do this without a policy server? It would take very little code to add a check_sasluser_access feature (this would do only exact match -

Re: selective behaviour for reject_sender_login_mismatch ?

2010-12-14 Thread Per Jessen
Victor Duchovni wrote: On Tue, Dec 14, 2010 at 07:10:01AM -0500, Wietse Venema wrote: but I can't find an access table that is indexed by sasl userid. Is there a way to do this without a policy server? It would take very little code to add a check_sasluser_access feature (this would

Re: selective behaviour for reject_sender_login_mismatch ?

2010-12-14 Thread Victor Duchovni
On Tue, Dec 14, 2010 at 02:01:31PM +0100, Per Jessen wrote: The problem is that the SASL user name may well contain white-space, and postmap(1) cannot create indexed tables with keys that contain white-space. You could create the tables with other tools, but then you can't update the

Re: Append orig_to messages subject

2010-12-14 Thread Wietse Venema
Ralf Hildebrandt: [ Charset UTF-8 unsupported, converting... ] * Selcuk Yazar selcuk.ya...@gmail.com: Hi, yes. right. is it posssible for filter or another way. Directly with .forward alone: No But you can call procmail from .forward and do it that way (I guess) You would need to

Re: CC all messages relayed through postfix

2010-12-14 Thread Matt Hayes
On 12/13/2010 9:31 PM, Jerrale G wrote: How would you store a CC of all mailings relayed through postfix, sent by our users. We have plenty of logs but they dont tell us if someone sends spam and how much, so that we may reprimand the user early before ending up on spam lists. We could even

Re: CC all messages relayed through postfix

2010-12-14 Thread Randy Ramsdell
Matt Hayes wrote: On 12/13/2010 9:31 PM, Jerrale G wrote: How would you store a CC of all mailings relayed through postfix, sent by our users. We have plenty of logs but they dont tell us if someone sends spam and how much, so that we may reprimand the user early before ending up on spam lists.

Re: CC all messages relayed through postfix

2010-12-14 Thread Jerry
On Tue, 14 Dec 2010 09:21:29 -0500 Matt Hayes domin...@slackadelic.com articulated: BCC'ing all of your user's email is unethical IMHO. Scan outgoing and incoming email for spam; done. That way you aren't compromising your users' private information nor possible security to your clients. In

Re: CC all messages relayed through postfix

2010-12-14 Thread Jeroen Geilman
On 12/14/10 4:04 PM, Randy Ramsdell wrote: Matt Hayes wrote: On 12/13/2010 9:31 PM, Jerrale G wrote: How would you store a CC of all mailings relayed through postfix, sent by our users. We have plenty of logs but they dont tell us if someone sends spam and how much, so that we may reprimand

Re: CC all messages relayed through postfix

2010-12-14 Thread Randy Ramsdell
Jeroen Geilman wrote: On 12/14/10 4:04 PM, Randy Ramsdell wrote: Matt Hayes wrote: BCC'ing all of your user's email is unethical IMHO. Scan outgoing and incoming email for spam; done. That way you aren't compromising your users' private information nor possible security to your clients.

Re: CC all messages relayed through postfix

2010-12-14 Thread Matt Hayes
On 12/14/2010 11:43 AM, Randy Ramsdell wrote: Jeroen Geilman wrote: On 12/14/10 4:04 PM, Randy Ramsdell wrote: Matt Hayes wrote: BCC'ing all of your user's email is unethical IMHO. Scan outgoing and incoming email for spam; done. That way you aren't compromising your users' private

Re: CC all messages relayed through postfix

2010-12-14 Thread Jeroen Geilman
On 12/14/10 5:43 PM, Randy Ramsdell wrote: Jeroen Geilman wrote: On 12/14/10 4:04 PM, Randy Ramsdell wrote: Matt Hayes wrote: BCC'ing all of your user's email is unethical IMHO. Scan outgoing and incoming email for spam; done. That way you aren't compromising your users' private

Scripting changing sending MTA

2010-12-14 Thread Robert Moskowitz
This is on a Fedora system. In the Postfix install documentation I found that I need to do the following: /usr/sbin/alternatives --config mta And select '2' to switch to Postfix. Is there a way to put this into an install script? Something simple like: echo 2| /usr/sbin/alternatives

Re: Scripting changing sending MTA

2010-12-14 Thread Jeroen Geilman
On 12/14/10 6:44 PM, Robert Moskowitz wrote: This is on a Fedora system. In the Postfix install documentation I found that I need to do the following: /usr/sbin/alternatives --config mta And select '2' to switch to Postfix. Is there a way to put this into an install script? Something

Re: Scripting changing sending MTA

2010-12-14 Thread Matt Hayes
On 12/14/2010 12:44 PM, Robert Moskowitz wrote: This is on a Fedora system. In the Postfix install documentation I found that I need to do the following: /usr/sbin/alternatives --config mta And select '2' to switch to Postfix. Is there a way to put this into an install script?

Re: verify db with mysql

2010-12-14 Thread Stefan Jakobs
On Tuesday 14 December 2010 14:43:23 Wietse Venema wrote: Stefan: A drawback is that this solution is not as configurable/flexible as the other one. And it's still the case that the first two values of a fetched tuple must be the address and its corresponing cache timings (data). But I

Re: verify db with mysql

2010-12-14 Thread Wietse Venema
Stefan Jakobs: On Tuesday 14 December 2010 14:43:23 Wietse Venema wrote: Stefan: A drawback is that this solution is not as configurable/flexible as the other one. And it's still the case that the first two values of a fetched tuple must be the address and its corresponing cache

Re: Scripting changing sending MTA

2010-12-14 Thread Robert Moskowitz
On 12/14/2010 01:08 PM, Jeroen Geilman wrote: On 12/14/10 6:44 PM, Robert Moskowitz wrote: This is on a Fedora system. In the Postfix install documentation I found that I need to do the following: /usr/sbin/alternatives --config mta And select '2' to switch to Postfix. Is there a way to

Re: Scripting changing sending MTA

2010-12-14 Thread mouss
Le 14/12/2010 18:44, Robert Moskowitz a écrit : This is on a Fedora system. In the Postfix install documentation I found that I need to do the following: /usr/sbin/alternatives --config mta And select '2' to switch to Postfix. Is there a way to put this into an install script? Something

trouble with postscreen

2010-12-14 Thread Len Conrad
uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE postconf mail_version mail_version = 2.8-20101108 master.cf smtpd pass - - n - - smtpd -v smtp inet n - n - 1 postscreen -v dnsblog unix - - n - 0

Re: trouble with postscreen

2010-12-14 Thread Victor Duchovni
On Tue, Dec 14, 2010 at 10:43:02PM +0100, Len Conrad wrote: uname -a FreeBSD 7.2-RELEASE FreeBSD 7.2-RELEASE postconf mail_version mail_version = 2.8-20101108 When running snapshots, and testing brand-new features of those snapshots, you must at least upgrade to the latest version before

Re: trouble with postscreen

2010-12-14 Thread Wietse Venema
1) Leave verbose logging TURNED OFF. 2) Run the current Postfix snapshot. Wietse

Re: call scripts for each of the incoming emails

2010-12-14 Thread James Gray
On 15/12/2010, at 2:21 PM, Spacelee wrote: hi everything, I met a problem recently because we need to add a new function to our product. the problem is for each valid incoming email, we need to call a script to insert it to different databases, someone said I could add this to the