helpSpamAssassin Milter Plugin - Support: sr #105310, Could not retrieve sendmail macro...


sr #105310: Could not retrieve sendmail macro "r"!

Submitted by:  None
Submitted on:  Wed 19 Apr 2006 03:21:14 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 10 Apr 2009 07:59:03 AM UTC, comment #3:

I was looking for this feature for long time already. Patch is realy very simple and working for me. Why isnt already included in to mainstream ?

I made leated gentoo ebuild including this patch :

SchAmane <schamane>
Thu 23 Oct 2008 03:46:38 PM UTC, comment #2:

I've got a similar problem:

--- log ---
Could not retrieve sendmail macro "_"!. Please add it to confMILTER_MACROS_ENVRCPT for better spamassassin results
--- end log ---

sendmail.m4 contains:
define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b')dnl

should I modify it to
define(`confMILTER_MACROS_ENVRCPT',`r, v, Z, b, _')dnl


Wed 19 Apr 2006 03:39:41 PM UTC, comment #1:

Edit your file, add the line

define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl

and rebuild . I'll also update the README; I don't mention confMILTER_MACROS_ENVRCPT at all right now.

It's not fatal if spamass-milter can't fetch that particular macro value; it's just used to create a fake Received line that looks like what sendmail itself adds. Hopefully that warning only gets printed once on the first message processed.

Dan Nelson <dnelson>
Project Administrator
Wed 19 Apr 2006 03:21:14 PM UTC, original submission:

I'm getting this in my maillog:

spamass-milter: Could not retrieve sendmail macro "r"!. Please add it to confMILTER_MACROS_ENVRCPT for better spamassassin results.

How do I fix this ?



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by schamane (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1