Re: Postfix/SpamAssassin Guru?
On 8/25/07, Eric Crist [EMAIL PROTECTED] wrote: On Aug 24, 2007, at 11:26 PMAug 24, 2007, Noel Jones wrote: [snip] an easier way is to run spamassassin under the control of amavisd-new and let amavisd-new add address extensions such as user+spam and to let dovecot file the mail in a spam folder. Noel, Are you saying I just need amavisd-new installed and properly configured? Is there something I need to tell dovecot? A bit more information in regards to where I can look for documentation would be appreciated! look in the amavisd-new, dovecot, and postfix docs for recipient delimiter. Followup questions should go to the list for one of those projects. -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
On Aug 24, 2007, at 11:26 PMAug 24, 2007, Noel Jones wrote: [snip] an easier way is to run spamassassin under the control of amavisd-new and let amavisd-new add address extensions such as user+spam and to let dovecot file the mail in a spam folder. Noel, Are you saying I just need amavisd-new installed and properly configured? Is there something I need to tell dovecot? A bit more information in regards to where I can look for documentation would be appreciated! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
--On August 24, 2007 8:32:01 AM -0500 Eric Crist [EMAIL PROTECTED] wrote: Hey, Is there anyone that can help me do some funky filtering with postfix and spamassassin? I'm a new Postfix convert, and my knowledge is lacking. TIA for any help! What is it that you want to do? Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Postfix/SpamAssassin Guru?
Hey, Is there anyone that can help me do some funky filtering with postfix and spamassassin? I'm a new Postfix convert, and my knowledge is lacking. TIA for any help! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
Eric why not stick with an MTA you know? -- martin On 8/24/07, Eric Crist [EMAIL PROTECTED] wrote: Hey, Is there anyone that can help me do some funky filtering with postfix and spamassassin? I'm a new Postfix convert, and my knowledge is lacking. TIA for any help! - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
On August 24, 2007 at 09:32AM Eric Crist wrote: Is there anyone that can help me do some funky filtering with postfix and spamassassin? I'm a new Postfix convert, and my knowledge is lacking. Define funky! Before you start asking questions regarding configuring Postfix, it might behoove you to check out the Postfix documentation site http://www.postfix.com/documentation.html. It is loaded with lots of useful information. You might also consider joining the Postfix mailing list. -- Gerard A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? TOPIC: Posting Etiquette ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
On Aug 24, 2007, at 9:05 AMAug 24, 2007, Gerard wrote: On August 24, 2007 at 09:32AM Eric Crist wrote: Is there anyone that can help me do some funky filtering with postfix and spamassassin? I'm a new Postfix convert, and my knowledge is lacking. Define funky! Before you start asking questions regarding configuring Postfix, it might behoove you to check out the Postfix documentation site http://www.postfix.com/documentation.html. It is loaded with lots of useful information. You might also consider joining the Postfix mailing list. This is also a reply to Paul Schmehl. I've got Postfix with Dovecot and virtual users setup. What I'm looking for is some filtering based on the flags SpamAssassin sets, so that I can route any messages tagged as Spam to a Spam directory with a users maildir. I've done a ton of searches, etc, and I can't seem to figure this one out. Also, I'm having a hard time (partially due to lack of effort, I'm guessing), getting DKIM/DomainKeys setup for my domains within Postfix. TIA - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
On Aug 24, 2007, at 8:46 AMAug 24, 2007, Martin Hepworth wrote: Eric why not stick with an MTA you know? Martin, I've switched to postfix due to some of the features it supports. Thanks for your concern, though. - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
Eric Crist wrote: This is also a reply to Paul Schmehl. I've got Postfix with Dovecot and virtual users setup. What I'm looking for is some filtering based on the flags SpamAssassin sets, so that I can route any messages tagged as Spam to a Spam directory with a users maildir. I've done a ton of searches, etc, and I can't seem to figure this one out. Also, I'm having a hard time (partially due to lack of effort, I'm guessing), getting DKIM/DomainKeys setup for my domains within Postfix. Same setup here basically: Dovecot, Postfix, SA, clamav, postgrey and amavisd i use procmail to filter things. it works well and was easy to integrate. I never played with DKIM though. I must say that most of the spam that does come in I never see in a spam folder. its too high on the scores to even get delivered if you havent played with postgrey yet, give it a whirl. it works wonders. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re[2]: Postfix/SpamAssassin Guru?
On August 24, 2007 at 10:34AM Eric Crist wrote: {snip] I've got Postfix with Dovecot and virtual users setup. What I'm looking for is some filtering based on the flags SpamAssassin sets, so that I can route any messages tagged as Spam to a Spam directory with a users maildir. I've done a ton of searches, etc, and I can't seem to figure this one out. Also, I'm having a hard time (partially due to lack of effort, I'm guessing), getting DKIM/DomainKeys setup for my domains within Postfix. Have you tried posting on the 'Spamassassin' list also? That is probably where this message belongs. The DKIM problem should be directed to the Postfix forum for best results. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
--On Friday, August 24, 2007 09:46:32 -0500 Eric [EMAIL PROTECTED] wrote: Eric Crist wrote: This is also a reply to Paul Schmehl. I've got Postfix with Dovecot and virtual users setup. What I'm looking for is some filtering based on the flags SpamAssassin sets, so that I can route any messages tagged as Spam to a Spam directory with a users maildir. I've done a ton of searches, etc, and I can't seem to figure this one out. Also, I'm having a hard time (partially due to lack of effort, I'm guessing), getting DKIM/DomainKeys setup for my domains within Postfix. Same setup here basically: Dovecot, Postfix, SA, clamav, postgrey and amavisd i use procmail to filter things. it works well and was easy to integrate. I never played with DKIM though. I must say that most of the spam that does come in I never see in a spam folder. its too high on the scores to even get delivered if you havent played with postgrey yet, give it a whirl. it works wonders. You may also want to consider using policyd-weight (/usr/ports/mail/postfix-policyd-weight). A mail server I maintain is rejecting about 80% of the mail through policyd-weight before it ever reaches postfix (no false positives.) You should be able to use dkfilter to handle domain keys: /usr/ports]# make search name=dkfilter Port: dkfilter-0.11 Path: /usr/ports/mail/dkfilter Info: Domainkeys filter for Postfix -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: Postfix/SpamAssassin Guru?
Eric Crist wrote: On Aug 24, 2007, at 9:05 AMAug 24, 2007, Gerard wrote: On August 24, 2007 at 09:32AM Eric Crist wrote: I've got Postfix with Dovecot and virtual users setup. What I'm looking for is some filtering based on the flags SpamAssassin sets, so that I can route any messages tagged as Spam to a Spam directory with a users maildir. Assuming you got SA running: In my main.cf: header_checks = regexp:/etc/postfix/header_checks This is in my header_checks: /^X-Spam-Flag: YES/ REDIRECT [EMAIL PROTECTED] Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix/SpamAssassin Guru?
On 8/24/07, Peter Boosten [EMAIL PROTECTED] wrote: Eric Crist wrote: On Aug 24, 2007, at 9:05 AMAug 24, 2007, Gerard wrote: On August 24, 2007 at 09:32AM Eric Crist wrote: I've got Postfix with Dovecot and virtual users setup. What I'm looking for is some filtering based on the flags SpamAssassin sets, so that I can route any messages tagged as Spam to a Spam directory with a users maildir. Assuming you got SA running: In my main.cf: header_checks = regexp:/etc/postfix/header_checks This is in my header_checks: /^X-Spam-Flag: YES/ REDIRECT [EMAIL PROTECTED] Peter Note that REDIRECT acts on all recipients of a message, and cannot be customized per-user. In the above example, *all* tagged spam would be delivered to a single mailbox. OK if that's what you want. an easier way is to run spamassassin under the control of amavisd-new and let amavisd-new add address extensions such as user+spam and to let dovecot file the mail in a spam folder. -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix + spamassassin via milter
I running postfix from ports. I would like to block as much spam as possible during the SMTP session. Currently I am make liberal use of RBLs (direct in postfix configuration) and also using SPF using the spfpolicy daemon. I would like to add spam assassin to the list (and possibly clamav). Most of what I see about integrating spam assassin with postfix requires that the mail be accepted for queueing before spam checks are run. I would prefer to reject the mail after DATA during the SMTP dialogue. I see that postfix now does sendmail style milters. Is that the recommended way to go with this? I see that there is a mail/spamass- milter port. I anyone using that with postfix 2.4.3? Thanks. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix + spamassassin via milter
On Jul 15, 2007, at 10:59 AM, Bernt Hansson wrote: Have a look at messagewall. That you. I've tried to take a look, but it appears that the projects domain name now belongs to someone else. Furthermore, I also wish to reject mail early which is addressed to invalid usernames, and such a proxy doesn't do that (without a great deal of work and more things which can break). However, if I were trying to protect something like an MS-Exchange server, I would definitely consider using a proxy in front of it. However since I've got postfix with its power and capabilities, I won't go this route. But thanks for the suggestion. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix + spamassassin via milter
On Jul 15, 2007, at 10:39 AM, Jeffrey Goldberg wrote: I running postfix from ports. I would like to block as much spam as possible during the SMTP session. [...] I see that postfix now does sendmail style milters. Is that the recommended way to go with this? I see that there is a mail/ spamass-milter port. I anyone using that with postfix 2.4.3? Here is what I have working so far. Straight from ports p5-Mail-SpamAssassin-3.2.1 spamass-milter-0.3.1_3 postfix-2.4.3,1 To get postfix to use the milter, I added # milters for spam assassin milter_default_action = accept smtpd_milters = unix:/var/run/spamass-milter.sock to main.cf Note that the milter_default_action setting is so that if I mess up the milter, mail still goes through. I may set this to tempfail once I am more confident. Also to allow postfix to talk to the milter I added spamass_milter_socket_group=mail spamass_milter_socket_mode=664 to /etc/rc.conf (in addition to the _enable variables). I will submit a PR with an addition to the documentation explaining how to do this with postfix. What I've been having the most difficulty with is spammassassin itself. It runs correctly as the spamd user (note that this is *not* the spamd which is the BSD tarpit, but is a daemonized spamassassin.) but it still seems to think that is also running as user root and so tries to write things in /root/.spamassassin Now if I change the ownership of that spamd then everything works fine, but I really don't want my bayes and whitelist database on the root filesystem. I can (and have) manually set the paths for the bayes data and the autowhitelist data to a more appropriate location, but the later path setting feature appears undocumented, and I still haven't figured out what path variable to set for the user preferences (so each time mail comes into the server, spamassassin, run as spamd, tries to read /root/.spamassassin/user_pref. I'm sure that I could probably trace out the separate configuration variable to set that to the right location, but I'm wondering why spamassassin is looking in root's home directory at all instead of the spamd home directory. -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix SpamAssassin
Can Spamassassin work directly with Postfix? Meaning no procmail in the mix? IF so is there any HOWTO's on it? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Postfix SpamAssassin
Can Spamassassin work directly with Postfix? yes, as a content-filter, see the Spamassassin site, see the postfix site. Len To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message