Sorry my last response was incomplete.
Jeff Mandel wrote:
spf has also been adding headers inconsistently. Some messages have an
SPF header some don't.
spf-milter, and any other milter, can only add headers at eom_callback: at
the "end of message" callback, that is. If a message gets aborted earlier,
no header will be added. This is part of the Milter protocol.
The message is not aborted. It is accepted, so it must have cleared the
eom_callback. It arrives, but without header usually on the first
attempt after not sending for a while. (1 hour?)
May 24 15:41:49 mailgate sendmail[2596]: [ID 801593 mail.info]
i4OMfnln002596: Milter add: header: Received-SPF: unknown (mailgate:
error in processing during lookup of user(_at_)domain(_dot_)com)
(headers are added in each case)
Lookup by hand on the mail gateway is returning txt records properly.
Of the two milters running, spf comes first, then greylist.
Is this really a lookup error?
Is it trying to lookup the user(_at_)domain(_dot_)com instead of just
domain.com?
Who is "it"? Also, I do not understand your last comment: lookups on
user(_at_)domain(_dot_)com are always done on domain.com (within the
Mail-SPF-Query-1.997 module).
It would be spf. In trying to figure out why this is not working for me,
I just wanted to confirm it was looking up just the domain, since the
error reported was an error looking up user(_at_)domain(_dot_)com(_dot_)
For example:
I've used the address givent for testing: mengwong(_at_)vw(_dot_)mailzone(_dot_)com, and
get the following header added (on the second attempt)
Received-SPF: unknown (mailgate: error in processing during lookup of
mengwong(_at_)vw(_dot_)mailzone(_dot_)com)
I also tested my address from a non probes.com address
Received-SPF: unknown (mailgate: error in processing during lookup of
jeff(_dot_)mandel(_at_)probes(_dot_)com)
The lookup error would then be failure to lookup vw.mailzone.com,
mailzone.com, or probes.com, not a failure to lookup mengwong, or
jeff.mandel since there should be no lookup done on that part of the
address.
Jeff