OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alessio Fiore (afiorealteanet.it)
Date: Fri Jan 18 2002 - 11:24:26 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi all, I'm at my first Postfix "real-world" configuration, and I have a
    problem I can't solve just reading www.postfix.org configuration help.

    I must install and configure Postfix on a Linux machine that will act as the
    domain mailserver, and that is behind a firewall. The machine will serve
    about 100 clients (outlook). 90 of them will be allowed to send/receive mail
    only to/from local accounts (just internal mail). 10 of them will be allowed
    to send/receive mail to/from elsewhere in Internet.

    Well, I created an access table (file: /etc/postfix/access_ext) like this:

    allowed_user1 OK
    allowed_user2 OK
    ...
    allowed_user10# OK

    Then I set the smtpd_recipient_restrictions parameter to accept all local
    recipients and recipients whose sender is listed in the table:

    smtpd_recipient_restrictions = permit_auth_destination, check_sender_access
    hash:/etc/postfix/access_ext reject

    It worked, so disallowed users can't send mail out of domain.

    The problem is that I can't find the way to reject mail that comes from out
    of domain to a local user. In fact the smtpd_sender_restrictions parameter
    doesn't seem to have a sort of "check_recipient" value.

    Can someone help me?

    Thanks
    Alessio Fiore
    afiorealteanet.it

    - Disclaimer -
    This email and any attachments thereto may contain information which is
    confidential and/or protected by intellectual property rights and are
    intended for the sole use of the recipient(s) named above. Any use of the
    information contained herein (including, but not limited to, total or
    partial reproduction, communication or distribution in any form) or the
    taking of any action in reliance on the contents, by persons other than the
    designated recipient(s) is strictly prohibited.

    If you have received this email in error, please notify the sender either by
    telephone or by email and delete the material from any computer.

    Thank you for your cooperation.

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users