Results 1 to 3 of 3

Thread: Totally block send emails

  1. #1
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    4

    Default Totally block send emails

    Hello,
    I have a server that actually is seen only internally and I want to restrict to send emails totally so the users should only read emails without the possibilty to send, including the same domain.
    How to accomplish that?
    Thank you

  2. #2
    Join Date
    Jul 2009
    Location
    Jyväskylä, Finland
    Posts
    83
    Rep Power
    6

    Default

    How about something like this:
    Code:
    main.cf:
         smtpd_sender_restrictions = 
            check_sender_access pcre:/etc/postfix/sender_checks
            permit
    
    postfix/sender_checks:
        /^root@dev\.mydomain\.com$/         OK
        /^specificuser@.*\.mydomain\.com$/  OK
        /./                                 REJECT This mail server does not accept mail from you

  3. #3
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    4

    Default

    Thank you for the reply,
    at the end I have stopped the postfix service

Similar Threads

  1. block a user from sending emails to other domain
    By malayo in forum Administrators
    Replies: 3
    Last Post: 04-25-2012, 04:11 AM
  2. Zimbra Attchment Block & Out Side Mail Sending Block
    By kirtan in forum Administrators
    Replies: 0
    Last Post: 12-22-2011, 12:58 AM
  3. block user from sending emails
    By feiticeir0 in forum Administrators
    Replies: 0
    Last Post: 10-25-2011, 09:07 AM
  4. Replies: 0
    Last Post: 04-18-2011, 02:33 PM
  5. Totally lost
    By lwinstead in forum Installation
    Replies: 5
    Last Post: 08-19-2008, 06:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •