You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jim Knuth <jk...@jkart.de> on 2004/05/13 20:25:17 UTC

Lint error

Hallo und guten Abend spamassassin-users,

Why do I get an error if I use:
whitelist_from_rcvd?

-- 
Viele Grüße, Kind regards,
 Jim Knuth
 jk@jkart.de
----------
Zufalls-Zitat
----------
Und ich habe gemerkt: das Wunder auf das ich
so lange gewartet habe, bin ich selbst.
(Selma Lagerlöf)
----------
Dieser Text hat nichts mit dem Empfänger der Mail zu tun
----------
    
virengeprüft mit NOD32 Version 1.759 Update 13.05.2004


Re: Lint error

Posted by David B Funk <db...@engineering.uiowa.edu>.
On Thu, 13 May 2004, Jim Knuth wrote:

> Hallo und guten Abend Matt,
>
> danke f|r die Email vom 13.05.2004 um 20:48
> Matt Kettler schrieb - wrote:
>
> > Offhand I can only think of two causes. A typo, or an ancient version of SA
> > that doesn't support whitelist_from_rcvd.
>
> Failed to parse line in SpamAssassin configuration, skipping:
> whitelist_from_rcvd *@server.domain.de
> Failed to parse line in SpamAssassin configuration, skipping:
> whitelist_from_rcvd jk@jkart.de

whitelist_from_rcvd needs TWO (2) arguments:

whitelist_from_rcvd 'mail@address' 'hosts.domain.name'

The second argument is the host/domain name of the network that you
will trust to send mail with that particular 'from:' address.

So you need:

whitelist_from_rcvd jk@jkart.de  jkart.de

For example, some of our users subscribe to a maillist/sales-list
from BarnesandNoble Booksellers, B&N uses Dartmail to send out their
list stuff. So to whitelist that I use:

whitelist_from_rcvd *@email.bn.com  dartmail.net

Note that for whitelist_from_rcvd to work, your trusted_networks needs
to be set correctly and  your DNS needs to be able to forward/reverse map
resolve the sending host/domain.

-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Re: Lint error

Posted by Jim Knuth <jk...@jkart.de>.
Hallo und guten Abend Matt,

danke für die Email vom 13.05.2004 um 21:45
Matt Kettler schrieb - wrote:

> The second parameter needs to be part of a RDNS name found in the message's
> Received: headers. In your case, that looks like server1.art-domains.de

> ie:
>          whitelist_from_rcvd jk@jkart.de server1.art-domains.de


Yes, of course ... I am an idiot ;-)
( .. who can read is in the advantage.. )

-- 
Viele Grüße, Kind regards,
 Jim Knuth
 jk@jkart.de
----------
Zufalls-Zitat
----------
Der Humor ist keine Gabe des Geistes, er ist eine Gabe des Herzens.
(Ludwig Börne)
----------
Dieser Text hat nichts mit dem Empfänger der Mail zu tun
----------
    
virengeprüft mit NOD32 Version 1.759 Update 13.05.2004


Re: Lint error

Posted by Matt Kettler <mk...@evi-inc.com>.
At 03:18 PM 5/13/2004, Jim Knuth wrote:
>Failed to parse line in SpamAssassin configuration, skipping:
>whitelist_from_rcvd *@server.domain.de
>Failed to parse line in SpamAssassin configuration, skipping:
>whitelist_from_rcvd jk@jkart.de

whitelist_from_rcvd requires TWO parameters.. the above lines are invalid 
because they only have one.

The second parameter needs to be part of a RDNS name found in the message's 
Received: headers. In your case, that looks like server1.art-domains.de

ie:
         whitelist_from_rcvd jk@jkart.de server1.art-domains.de 


Re: Lint error

Posted by Alex S Moore <as...@edge.net>.
On Thu, 2004-05-13 at 14:18, Jim Knuth wrote:
> Failed to parse line in SpamAssassin configuration, skipping:
> whitelist_from_rcvd *@server.domain.de
> Failed to parse line in SpamAssassin configuration, skipping:
> whitelist_from_rcvd jk@jkart.de

Doesn't whitelist_from_rcvd require two parameters?  See man
Mail::SpamAssassin::Conf.

Alex


Re: Lint error

Posted by Jim Knuth <jk...@jkart.de>.
Hallo und guten Abend Matt,

danke für die Email vom 13.05.2004 um 20:48
Matt Kettler schrieb - wrote:

> At 02:25 PM 5/13/2004, Jim Knuth wrote:
>>Hallo und guten Abend spamassassin-users,
>>
>>Why do I get an error if I use:
>>whitelist_from_rcvd?

> Offhand I can only think of two causes. A typo, or an ancient version of SA
> that doesn't support whitelist_from_rcvd.

> 1) what's the exact error lint spits out (munge the domains if you like,
> I'm more concerned with the specific complaint)

Failed to parse line in SpamAssassin configuration, skipping:
whitelist_from_rcvd *@server.domain.de
Failed to parse line in SpamAssassin configuration, skipping:
whitelist_from_rcvd jk@jkart.de

> 2) what version of spamassassin are you using?

SpamAssassin version 2.63


-- 
Viele Grüße, Kind regards,
 Jim Knuth
 jk@jkart.de
----------
Zufalls-Zitat
----------
Im Altertum lebte einer, der liebte eine einäugige Frau so sehr,
daß ihm vorkam, alle anderen Frauen hätten ein Auge zuviel.
----------
Dieser Text hat nichts mit dem Empfänger der Mail zu tun
----------
    
virengeprüft mit NOD32 Version 1.759 Update 13.05.2004


Re: Lint error

Posted by Matt Kettler <mk...@evi-inc.com>.
At 02:25 PM 5/13/2004, Jim Knuth wrote:
>Hallo und guten Abend spamassassin-users,
>
>Why do I get an error if I use:
>whitelist_from_rcvd?

Offhand I can only think of two causes. A typo, or an ancient version of SA 
that doesn't support whitelist_from_rcvd.

1) what's the exact error lint spits out (munge the domains if you like, 
I'm more concerned with the specific complaint)

2) what version of spamassassin are you using?