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

ASG 7.507 - Stop specific outgoing mail

Hello,

i wanted to ask, if there is a possibility to stop mails from specific internal (local) Domains to send to the internet by the ASG. I have SMTP configuried and have a internal server. I want to send an e-mail with an e-mail client from internal network, but don't want that mail to be delivered out by ASG. In fact, it would be the best way, if the mail would end up in "smtp-spool" so i could delete it manually.


This thread was automatically locked due to age.
  • To block all such traffic except that from your mail server:

    In SMTP, on the 'Advanced' tab, make sure you do not have 'Transparent mode' selected.  On the 'Relaying' tab, Host-based relay, 'Allowed hosts/networks', make sure you have only the host definition for your mail server, and that you do not have "Internal (Network)" included.  If you have a packet filter rule that allows outbound SMTP traffic, put in a new rule in the top position: 'Internal (Network) -> SMTP -> Any : Drop'.


    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Hi,
    i think you misunderstood or it was me, who explained it not clear enough.
    My configuration is correct. Everything is fine. I just want to have the possiblity, to test some things with my internal mailserver which is the only internal host, that is allowed to send mails through the ASG. 
    What i want is, to have the possibility, to stop (choosen domain) mails temporarly to be delivered to the outside world. But as i said, only temporarily, because i want to have the possiblity to decide, whether these mails are going out or not. This ist just for testing real scenarios, when i don't want every mail, to be delivered to the outside world.
  • Beginning with V8.01 (according to AngeloC), Astaro does anti-spam filtering on outbound SMTP.  If you have V8, you might be able to achieve your goal by putting @domain.com into the 'Expression filter' list.  Please let us know what solution works for you.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Sorry, but my version is 7.5 and the only way i've used so far is, to remove the SMTP server from the "relaying" host list, but this solution reject EVERY mail from the smtp server and does not filter specific mails.