This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Spanassassim rule

Hi all

I have an internal mail-server. Use the astaro only for relay.

The case is: 

If I connect in a mail server (yahoo, aol...), I get to send a mail for the domain DOMAIN (domain.com.br) as an internal user. This mail, goes by the smtp-proxy of DOMAIN and it proceeds for the user of that domain. 

Like this, connected in any mail-server, I send a mail for janilson@domain.com.br with the user jonhhrs@domain.com.br. This mail goes by the smtp-proxy. It arrives for janilson@domain.com.br that thinks that was sent by jonhhrs@domain.com.br.


Connecting in any mail-server:

telnet 200.214.190.1 25 
mail from: janilson@domain.com.br
rcpt to: jonhhrs@domain.com.br
data 
Mail test 


Question:

How to build a rule in the spanassassim to block this activity? 

I need to filter only the domain!

If "From: anybody@domain.com.br" "to: anybody@domain.com.br" DROP

Thanks.

Janilson Lopes
   


This thread was automatically locked due to age.
Parents
  • THe only way I could see this to work is if there was a away to add a rule that stated:

    If IP Range = 192.168.1.0/24 AND Sender = "jdoe@domain.com" then relay
    Else DROP

    I don't believe this is possible without customizing some sort of script.  By default, there is no funcitonality built within the webadmin page.

    Maybe someone else could chime in?
Reply
  • THe only way I could see this to work is if there was a away to add a rule that stated:

    If IP Range = 192.168.1.0/24 AND Sender = "jdoe@domain.com" then relay
    Else DROP

    I don't believe this is possible without customizing some sort of script.  By default, there is no funcitonality built within the webadmin page.

    Maybe someone else could chime in?
Children
No Data