MIMEDefang filter_sender() sub not working

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Oct 28 20:50:04 UTC 2004


Am Do, den 28.10.2004 schrieb Yang Xiao um 22:32:

> I tried to get help from the MIMEDefang list, but my posts seemed to
> be invisible on there for some reason. So if any of you are a
> MIMEDefang user, maybe you can help me on this.

When did you post there and how often? Normally the mail to the
MimeDefang list get through fast. If you have constant problems please
contact David F. Skoll directly.

> I'm just trying to get my feet wet by adding a sample sub like this in
> the mimedefang-filter file
> 
> #
> # Filter Sender who says they are OHPP.COM
> #
> sub filter_sender {
>         my ($sender, $ip, $hostname, $helo) = @_;
>                 if ($helo =~ /ohpp\.com$/i) {
>                         return (REJECT, "goaway.");
>         }
>         return (CONTINUE,"OK");
> }
> 
> I don't expect to ever receive incoming email from my own domain on this box.
> 
> But this is not working, any ideas?

Do you have "MX_SENDER_CHECK=yes" set active in
/etc/sysconfig/mimedefang?

> Yang

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 22:43:56 up 8 days, 19:23, load average: 0.48, 0.35, 0.33 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041028/36b96b73/attachment-0001.sig>


More information about the fedora-list mailing list