Since SuSE 8.1 wants the default mailer to be postfix, I figured I'd play along this time. However, my .procmailrc doesn't seem to be used, and it's not clear to me whether procmail is running at all. What do I need to do to get procmail invoked properly (i.e. make it use $HOME/.procmailrc) from postfix? -tara
On Tue, 22 Oct 2002, Tara L Andrews wrote:
Since SuSE 8.1 wants the default mailer to be postfix, I figured I'd play along this time. However, my .procmailrc doesn't seem to be used, and it's not clear to me whether procmail is running at all. What do I need to do to get procmail invoked properly (i.e. make it use $HOME/.procmailrc) from postfix?
Edit /etc/sysconfig/postfix and change the mail delivery agent variable to: POSTFIX_MDA="procmail" (the files is well commmented as usual. Thank you SuSE team. Then run SuSEconfig. Restart postfix "rcpostfix restart" and you should be in business. Hope this helps. David
On Tue, 22 Oct 2002, David just had to get this off his chest:
On Tue, 22 Oct 2002, Tara L Andrews wrote:
Since SuSE 8.1 wants the default mailer to be postfix, I figured I'd play along this time. However, my .procmailrc doesn't seem to be used, and it's not clear to me whether procmail is running at all. What do I need to do to get procmail invoked properly (i.e. make it use $HOME/.procmailrc) from postfix?
Edit /etc/sysconfig/postfix and change the mail delivery agent variable to: POSTFIX_MDA="procmail" (the files is well commmented as usual. Thank you SuSE team. Then run SuSEconfig. Restart postfix "rcpostfix restart" and you should be in business.
I don't really (and vv) understand why there is a seperate config file for Postfix, while the original main.cf is so comprehensible. If Tara had read main.cf it would immediately be clear how to get procmail running. #mailbox_command = /usr/bin/procmail One more thing I don't understand is that SuSE has chosen to use another group for /v/s/postfix/maildrop, usr/sbin/postdrop and /usr/sbin/postqueue, namely maildrop. The official Postfix group is postdrop. So if you, like me, install Postfix from DVD and then copy a self-rolled version over it to keep dependencies unbroken you have either tell Postfix to use maildrop with setgid_group or change /etc/permissions.d/postfix's content Not a biggy, but it shouldn't be necessarily to hack into anything with something as well designed as Postfix IMHO.
Hope this helps.
David
Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 8 24N , 4 32 40E. SuSE 8.0 x86 Kernel k_Athlon 2.4.19-4GB See headers for PGP/GPG info.
On Tue, Oct 22, 2002 at 08:05:04PM +0200, Theo v. Werkhoven wrote:
I don't really (and vv) understand why there is a seperate config file for Postfix, while the original main.cf is so comprehensible. If Tara had read main.cf it would immediately be clear how to get procmail running. #mailbox_command = /usr/bin/procmail
Overall system configuration consistency? (she says, having forgotten about /etc/sysconfig until it was mentioned.) (I did read main.cf, and I did see that, but it had a warning that I wasn't sure I should worry about, and there was another mention of procmail in master.cf, so I thought it would be safest to ask.) -tara
On Tue, Oct 22, 2002 at 09:18:12AM -0400, David Abraham wrote:
Edit /etc/sysconfig/postfix and change the mail delivery agent variable to: POSTFIX_MDA="procmail" (the files is well commmented as usual. Thank you SuSE team. Then run SuSEconfig. Restart postfix "rcpostfix restart" and you should be in business.
That did it. Thanks! -tara
On Tue, 22 Oct 2002, Tara L Andrews wrote:
On Tue, Oct 22, 2002 at 09:18:12AM -0400, David Abraham wrote:
Edit /etc/sysconfig/postfix and change the mail delivery agent variable to: POSTFIX_MDA="procmail" (the files is well commmented as usual. Thank you SuSE team. Then run SuSEconfig. Restart postfix "rcpostfix restart" and you should be in business.
That did it. Thanks!
-tara
I missed the first part of this discussion. Would this be the way to integrate a virus scanner/spam filter into the process? Or is there a better, more clean way? Preston
On Tue, Oct 22, 2002 at 02:26:12PM -0700, Preston Crawford wrote:
I missed the first part of this discussion. Would this be the way to integrate a virus scanner/spam filter into the process? Or is there a better, more clean way?
Not exactly. This was just to get procmail set up. (I do my spam filtering through my .procmailrc, but that doesn't make procmail a spam filter.) -tara
On Tue, 22 Oct 2002, Tara L Andrews wrote:
On Tue, Oct 22, 2002 at 02:26:12PM -0700, Preston Crawford wrote:
I missed the first part of this discussion. Would this be the way to integrate a virus scanner/spam filter into the process? Or is there a better, more clean way?
Not exactly. This was just to get procmail set up. (I do my spam filtering through my .procmailrc, but that doesn't make procmail a spam filter.)
That sounds what I'd like to do. String Spamassassin together with procmail. Preston
I thought I coud simply install an RPM for the new SuSE KDE3 window decoration from 8.1 on my 8.0 box. But it seems like that decoration (in 8.0 at least) is part of the kdebase3 package. Here is what I did: salman@linux:/opt/kde3/lib/kde3> rpm -qf kwin_SuSE.so kdebase3-SuSE-0.0.3-113 Is there any way I can install it from 8.1 into my 8.0 machine? Salman
* Salman Khilji (skhilji@tampabay.rr.com) [021022 17:14]: ->I thought I coud simply install an RPM for the new SuSE KDE3 window decoration ->from 8.1 on my 8.0 box. But it seems like that decoration (in 8.0 at least) ->is part of the kdebase3 package. Here is what I did: -> ->salman@linux:/opt/kde3/lib/kde3> rpm -qf kwin_SuSE.so ->kdebase3-SuSE-0.0.3-113 -> ->Is there any way I can install it from 8.1 into my 8.0 machine? I highly doubt it's going to work. Since KDE is C++ code and that code compiled with 3.2 is not compatible with GCC 2.95.x which is what 8.0 is compiled with...I again highly doubt it. Your best bet is to get the src.rpm for kdebase3-SuSE off your CD's and then compile the bits you want for you 8.0 system. I did this before 8.1 was out (don't ask ;) ) and it worked fine. :) -- Ben Rosenberg ---===---===---===--- mailto:ben@whack.org Tell me what you believe.. I tell you what you should see.
On Wednesday 23 October 2002 05.12, Salman Khilji wrote:
I thought I coud simply install an RPM for the new SuSE KDE3 window decoration from 8.1 on my 8.0 box. But it seems like that decoration (in 8.0 at least) is part of the kdebase3 package. Here is what I did:
salman@linux:/opt/kde3/lib/kde3> rpm -qf kwin_SuSE.so kdebase3-SuSE-0.0.3-113
Is there any way I can install it from 8.1 into my 8.0 machine?
The first thing you'd have to do is recompile kde either in 8.1 using gcc 2.95.3, or in 8.0 using gcc 3.2. Those two compilers don't mix and if you were simply to take the .so-file as is it wouldn't work. Anders
Preston Crawford wrote:
I missed the first part of this discussion. Would this be the way to integrate a virus scanner/spam filter into the process? Or is there a better, more clean way?
I have http://www.ravantivirus.com and it uses this method: Postfix forwards mails received on port 25 to port 10025 RAV listens on port 10025, scans messages then forwards them to port 10026 And there it is Postfix listening again, on localhost:10026, and normal processing of mail takes place from here on. localhost:10026 means you cannot receive mail from outside directly on port 10026, so it wouldn't be scanned. This method is implemented in Postfix, it's not a hack. /etc/postfix/main.cf content_filter = smtp:127.0.0.1:10025 /etc/postfix/master.cf localhost:10026 inet n - n - - smtpd -o content_filter= You don't need to run procmail at all (means faster mail delivery) for this to work. Postfix does the delivery. -- Silviu Marin-Caea Systems Engineer Linux/Unix http://www.genesys.ro Phone +40723-267961
participants (8)
-
Anders Johansson
-
Ben Rosenberg
-
David Abraham
-
Preston Crawford
-
Salman Khilji
-
Silviu Marin-Caea
-
Tara L Andrews
-
Theo v. Werkhoven