erlug
[Top] [All Lists]

Re: [Erlug] Postfix: relay aperto ma non proprio

To: ERlug - Lista Pubblica <erlug@xxxxxxxxxxxxxx>
Subject: Re: [Erlug] Postfix: relay aperto ma non proprio
From: Massimo Danieli <m.danieli@xxxxxxxxxxxx>
Date: Mon, 3 May 2010 11:46:22 +0200
On Mon, May 03, 2010 at 11:39:31AM +0200, Francesco Conti wrote:
> Mi piacerebbe che arrivasse a fare cio':
> 
> 1) accetta le mail dirette al dominio del server semisputtanato (e lo
> fa)
> 2) tutte le mail dirette ad altri domini le gira SOLO se il from
> contiene un utente del dominio del server semisputtanato)

Direi che dovresti farlo partendo da qui


smtpd_sender_restrictions (default: empty)

The following restrictions are specific to the sender address received with the 
MAIL FROM command. 

check_sender_access type:table
    Search the specified access(5) database for the MAIL FROM address, domain, 
parent domains, or localpart@, and execute the corresponding action. 

(5) http://www.postfix.org/access.5.html


Ciao


Andy

<Prev in Thread] Current Thread [Next in Thread>