virtual domains and backscatter

This is a discussion on virtual domains and backscatter within the SendMail forums in Other Technologies category; In article <swxip9i778 @ patsy.huge.strangled.net>, Andrzej Adam Filip <anfi @ onet.eu> wrote: >Have you conducted "step by step" installation tests provided in > http://groups.google.com/group/comp....55531627df555d Yes, I have. The mapping test passes. But the -bv test accepts everything in the dovecot domains....

Go Back   Application Development Forum > Other Technologies > SendMail

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
Reply

 

LinkBack Thread Tools Display Modes
  #11  
Old 09-06-2008, 12:36 PM
Guest
 
Default Re: virtual domains and backscatter

In article <swxip9i778@patsy.huge.strangled.net>,
Andrzej Adam Filip <anfi@onet.eu> wrote:

>Have you conducted "step by step" installation tests provided in
>http://groups.google.com/group/comp....55531627df555d


Yes, I have. The mapping test passes. But the -bv test accepts
everything in the dovecot domains.

Reply With Quote
  #12  
Old 09-07-2008, 11:42 AM
Andrzej Adam Filip
Guest
 
Default Re: virtual domains and backscatter

ellis@no.spam () wrote:

> In article <swxip9i778@patsy.huge.strangled.net>,
> Andrzej Adam Filip <anfi@onet.eu> wrote:
>
>>Have you conducted "step by step" installation tests provided in
>>http://groups.google.com/group/comp....55531627df555d

>
> Yes, I have. The mapping test passes. But the -bv test accepts
> everything in the dovecot domains.


1) Are you *SURE* you have patched cf/m4/proto.m4 file? ["step 5"]
2) Could you post you dovecot mailer definition?
echo '=M' | sendmail -bt | grep dovecot
Does it have "5" and "A" flags in its 'F=' section?

F=5 flag enables "post aliasing" processing by rule set 5 (localaddr).
It is required for the recipe to work.

--
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
"World conquerors sometimes become fools,
but fools never become world conquerors."
-- "The Outer Limits: The Invisibles"
Reply With Quote
  #13  
Old 09-07-2008, 04:03 PM
Rick
Guest
 
Default Re: virtual domains and backscatter

In article <omfuw3je78@sharon.anfi.chickenkiller.com>,
Andrzej Adam Filip <anfi@onet.eu> wrote:

>1) Are you *SURE* you have patched cf/m4/proto.m4 file? ["step 5"]


Yes, I'm sure. In fact I've been staring at the results quite
a bit

>2) Could you post you dovecot mailer definition?
> echo '=M' | sendmail -bt | grep dovecot


mailer 3 (dovecot): P=/usr/libexec/dovecot/deliver S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/HdrFromSMTP M=0 U=-1:-1 F=59ADFMPhnu L=0 E=\n T=DNS/RFC822/X-Unix r=100 A=deliver -d $u

> Does it have "5" and "A" flags in its 'F=' section?


It didn't. But adding them didn't change anything.

>F=5 flag enables "post aliasing" processing by rule set 5 (localaddr).
>It is required for the recipe to work.


I was so hoping that would be it.

Reply With Quote
  #14  
Old 09-07-2008, 04:23 PM
Andrzej Adam Filip
Guest
 
Default Re: virtual domains and backscatter

Rick <ellis@spinics.net> wrote:

> In article <omfuw3je78@sharon.anfi.chickenkiller.com>,
> Andrzej Adam Filip <anfi@onet.eu> wrote:
>
>>1) Are you *SURE* you have patched cf/m4/proto.m4 file? ["step 5"]

>
> Yes, I'm sure. In fact I've been staring at the results quite
> a bit
>
>>2) Could you post you dovecot mailer definition?
>> echo '=M' | sendmail -bt | grep dovecot

>
> mailer 3 (dovecot): P=/usr/libexec/dovecot/deliver S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/HdrFromSMTP M=0 U=-1:-1 F=59ADFMPhnu L=0 E=\n T=DNS/RFC822/X-Unix r=100 A=deliver -d $u
>
>> Does it have "5" and "A" flags in its 'F=' section?

>
> It didn't. But adding them didn't change anything.
>
>>F=5 flag enables "post aliasing" processing by rule set 5 (localaddr).
>>It is required for the recipe to work.

>
> I was so hoping that would be it.


What is reported by test command below:

sendmail -C sendmail-test.cf -d21.12 -d60.5 -bv non-existing@dovecot.domain

-C sendmail.cf - use sendmail-test.cf instead of sendmail.cf
-d21.12 - trace processing of R lines in *.cf file
-d60.5 - trace map lookups

[ send the result via email to save c.m.sendmail bandwidth ]

--
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
When I was in school, I cheated on my metaphysics exam: I looked into
the soul of the boy sitting next to me.
-- Woody Allen
Reply With Quote
  #15  
Old 09-08-2008, 02:08 PM
Andrzej Adam Filip
Guest
 
Default Re: virtual domains and backscatter

Andrzej Adam Filip <anfi@onet.eu> wrote:

> Rick <ellis@spinics.net> wrote:
>
>> In article <omfuw3je78@sharon.anfi.chickenkiller.com>,
>> Andrzej Adam Filip <anfi@onet.eu> wrote:
>>
>>>1) Are you *SURE* you have patched cf/m4/proto.m4 file? ["step 5"]

>>
>> Yes, I'm sure. In fact I've been staring at the results quite
>> a bit
>>
>>>2) Could you post you dovecot mailer definition?
>>> echo '=M' | sendmail -bt | grep dovecot

>>
>> mailer 3 (dovecot): P=/usr/libexec/dovecot/deliver S=EnvFromSMTP/HdrFromSMTP R=EnvToSMTP/HdrFromSMTP M=0 U=-1:-1 F=59ADFMPhnu L=0 E=\n T=DNS/RFC822/X-Unix r=100 A=deliver -d $u
>>
>>> Does it have "5" and "A" flags in its 'F=' section?

>>
>> It didn't. But adding them didn't change anything.
>>
>>>F=5 flag enables "post aliasing" processing by rule set 5 (localaddr).
>>>It is required for the recipe to work.

>>
>> I was so hoping that would be it.

>
> What is reported by test command below:
>
> sendmail -C sendmail-test.cf -d21.12 -d60.5 -bv non-existing@dovecot.domain
>
> -C sendmail.cf - use sendmail-test.cf instead of sendmail.cf
> -d21.12 - trace processing of R lines in *.cf file
> -d60.5 - trace map lookups
>
> [ send the result via email to save c.m.sendmail bandwidth ]


0) I have received the output via email

1) The domain have not been added to $={VDovecotDomains} list

*.mc file:
#v+
LOCAL_CONFIG
C{VDovecotDomains}dovecot.domain
#v-

P.S.
Domains listed in $={VDovecotDomains} are automatically added to $=w
(list of local email domains) so no "to:xxx" entry is required in access
table file.

--
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
Everything in this book may be wrong.
-- Messiah's Handbook : Reminders for the Advanced Soul
Reply With Quote
  #16  
Old 09-08-2008, 04:12 PM
Guest
 
Default Re: virtual domains and backscatter

In article <s7esaka378@lorenzo.anfi.chickenkiller.com>,
Andrzej Adam Filip <anfi@onet.eu> wrote:

>1) The domain have not been added to $={VDovecotDomains} list
>
>*.mc file:
>#v+
>LOCAL_CONFIG
>C{VDovecotDomains}dovecot.domain
>#v-


That's there and echo '$={VDovecotDomain}' | sendmail -bt shows
the domain.

Reply With Quote
  #17  
Old 09-08-2008, 04:27 PM
Andrzej Adam Filip
Guest
 
Default Re: virtual domains and backscatter

ellis@no.spam () wrote:

> In article <s7esaka378@lorenzo.anfi.chickenkiller.com>,
> Andrzej Adam Filip <anfi@onet.eu> wrote:
>
>>1) The domain have not been added to $={VDovecotDomains} list
>>
>>*.mc file:
>>#v+
>>LOCAL_CONFIG
>>C{VDovecotDomains}dovecot.domain
>>#v-

>
> That's there and echo '$={VDovecotDomain}' | sendmail -bt shows
> the domain.


Debug output you emailed suggests otherwise
[ the real domain changed/munged into "dovecot.domain" for usenet post ]

rewrite: ruleset localaddr input: non-existing @ dovecot . domain
-----trying rule: $+
-----rule matches: $: $1 $| $> "Local_localaddr" $1
rewrite: ruleset Local_localaddr input: non-existing @ dovecot . domain
-----trying rule: $+ @ $={VDovecotDomains}
----- rule fails

According to the above "dovecot.domain" *IS NOT* listed in $={VDovecotDomains}

--
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
"Boy, life takes a long time to live."
-- Steven Wright
Reply With Quote
  #18  
Old 09-08-2008, 05:26 PM
Rick
Guest
 
Default Re: virtual domains and backscatter

In article <cnepmd5k78@lorenzo.anfi.chickenkiller.com>,
Andrzej Adam Filip <anfi@onet.eu> wrote:

>> That's there and echo '$={VDovecotDomain}' | sendmail -bt shows
>> the domain.


>Debug output you emailed suggests otherwise
>[ the real domain changed/munged into "dovecot.domain" for usenet post ]
>
>rewrite: ruleset localaddr input: non-existing @ dovecot . domain
>-----trying rule: $+
>-----rule matches: $: $1 $| $> "Local_localaddr" $1
>rewrite: ruleset Local_localaddr input: non-existing @ dovecot . domain
>-----trying rule: $+ @ $={VDovecotDomains}
>----- rule fails
>
>According to the above "dovecot.domain" *IS NOT* listed in $={VDovecotDomains}


Ok, this is what I have in the mc file (real domain changed):

FEATURE(`anfi/vdevcot_plain')
LOCAL_CONFIG
C{VDovecotDomain}dovecot.domain
divert(-1)

Reply With Quote
  #19  
Old 09-08-2008, 05:50 PM
Kees Theunissen
Guest
 
Default Re: virtual domains and backscatter

Rick wrote:
> In article <cnepmd5k78@lorenzo.anfi.chickenkiller.com>,
> Andrzej Adam Filip <anfi@onet.eu> wrote:
>
>>> That's there and echo '$={VDovecotDomain}' | sendmail -bt shows
>>> the domain.

>
>> Debug output you emailed suggests otherwise
>> [ the real domain changed/munged into "dovecot.domain" for usenet post ]
>>
>> rewrite: ruleset localaddr input: non-existing @ dovecot . domain
>> -----trying rule: $+
>> -----rule matches: $: $1 $| $> "Local_localaddr" $1
>> rewrite: ruleset Local_localaddr input: non-existing @ dovecot . domain
>> -----trying rule: $+ @ $={VDovecotDomains}
>> ----- rule fails
>>
>> According to the above "dovecot.domain" *IS NOT* listed in $={VDovecotDomains}

>
> Ok, this is what I have in the mc file (real domain changed):
>
> FEATURE(`anfi/vdevcot_plain')
> LOCAL_CONFIG
> C{VDovecotDomain}dovecot.domain

This line should read:
C{VDovecotDomains}dovecot.domain
> divert(-1)
>


Regards,

Kees.

--
Kees Theunissen.
Reply With Quote
  #20  
Old 09-08-2008, 05:51 PM
Per Hedeland
Guest
 
Default Re: virtual domains and backscatter

In article <1220909198.882167@no.spam> Rick <ellis@spinics.net> writes:
>In article <cnepmd5k78@lorenzo.anfi.chickenkiller.com>,
>Andrzej Adam Filip <anfi@onet.eu> wrote:
>>
>>According to the above "dovecot.domain" *IS NOT* listed in $={VDovecotDomains}

------------------------------------------------------------------------------^

>Ok, this is what I have in the mc file (real domain changed):
>
>FEATURE(`anfi/vdevcot_plain')
>LOCAL_CONFIG
>C{VDovecotDomain}dovecot.domain

-----------------^

Watch your spelling...

--Per Hedeland
per@hedeland.org
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 09:14 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.