Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
milter and 'user unknown' - order of checks [MIMEDefang,SMFIP_RCPT_REJ,See RejectedRecipients]
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 29 of 29 - Collapse all  -  Translate all to Translated (View all originals) < Older 
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mike Scott  
View profile  
 More options May 15 2012, 10:50 am
Newsgroups: comp.mail.sendmail
From: Mike Scott <usenet...@scottsonline.org.uk.invalid>
Date: Tue, 15 May 2012 15:50:33 +0100
Local: Tues, May 15 2012 10:50 am
Subject: Re: milter and 'user unknown' - order of checks [MIMEDefang,SMFIP_RCPT_REJ,SeeRejectedRe cipients]
On 13/05/12 17:24, Andrzej Adam Filip wrote:

Thanks - I'd actually caught that one before reading your post (slight
hiccup with TB and news being slow getting through :-( ).

What I currently have is

# read in aliases that always mean spam
F{spamrx} /etc/mail/spamrx

LOCAL_RULE_0
# Divert known spam recipient address to a common mailbox.
# match fixed stuff
R$={spamrx} < @ $=w . >         $: spam-rx < @ $2 . >
# match stuf with variable part, special-cased
R$+.ln1 < @ $=w . >             $: spam-rx < @ $2 . >
R$+.ntl.com < @ $=w . >         $: spam-rx < @ $2 . >

which actually does seem to do the right things, rather to my surprise.
I know the $: isn't strictly needed.

> Test it with the command below:
> echo '3,0 x.ln1@localhost' | sendmail -bt -d21.12

..... then finally
parse            returns: $# local $: spam-rx

while
echo '3,0 x.ln1@remotelhost' | sendmail -bt -d21.12
gives
...
parse            returns: $# relay $@ XXXX . XXXX . co . uk $: x . ln1 <
@ remotelhost >

Ta muchly.

> 1) Do you want to get original envelope recipient addresses?
> [ YES =>  Are you ready to use procmail script in /etc/procmailrcs]

>> Incidentally, the Bat Book has a lovely 'question for the student'
>> concerning rules: "Is it possible to have text in the LHS that is
>> literally $+ , rather than an operator with the same characters?". I'm
>> dying to know the answer - can't find it anywhere! :-(

To answer my own question after a bit of trial and error, $$ seems to
mean a literal $. Weird it doesn't seem to be documented anywhere.

--
Mike Scott (unet2 <at> [deletethis] scottsonline.org.uk)
Harlow Essex England


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Selective LUSER_RELAY" by Mike Scott
Mike Scott  
View profile  
 More options May 15 2012, 10:53 am
Newsgroups: comp.mail.sendmail
From: Mike Scott <usenet...@scottsonline.org.uk.invalid>
Date: Tue, 15 May 2012 15:53:24 +0100
Local: Tues, May 15 2012 10:53 am
Subject: Re: Selective LUSER_RELAY
On 13/05/12 17:27, Andrzej Adam Filip wrote:

Thanks, although that's a bit over my head. But the problem is I think
sufficiently solved in the other subthread by extra rules in ruleset 0.

--
Mike Scott (unet2 <at> [deletethis] scottsonline.org.uk)
Harlow Essex England


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "milter and 'user unknown' - order of checks [MIMEDefang,SMFIP_RCPT_REJ,See RejectedRecipients]" by Kees Theunissen
Kees Theunissen  
View profile  
 More options May 15 2012, 11:16 am
Newsgroups: comp.mail.sendmail
From: Kees Theunissen <theun...@rijnh.nl>
Date: Tue, 15 May 2012 17:16:25 +0200
Local: Tues, May 15 2012 11:16 am
Subject: Re: milter and 'user unknown' - order of checks [MIMEDefang,SMFIP_RCPT_REJ,SeeRejectedRe cipients]

Mike Scott wrote:
>>> Incidentally, the Bat Book has a lovely 'question for the student'
>>> concerning rules: "Is it possible to have text in the LHS that is
>>> literally $+ , rather than an operator with the same characters?". I'm
>>> dying to know the answer - can't find it anywhere! :-(

> To answer my own question after a bit of trial and error, $$ seems to
> mean a literal $. Weird it doesn't seem to be documented anywhere.

Paragraph 5.1 of the "Sendmail Installation and Operation Guide".
That guide can be found in the sendmail source tree in the doc/op
directory. Your distribution might have installed it somewhere under
/usr/doc or /usr/share/doc.

Regards,

Kees.

--
Kees Theunissen.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Scott  
View profile  
 More options May 15 2012, 2:18 pm
Newsgroups: comp.mail.sendmail
From: Mike Scott <usenet...@scottsonline.org.uk.invalid>
Date: Tue, 15 May 2012 19:18:16 +0100
Local: Tues, May 15 2012 2:18 pm
Subject: Re: milter and 'user unknown' - order of checks [MIMEDefang,SMFIP_RCPT_REJ,SeeRejectedRe cipients]
On 15/05/12 16:16, Kees Theunissen wrote:

> Mike Scott wrote:

>>>> Incidentally, the Bat Book has a lovely 'question for the student'
>>>> concerning rules: "Is it possible to have text in the LHS that is
>>>> literally $+ , rather than an operator with the same characters?". I'm
>>>> dying to know the answer - can't find it anywhere! :-(

>> To answer my own question after a bit of trial and error, $$ seems to
>> mean a literal $. Weird it doesn't seem to be documented anywhere.

> Paragraph 5.1 of the "Sendmail Installation and Operation Guide".
> That guide can be found in the sendmail source tree in the doc/op
> directory. Your distribution might have installed it somewhere under
> /usr/doc or /usr/share/doc.

Too obvious :-)  I've pored over the Bat Book cover to cover, and
probably overheated google's servers searching.... anyway, thank you.

(And thanks again particularly to you and to Andrzej for the advice
given. I've learned a fair amount about rules and macros through that.)

--
Mike Scott (unet2 <at> [deletethis] scottsonline.org.uk)
Harlow Essex England


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages < Older 
« Back to Discussions « Newer topic     Older topic »