|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Can we give an error code for body_checks?
From: Franck Martin (franck
sopac.org)Date: Tue Dec 05 2000 - 17:37:13 CST
- Next message: Tom Frey: "mutliple domains"
- Previous message: Ralf Hildebrandt: "Re: open-relay problem"
- In reply to: Lars Hecking: "Re: Can we give an error code for body_checks?"
- Next in thread: Ralf Hildebrandt: "Re: Can we give an error code for body_checks?"
- Reply: Franck Martin: "Re: Can we give an error code for body_checks?"
- Reply: Ralf Hildebrandt: "Re: Can we give an error code for body_checks?"
- Reply: Amos Gouaux: "Re: Can we give an error code for body_checks?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Lars Hecking wrote:
>
> > > I believe you can only set REJECT or IGNORE for header checks.
> >
> > That's been my experience to date, but I'll swear I ran across
> > something today that told me I could use the numbered codes. I
> > just can't find my way back to that something... It was
> > somewhere in the source release or sample configs or the web
> > site...
>
> main.cf:
> # The header_checks parameter restricts what may appear in message
> # headers. This requires that POSIX or PCRE regular expression support
> # is built-in. Specify "/^header-name: stuff you do not want/ REJECT"
> # in the pattern file. Patterns are case-insensitive by default. Note:
> # specify only patterns ending in REJECT. Patterns ending in OK are
> # mostly a waste of cycles.
> #
>
> RELEASE_NOTES:
> Major changes with snapshot-20000921
> ====================================
> [...]
> The header_checks and body_checks features can now be used to strip
> out unwanted data. Specify IGNORE and the data will disappear.
>
> HTH. HAND.
This is a setp forward, and I'm glad it is there. I guess IGNORE strip
the line not the message ?
However we still need to send back an explanation error. Much better than
"content rejected". Wietse, your advice please ?
Thanks
Cheers.
- Next message: Tom Frey: "mutliple domains"
- Previous message: Ralf Hildebrandt: "Re: open-relay problem"
- In reply to: Lars Hecking: "Re: Can we give an error code for body_checks?"
- Next in thread: Ralf Hildebrandt: "Re: Can we give an error code for body_checks?"
- Reply: Franck Martin: "Re: Can we give an error code for body_checks?"
- Reply: Ralf Hildebrandt: "Re: Can we give an error code for body_checks?"
- Reply: Amos Gouaux: "Re: Can we give an error code for body_checks?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]