On Thu, Oct 22, 2009 at 09:36:06AM -0400, Wietse Venema wrote:
> I'll implement the "regexp to edit command" code anyway. It's
> cheaper than sending someone to a customer next time.


Would this eg. also allow to substitute domains (s/@olddomain$/@newdomain$/)
in RCPT TO, which is a FAQ?

        Geert


> > > 2) Changes to Postfix source code so that it accepts bad command
> > > syntax. I would be willing to consider a change that runs every
> > > inbound SMTP command through a regexp table so that you can specify
> > > a PCRE expression like this:
> > >
> > > /^HELO\s*$/       HELO helo.invalid
> > >
> > > The replacement HELO command still contains useful information.
> > >
> > > This mapping would also solve problems that some people have with
> > > clients that send incorrect MAIL FROM or RCPT TO addresses syntax.
> > >
> > > Similar mappings may solve problems with REMOTE SMTP server responses,
> > > or with SMTP client or server outputs by Postfix itself.
> > >
> > >   Wietse
> >
> 
> 

-- 
Geert Hendrickx  -=-  [email protected]  -=-  PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!

Reply via email to