fetchmail localhost connection refused

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
obaino
Level 1
Level 1
Posts: 34
Joined: Wed Aug 10, 2011 4:07 am

fetchmail localhost connection refused

Post by obaino »

Hello,
I want to check my email using mutt / fetchmail / procmail.
I've set it up successfully on two debian machines but on my linuxmint 18.2 xfce I'm getting the following at fetchmail.log

Code: Select all

fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: Connection errors for this poll:
name 0: connection to localhost:smtp [127.0.0.1/25] failed: Connection refused.
fetchmail: SMTP connect to localhost failed
.fetchmailrc

Code: Select all

# Configuration for forthnet / cyta / glouglouglou
set postmaster "nikolask"
set bouncemail
set no spambounce
set softbounce
set properties ""
set daemon 60
set logfile /home/nikolask/.fetchmail.log

# forthnet
poll mail.forthnet.gr with proto POP3
		user 'glouglouglou.forthnet.gr' pass ********** is 'nikolask' here ssl keep
		
# glouglouglou
poll mail.dealemporio.gr with proto POP3
       user 'info@glouglouglou.gr' pass ********** is 'nikolask' here keep
       
# cyta
poll mail.cyta.gr with proto POP3
       user 'glouglouglou' pass ********** is 'nikolask' here ssl keep
.procmailrc

Code: Select all

SHELL=/bin/sh
PATH=/usr/sbin:/usr/bin
MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
LOGFILE=$HOME/.procmail.log
LOG=""
VERBOSE=yes

# emails addressed to info@work.gr
:0:
*^(To|Cc|Bcc):.*(info\@work\.gr)
$MAILDIR/.Work/

# emails addressed from blblb@blabla.co.uk
:0:
*^(From):.*(blblb\@blabla\.co\.uk)
$MAILDIR/.Blabla/

# emails addressed from bank
:0:
*^(From):.*(\@bank\.gr)
$MAILDIR/.Banking/
.forward

Code: Select all

|/usr/bin/procmail
Thanks for any help!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Curious George

Re: fetchmail localhost connection refused

Post by Curious George »

Possibly the following (rather old) thread will help:
https://forums.opensuse.org/showthread. ... -25-failed
I'm having similar problems with fetchmail, but it looks like my system (cinammon 18.3) has neither sendmail nor postfix. Working to install sendmail, see what happens.
Locked

Return to “Networking”