200303 Jack wrote:
> On 2020.03.03 02:54, Philip Webb wrote:
>> However, my ISP is now sending me an e-mail every 5 min ,
>> after Fetchmail checks for mail :
>>
>> From: "(Cron Daemon)" <purslow@***>
>> To: purslow@***
>> Subject: Cron <purslow@localhost> test -e /var/run/dhcpcd.pid &&
>> /usr/bin/fetchmail -s 2> /dev/null
>> fetchmail: Query status=2 (SOCKET)
> Are you sure the message is coming from your ISP
> and not locally generated, perhaps by cron ?
Thanks, you're correct. 'man fetchmail' under 'EXIT CODES' says
2 An error was encountered when attempting to open a socket
to retrieve mail. If you don't know what a socket is,
don't worry about it -- just treat this as an 'unrecoverable error'.
This error can also be because a protocol fetchmail wants to use
is not listed in /etc/services.
It looks like that latter, but 'services' has > 1100 lines .
'.fetchmailrc' uses 'sslproto', but otherwise I don't know what it wants.
The simple solution is to have Procmail treat these msgs as spam,
but it wb nice to know just what service it's failing to find.
Any suggestions ?
--
========================,,============================================
SUPPORT ___________//___, Philip Webb
ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
TRANSIT `-O----------O---' purslowatchassdotutorontodotca