I'm getting more and more certain it's a bug.

ASSP can't know if a user is local or not without asking my MTA.

In this case it doesn't ask my MTA anything.

 
I think this feature relies on 'files/localdomains.txt' being filled.

That file is empty on (almost) all the ASSP's I've configured, because I want 
to let my MTA decide.

Otherwise I need to add/remove domains in both my MTA as in ASSP.

 
I guess it now needs to check the setting of "nolocalDomains" before it rejects 
those messages.

 
Cheers,

 
JP
 
-----Oorspronkelijk bericht-----
Van:Jean-Pierre van Melis <j...@mirmana.com>
Verzonden:vr 20-04-2012 16:25
Onderwerp:Re: [Assp-test] 530 Relaying not allowed - BCC recipient 
(p...@domain.nl) is not local
Aan:assp-test@lists.sourceforge.net; 
OK,

 
I understand that it doesn't want to do this for non-local mail.

But this is a message to a local sender.

 
Can it be a bug if it is used in combination with  "nolocalDomains:=1"  ??

 
Cheers

 
-----Oorspronkelijk bericht-----
Van:Anders Westin <anders.wes...@dometic.se>
Verzonden:vr 20-04-2012 16:03
Onderwerp:Re: [Assp-test] 530 Relaying not allowed - BCC recipient 
(p...@domain.nl) is not local
Aan:ASSP development mailing list <assp-test@lists.sourceforge.net>; 
Hi 

This was implemented in version 2.0.2_3.1.06 look below under changed.
and this feature can be turned off with following line 
'removeForeignBCC:=1' added to 'lib/CorrectASSPcfg.pm' 
I have added som info from previous threads 

-------- snip --------------
fixed in 2.0.2_3.1.06:

- TNEF conversion has failed under certain conditions
- assp has forced worker restarts if 'DoDomainCheck' was configured (
Error: Worker_5: Not a SCALAR reference at assp.pl line 20526)


changed:
- If bcc lines, with non-local addresses, are found in the header of an 
incoming mail - such attemps are now classified as 'RelayAttempt' and the 
message will be rejected independend of any noprocessing or whitelist 
settings.

Thomas
-------- snip --------------

-------- snip --------------
This check is done per default to prevent your MTA from sending this 
message to the foreign BCC recipients.
Check the header of such a mail and you'll find a foreign BCC recipient. 
Any of the next releases will have a more detailed output for this 
blocking.

                    $this->{messagereason} = "relay attempt blocked for 
non local BCC recipient";
to
                    $this->{messagereason} = "relay attempt blocked for 
non local BCC recipient - $addr";

If you want assp not to do this check - start assp with the startupswitch 
'removeForeignBCC:=1' or add the following line to 'lib/CorrectASSPcfg.pm' 

in sub 'set'

$main::removeForeignBCC = 1;

Thomas
-------- snip --------------




From:   Jean-Pierre van Melis <j...@mirmana.com>
To:     assp-test@lists.sourceforge.net <assp-test@lists.sourceforge.net>
Date:   2012-04-20 15:17
Subject:        Re: [Assp-test] 530 Relaying not allowed - BCC recipient 
(p...@domain.nl) is not local



I was able to "Comment out" the statement in lib/CorrectASSPcfg.pm and 
changed the value into 1.

Thanks...

 
I did a search on BCC (thought I did that before making this thread) and 
read about it.

But what I still don't get is the reason why it goes sour?

 
Is Google and/or some other servers doing things wrong/strange?

Shouldn't it just always relay for valid recipients?

 
The reason it is given in plain English is just wrong.

It says it's a non-local recipient when in fact it isn't. 

Why doesn't it offer it to the MTA and let him decide?

 
Please explain?

 
JP
 
-----Oorspronkelijk bericht-----
Van:Anders Westin <anders.wes...@dometic.se>
Verzonden:vr 20-04-2012 15:01
Onderwerp:Re: [Assp-test] 530 Relaying not allowed - BCC recipient 
(p...@domain.nl) is not local
Aan:ASSP development mailing list <assp-test@lists.sourceforge.net>; 
Hi Jean-Pierre

try this

//
start assp with the startup switch 'removeForeignBCC:=1'
or add the following line to sub 'set' in 'lib/CorrectASSPcfg.pm'
$main::removeForeignBCC:=1;
//


Search in this mailthread for "BCC" and you will fin discussion about this 

matter



 



From:   Jean-Pierre van Melis <j...@mirmana.com>
To:     assp-test@lists.sourceforge.net <assp-test@lists.sourceforge.net>
Date:   2012-04-20 14:31
Subject:        Re: [Assp-test] 530 Relaying not allowed - BCC recipient 
(p...@domain.nl) is not local



I gave this command to see if it happened more often and it turned out it 
happened quite often already.


 # grep 'relay attempt blocked for non local BCC recipient' 
/opt/ASSP/logs/*maillog.txt  | egrep -o '\[RelayAttempt\] 
[0-9]+\.[0-9]+\.[0-9]+\.' | sort | uniq -c | sort -n
      2 [RelayAttempt] 202.58.80.
      2 [RelayAttempt] 218.30.111.
     14 [RelayAttempt] 195.248.77.
     18 [RelayAttempt] 74.125.83.
     20 [RelayAttempt] 209.85.160.
     24 [RelayAttempt] 209.85.161.
     26 [RelayAttempt] 207.126.144.
     30 [RelayAttempt] 194.171.56.
     58 [RelayAttempt] 74.125.82.
    108 [RelayAttempt] 209.85.210.
 
 
Google may do something wrong/awkward, but such a major player can't be 
ignored that easily.

 
JP

 
-----Oorspronkelijk bericht-----
Van:Jean-Pierre van Melis <j...@mirmana.com>
Verzonden:vr 20-04-2012 14:15
Onderwerp:530 Relaying not allowed - BCC recipient (p...@domain.nl) is not 

local
Aan:assp-test@lists.sourceforge.net; 
 

Hi All,

 
A postfix mailserver that's protected by ASSP received an email to a valid 

recipient in its BCC-field coming from a Google mailserver.

It gave this message.

 
According to the Postfix log it never even asked if it could relay this 
message.

 
Do I have an awkward setting / situation or did I encounter a bug?

 
Cheers

 
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test


_________________________________________________________________________________________________________________________________________________
NOTICE: This email and any attachments are for the sole use of the 
intended recipient(s) and may contain confidential and privileged 
information.  
Any unauthorized review, use, disclosure or distribution is prohibited.  
If you are not the intended recipient, please notify the sender by reply 
email and destroy the original message.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test


_________________________________________________________________________________________________________________________________________________
NOTICE: This email and any attachments are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.  
Any unauthorized review, use, disclosure or distribution is prohibited.  
If you are not the intended recipient, please notify the sender by reply email 
and destroy the original message.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to