How can I use fetchmail with smail?
Smail 3.2 is very nearly plug-compatible with sendmail, and may work fine out of the box. We have one report that when processing multiple messages from a single fetchmail session, smail sometimes delivers them in an order other than received-date order. This can be annoying because it scrambles conversational threads. This is not fetchmail’s problem, it is an smail `feature’ and has been reported to the maintainers as a bug. Very recent smail versions require an -smtp_hello_verify option in the smail config file. This overrides smail’s check to see that the HELO address is actually that of the client machine, which is never going to be the case when fetchmail is in the picture. According to RFC1123 an SMTP listener must allow this mismatch, so smail’s new behavior (introduced sometime between 3.2.0.90 and 3.2.0.95) is a bug. You may also need to say -smtp_hello_broken_allow=127.0.0.1 in order for smail to accept the “localhost” that fetchmail normally appends to recipient addresses.