postfix-users November 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: no restriction on length of the localpart?

Re: no restriction on length of the localpart?

From: Wietse Venema <wietse_at_nospam>
Date: Tue Nov 16 2010 - 20:20:58 GMT
To: Postfix users <postfix-users@postfix.org>

Ralf Hildebrandt:
> * Wietse Venema <wietse@porcupine.org>:
> > > But where IS the actual limit in postfix?
> > > max_line_lenght - lenght(RCPT TO:<>) ?
> >
> > To limit the size of a command parameter, use regular expression
> > bounds.
> >
> > /.+{number}/ reject
> >
> > and variations thereof.
> Thanks, that was simple

Alternatively, use smtpd_command_filter to truncate or replace
an over-sized command line.

        Wietse