At 17:37 2010-01-08 -0500, Richard B. Emerson wrote:
Er, that's not my intent. My plan is to look at each message after it's
been collected and fine tune the destination based on either the problem
with the Delivered-To field
I remain in the dark as to what the "problem" with the Delivered-To: field is.
Question: What procmail recipe is used to perform final delivery of
the mail when the To: header actually does have the local user address
AFAIK, that's sendmail's job.
Sendmail is the MTA. Procmail is generally an LDA (if not a general
purpose mail filter - though if you have something in /etc/procmailrc,
you're invoking it much as an LDA), and most assuredly should never be used
to perform the duties of an MTA.
I agree that the problem may well be caused by sendmail.
You're foisting the blame where it isn't deserved.
The short-term goal is building a workaround for a special case
(ill-formed mail list mailings).
The mailing list headers are not ill-formed. Excepting _some_ lists, the
vast majority of lists deliver messages BCC - recipient addresses appear
nowhere within the headers. If your mail system can't grok BCC, you have
an issue. Chances are, your old approach was reliant upon some
characteristic of the email which your upline provider inserted into
messages, and they've changed what they're doing. In a STANDARDS BASED
delivery setup, this wouldn't matter - but you're relying on nonstandard
The whole (fetchmail -> procmail -> mailbox) for multiple users through one
invocation is a very delicate kludge. fetchmail for individual user
accounts is reasonably reliable, but using it in place of SMTP for an
entire domain is riddled with issues, many of which you have no control over.
Why does your machine not receive email via SMTP? Are you not on a static
If you have a static IP assignment, or use a dynamic DNS service to
register your IP, you should be able to make arrangements with your current
mail provider to act as a secondary MX, then when your server goes online
and registers its dynamic IP, you issue an SMTP "ETRN" command to their MX
host, and they process their queue. Whenever your host is up and working
properly, arriving email just shows up directly, rather than via your
secondary MX. This is a quick tweak to your DNS ZONE (to change the MX
hosts). Then you'd do away with fetchmail (though, actually, you'd still
use it for "tickling" the backup host - fetchmail can be used to issue the
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
procmail mailing list Procmail homepage: http://www.procmail.org/