Hi Mr. Wietse, thanks for your reply.
 
Maybe my example wasn't completely correct but is there a way to have different 
rules/routing based on different groups of sources ?
 
Regards,
Daniel

________________________________

Da: owner-postfix-us...@postfix.org per conto di Wietse Venema
Inviato: mar 10.05.2011 16:20
A: Postfix users
Oggetto: Re: Rules based on source IPs/Addresses



Hubeli Daniel:
[ Charset ISO-8859-1 unsupported, converting... ]
> Hi all, sorry for my previous post without subject (OWA :)
> 
> I'm pretty new to postfix and I'm trying to configure a mail relay on a "i
>-nternal" network that should relay mails outside (Internet) based on differe
>-nt rules.
>
> As a first step I configure Postfix to allow some servers to send mail for 
> certain domain and specifically to certain addresses. To do this I've used 
> some of the most used directives:
>
> "relay_domains"
> "mynetworks_style"
> "mynetworks"
> "relayhost"
> "transport_maps"
> "relay_recipient_maps"
> "smtpd_recipient_restrictions"
>
> My problem is that now I have to enable another group of server to use thi
>-s mail server as relay but I have to apply other rules to this new group of
>-servers. Is there a way to have different rules (for istance "relay_recipien
>-t_maps") based on source hosts/addresses ? ... maybe something like acl for
>-squid proxy ...

By definition, relay_recipient_maps specifies the recipients.
Therefore it cannot depend on sender address or sender host.

        Wietse


<<winmail.dat>>

Reply via email to