Bug 75017 - deprecated syntax used in sendmail examples
Summary: deprecated syntax used in sendmail examples
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rhl-rg
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Johnray Fuller
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-10-03 19:06 UTC by Chris Ricker
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-10-10 21:47:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Chris Ricker 2002-10-03 19:06:11 UTC
15.3.5 discusses the use of /etc/mail/access to block spam, and gives as an
example access file:

badspammer.com       550 Go away and do not spam us anymore
tux.badspammer.com   OK
10.0                 RELAY

The syntax used for the badspammer.com entry is deprecated.  All numeric code
responses should be preceded by an ERROR keyword.  Similarly, text strings
should be quoted (spaces may or may not be preserved if they aren't quoted).

The preferred (and soon only) syntax is either

badspammer.com       ERROR:550 "Go away and do not spam us anymore"

or, if you want to send a DSN response,

badspammer.com       ERROR:###:550 "Go away and do not spam us anymore"

where ### is the number (taken from RFC 1893) corresponding to the DSN code you
want to send to the sendor.

see ~pg 36 in README.cf for documentation of the deprecation....

Comment 1 Johnray Fuller 2002-10-10 21:46:57 UTC
Thanks for the catch, this will be incorporrated in the next version of the
Reference Guide.

As it stands, however this syntax still works.

I will post an errata, however, noting the deprecation and pointing out that
quotes are important.

Thanks a million!

Johnray

Comment 2 Johnray Fuller 2002-10-18 20:55:12 UTC
I have posted an errata and corrected the HTML version of the document.

Thank you very much for pointing this out.

The next version of this chapter will enhance the syntax for these commands.

Thanks again.
Johnray


Note You need to log in before you can comment on or make changes to this bug.