[CentOS] Story of an email

Sat Nov 30 13:06:49 UTC 2013
Stephen Harris <lists at spuddy.org>

On Sat, Nov 30, 2013 at 07:43:36AM -0500, Scott Robbins wrote:
> Fetchmail (and getmail) don't make use of smtp.  As their name suggests,

Yes it does.

>From "man fetchmail"
       As each message is retrieved, fetchmail normally delivers it  via  SMTP
       to  port 25 on the machine it is running on (localhost), just as though
       it were being passed in over a normal TCP/IP link.  fetchmail  provides
       the  SMTP  server  with  an  envelope  recipient  derived in the manner

So, for example, in my fetchmailrc file:
  poll verizon via pop.verizon.net port 995
    user verizonusername is foo here

If I look at the headers of a message:

  Received: from pop.verizon.net (localhost [127.0.0.1])
        by spuddy.org (8.13.8/8.13.8) with ESMTP id p6LKB3b6010977
        for <foo at localhost>; Fri, 29 Nov 2013 16:11:03 -0400

It's clear this was passed from fetchmail to the local SMTP server.

Of course you _can_ configure fetchmail to operate differently, but this
is its default behaviour.

-- 

rgds
Stephen