Victor Duchovni:
> On Fri, May 15, 2009 at 12:29:00PM +0200, Teun Vink wrote:
> 
> > Hi,
> > 
> > I'm trying to find a nice solution for the following problem:
> > 
> > we offer backup MX facilities for many customer domains. For this, we
> > have a number of mailservers (currently 5). An F5 loadbalancer
> > distributes SMTP connections between these mailservers.
> > 
> > Of course, sometimes customers want to send an ETRN command to force
> > delivery. Now, this command is received on one of these loadbalanced
> > servers and this server then will empty his queue (if possible).
> > However, I would like this command to be executed on all servers.
> > Unfortunately, I don't really know how I could do this. 
> > 
> > Anyone here who can give me a clue on how to do this? Is it possible to
> > execute a program when an ETRN command is received?
> 
> The right solution is to tell ETRN customers to use a different IP/port
> for ETRN that is NOT load-balanced. This can run a proxy that replicates
> the ETRN command to all hosts that queue deferred mail for the requested
> domain.
> 
> UUCP (over TCP) is a better option for sporadically connected domains.

And to execute a command, use "check_policy_service" in
smtpd_etrn_restrictions. The policy service can play the 
proxy role for you.

http://www.postfix.org/postconf.5.html#smtpd_etrn_restrictions
http://www.postfix.org/SMTPD_POLICY_README.html

        Wietse
  • ETRN Teun Vink
    • Re: ETRN Victor Duchovni
      • Re: ETRN Wietse Venema

Reply via email to