SMTP relay only

From: Rocco Scappatura (no email)
Date: Fri Feb 13 2009 - 10:15:31 EST

  • Next message: Wietse Venema: "Re: unknown mail transport error"


    I need to setup a mail server for outgoing email only. I clearly would
    like to restrict access to my networks only.

    Moreover, I would like to permit only to some envelope senders to relay
    email trhough a such MTA. And no other envelope sender should be able to
    relay trhough this MTA.

    So the restriction classes are made so:

    smtpd_client_restrictions =
    proxy:mysql:/etc/postfix/ <-- this
    let me disable some content checking through filter (Amavisd-new). No

    smtpd_helo_restrictions =
    smtpd_sender_restrictions =

    smtpd_recipient_restrictions =

    Please note that I use "check_client_access" restriction together with:

    mynetworks = /etc/postfix/relay

    to limit access to SMTP relay server per IP.

    The "/etc/postfix/" verifies if the envelope
    sender is enabled for relay (I'm assuming that on my networks none
    forges email sender).

    The lookup return "OK" if sender is enabled. Nothing otherwise (the
    sender should be rejected at the next restriction..).

    This configuration doesn't work. What is conceptually wrong in my

    Finally I would like to deny message delivery to my mail server.. It
    should suffice to unset "relay_domains" or it is too restrictive doing



  • Next message: Wietse Venema: "Re: unknown mail transport error"

    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs

    Powered By FreeBSD   Powered By FreeBSD