spf-discuss
[Top] [All Lists]

Re: Milter showing 'command rejected'

2004-02-04 02:17:10
----- Original Message -----
From: "Graham Murray" <graham(_at_)gmurray(_dot_)org(_dot_)uk>
To: <spf-discuss(_at_)v2(_dot_)listbox(_dot_)com>
Sent: Wednesday, February 04, 2004 9:47 AM
Subject: [spf-discuss] Milter showing 'command rejected'

On this (my home system) when spf-milter wants to reject an email it
is showing the following line rather than adding the text pointing to
the spf pages at pobox.

milter=spf-milter, action=rcpt, reject=550 5.7.1 Command rejected

On the mail system at work, which is running the same version of all
(I think) relevant programs sendmail (8.12.11), perl (5.8.3, though
this is just threaded, my home system has also enabled 64bit integers
and double precision), Mail::SPF::Query (1.991) and
sendmail-milter-spf (1.30) the reject message contains the correct
pointer to spf.pobox.com/why.

Any pointers as to what I should be looking at on this system to make it
reference pobox.com on the sendmail reject instead of 'command rejected'?

Ever since Mail::SPF::Query "uri_escapes" $smtp_comment, I added the
following code:

# Need to escape unprotected % characters in spf_smtp_comment,
# or sendmail will use the default "Command rejected" message instead.
# Noted by Paul Howarth

$smtp_comment =~ s/%/%%/g;

So, this should long since no longer be an issue. Can you send me the 'why'
URL string you expected? Maybe something else needs escaping (or maybe I
should just un- uri_escape smtp_comment altogether, as it it great for a
browser, but it seems to do sendmail more harm than good).

- Mark

        System Administrator Asarian-host.org

---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx

-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.5.txt
Wiki: http://spfwiki.infinitepenguins.net/pmwiki.php/SenderPermittedFrom/
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡


<Prev in Thread] Current Thread [Next in Thread>