Re: [Mimedefang] $helo is empty!

2004-11-16 Thread Yang Xiao
From an earlier post. Note that recent versions of MIMEDefang don't pass $helo in filter_relay; you need to do HELO checks in filter_sender. Yang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED]

Re: [Mimedefang] MIMEDEFANG NOT TAGGING

2004-11-15 Thread Yang Xiao
Hi, You didn't say what OS you are running, but for RH or FC, you need to set MX_LOG=yes in /etc/sysconfig/mimedefang Yang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED]

Re: [Mimedefang] Custom Configuration

2004-11-12 Thread Yang Xiao
On Fri, 12 Nov 2004 09:48:02 -0500, Kevin A. McGrail [EMAIL PROTECTED] wrote: Aleksander is exactly right but I would do one thing differently. I use the code/idea that Brian Landers wrote to create an access file for sendmail for the LDAP work. We enhanced it and it's very stable and in

Re: [Mimedefang] Custom Configuration

2004-11-12 Thread Yang Xiao
Kevin, That very good, thanks a lot, I will give it a try. Yang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Re: [Mimedefang] Custom Configuration

2004-11-12 Thread Yang Xiao
Kevin, It worked like a charm, great. One question for you. I guess this is more of a sendmail question than MIMEDefang In the access table I added From:localhost.mydomain.com RELAY From:mydomain.com REJECT since this is the incoming mxhost, I don't expect any valid sender from

Re: [Mimedefang] Custom Configuration

2004-11-12 Thread Yang Xiao
Relaying based on FROM: (envelope sender information) is dangerous as it can be easily faked. Alexander Argh, you are right, it's actually easier to fake message headers than envelope headers, I'm only making trouble for myself doing this. Thanks, Yang

[Mimedefang] Custom Configuration

2004-11-11 Thread Yang Xiao
Hi all, I'm using amavisd-new and Maia as the web interface so that users can easily manage their w/b lists and spam/virus/attachment settings. However, I would still like to use MIMEDefang for 1. Envelope/header checking in filter_recipient() : reject anyone claims to be sending from the internal

[Mimedefang] Re: Frustration...

2004-11-05 Thread Yang Xiao
Hi, As a fellow newbie, I have struggled to get everything working for the past two weeks as well, and I can see you are having some of the same problem I had(still having), so here's my $0.02, hope it helps, and for the experts out there, please correct me if I'm wrong with any of my assumptions!

[Mimedefang] Virus Alert gets marked as Spam

2004-11-05 Thread Yang Xiao
Hi all, I'm using MIMEDefang with SpamAssassin. First, what function generates the Virus Alert? I can't find it anywhere in mimedefang-filter, so I guess it's one of the action_ thingy? And all the Virus Alerts gets marked as Spam by Spamassassin, which is kind of annoying. Here's what I want to

[Mimedefang] graphmimedefang problem

2004-11-05 Thread Yang Xiao
Hi all, I get this error message from graphmimedefang Processing data file: /var/log/maillog 0 new log lines processed No valid mimedefang logs in /var/log/maillog at /var/www/html/defang/graphdefang.pl line 88. I see a lot of MD_LOG entries in my maillong like this Nov 5 16:07:46

Re: [Mimedefang] Frustration...

2004-11-04 Thread Yang Xiao
Hi, As a fellow newbie, I have struggled to get everything working for the past two weeks as well, and I can see you are having some of the same problem I had(still having), so here's my $0.02, hope it helps, and for the experts out there, please correct me if I'm wrong with any of my assumptions!

[Mimedefang] Spamassassinreport.txt

2004-11-04 Thread Yang Xiao
Hi, What do I need to do to replace the actual email message body with the SpamAssassin-report.txt and send the spam message body as an attachment? I had it working for a while but now it forwards the spam and send the report as an attachment, please help. Yang

Re: [Mimedefang] Spamassassinreport.txt

2004-11-04 Thread Yang Xiao
Got it, many thanks! Yang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

[Mimedefang] I'm going crazy

2004-11-02 Thread Yang Xiao
with HTTP; Tue, 2 Nov 2004 14:19:06 -0800 (PST) Message-ID: [EMAIL PROTECTED] Date: Tue, 2 Nov 2004 17:19:06 -0500 From: Yang Xiao [EMAIL PROTECTED] Reply-To: Yang Xiao [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Fwd: Congratulations In-Reply-To: [EMAIL PROTECTED] Mime-Version: 1.0 Content-Type

Re: [Mimedefang] 'service mimedefang status' returns multiplexor dead but pid file exists

2004-11-02 Thread Yang Xiao
Is the mimedefang-multiplexor.sock in /var/spool/MIMEDefang/ dir? or check where ever you configured the socket to be in. Yang ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED]

Re: [Mimedefang] VERY Newbie Question

2004-10-29 Thread Yang Xiao
On Fri, 29 Oct 2004 15:33:32 +0200, Paul Pries [EMAIL PROTECTED] wrote: Ian Mitchell wrote: Ok, for something like this, a sample function on the FAQ site that filters HELO line How do I integrate this into the filter file ? I'm not sure that I would. Sendmail has the capability to

Re: [Mimedefang] VERY Newbie Question

2004-10-29 Thread Yang Xiao
On Fri, 29 Oct 2004 17:42:36 +0200, Alexander Dalloz [EMAIL PROTECTED] wrote: Am Fr, den 29.10.2004 schrieb Yang Xiao um 15:54: Hi, I found out that the filter_sender() function will be enabled if I turn the MX_SENDER_CHECK option on. I was just wondering where should I put it and how

Re: [Mimedefang] Re: VERY Newbie Question

2004-10-29 Thread Yang Xiao
OK, this what I have came up with so far,. 1. Check for anybody claims to be from mydomain.com in the HELO Line 2. Check for RCPT TO anyone in mydomain.com 3. $helo doesn't match $ip #*** # %PROCEDURE: filter_recipient #

[Mimedefang] HELP: filter_sender() not working

2004-10-28 Thread Yang Xiao
Hi all, I modified the filter_sender() function showed in the man page : # # Filter Sender who says they are OHPP.COM # sub filter_sender { my ($sender, $ip, $hostname, $helo) = @_; if ($helo =~ /ohpp\.com$/i) { return (REJECT, goaway.); }

[Mimedefang] VERY Newbie Question

2004-10-28 Thread Yang Xiao
Hi all, I'm a little confused as to how to insert a custom function into the filter. Can someone please give me a pointer or two? Ok, for something like this, a sample function on the FAQ site that filters HELO line sub filter_sender { my($sender, $ip, $name, $helo) = @_; return(1, OK) if