Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th May 2009, 16:46
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default Fetchmail retrieval configuration on the clients side

On my fedora 10 server I have configured Fetchmail Retrieval using webmin and it seems to be working fine. Here if the output of the check servers from the webmin of the Fetchmail:

Checking Servers

Checking for mail on server(s) with command fetchmail -v -f '/etc/fetchmailrc' -m '10.0.0.5' ..

fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.8 querying mail.perfectpol.com (protocol POP3) at Wed May 13 16:24:01 2009: poll started
Trying to connect to 196.22x.6x.110/110...connected.
fetchmail: POP3< +OK POP3 server ready <dce8701f-ddee-4017-80cd-e66d5b284d74@cmail1.wadans.net>
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Smartertools_SmarterMail_1.5
fetchmail: POP3< .
fetchmail: pop.perfectpol.com: opportunistic upgrade to TLS failed, trying to continue.
fetchmail: POP3> USER munec@perfectpol.com
fetchmail: POP3< +OK User:'munec@perfectpol.com' ok
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Password ok
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 554
fetchmail: POP3> LAST
fetchmail: POP3< +OK 0
2 message for munec@perfectpol.com at mail.perfectpol.com (554 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 554
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message munc@perfectpol.com@mail.perfectpol.com:1 of 1 (554 octets)
sh: 10.0.0.5: command not found
#*fetchmail: Error writing to MDA: Broken pipe
not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP3 server signing off
fetchmail: 6.3.8 querying mail.perfectpol.com (protocol POP3) at Wed May 13 16:24:09 2009: poll completed
fetchmail: 6.3.8 querying mail.perfectpol.com (protocol POP3) at Wed May 13 16:24:09 2009: poll started
Trying to connect to 196.22x.6x.110/110...connected.
fetchmail: POP3< +OK POP3 server ready <efc2b011-c4fb-499f-970e-12c6f7d56b9b@cmail1.wadans.net>
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Smartertools_SmarterMail_1.5
fetchmail: POP3< .
fetchmail: pop.perfectpol.com: opportunistic upgrade to TLS failed, trying to continue.
fetchmail: POP3> USER sanleg@perfectpol.com
fetchmail: POP3< +OK User:'sanleg@perfectpol.com' ok
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Password ok
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: No mail for sanleg@perfectpol.com at mail.perfectpol.com
fetchmail: POP3> QUIT
fetchmail: POP3< +OK POP3 server signing off
fetchmail: 6.3.8 querying mail.perfectpol.com (protocol POP3) at Wed May 13 16:24:16 2009: poll completed
fetchmail: normal termination, status 0

.. checking complete

Now my problem is how do I configure the fetchmail to deliver mail to clients desktops. I have two email users one with Windows XP mail client Microsoft outlook express and the other one with fedora 10 evaluotion. What are the necessary configuration should be done on the clients pc to receive or get the mails that has been download by fetchmail server.

Last edited by perfectpol7; 13th May 2009 at 16:56. Reason: grammar
Reply With Quote
Sponsored Links
  #2  
Old 14th May 2009, 17:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

The clients have to log in to the POP3 account where fetchmails puts the mails in.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th May 2009, 12:04
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

I have install dovecot for pop3 and configured it, now when I try to test dovecot pop3
#telnet localhost pop3
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

here is my dovecot.conf
#protocols = imap imaps pop3 pop3s
protocols = pop3 pop3s imap imaps
#pop3_uidl_format = %08Xu%08Xv
#imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
#pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
#mail_location = maildir:~/Maildir

why is pop3 refused to connect are my setting not right, no firewall or selinux set.
Reply With Quote
  #4  
Old 15th May 2009, 13:19
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

I have install dovecot for pop3 and configured it, now when I try to test dovecot pop3
#telnet localhost pop3
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

here is my dovecot.conf
#protocols = imap imaps pop3 pop3s
protocols = pop3 pop3s imap imaps
#pop3_uidl_format = %08Xu%08Xv
#imap_client_workarounds = delay-newmail outlook-idle netscape-eoh
#pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
#mail_location = maildir:~/Maildir

why is pop3 refused to connect are my setting not right, no firewall or selinux set.
Reply With Quote
  #5  
Old 16th May 2009, 14:04
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

I have edit on the dovecot.conf
#listen = *, [::]
listen = *, [::]

and when I try to telnet the pop3 here is the output of it:
[root@perfectpol ~]# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
Connection closed by foreign host.

then the connection just die not sure what is killing it I have no firewalland selinux set(disabled)
Reply With Quote
  #6  
Old 17th May 2009, 19:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Any errors in the mail log?
What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 18th May 2009, 10:04
perfectpol7 perfectpol7 is offline
Member
 
Join Date: Jan 2009
Posts: 79
Thanks: 3
Thanked 1 Time in 1 Post
Default

Message from the /var/log/maillog

May 18 04:52:03 perfectpol sendmail[23287]: n4I2psdF023287: to=root, ctladdr=root (0/0), delay=00:00:09, xdelay=00:00:00, mailer=relay, pri=30463, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Output for netstat -tap:-
[root@perfectpol ~]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:dnp *:* LISTEN 2633/perl
tcp 0 0 *:nfs *:* LISTEN -
tcp 0 0 *:rquotad *:* LISTEN 2337/rpc.rquotad
tcp 0 0 *op3 *:* LISTEN 7116/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1953/rpcbind
tcp 0 0 *:ndmp *:* LISTEN 2642/perl
tcp 0 0 *ersonal-agent *:* LISTEN 2498/dc_server
tcp 0 0 *:39795 *:* LISTEN 2353/rpc.mountd
tcp 0 0 *:domain *:* LISTEN 2601/dnsmasq
tcp 0 0 *:44373 *:* LISTEN -
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2574/cupsd
tcp 0 0 10.0.0.5:squid *:* LISTEN 2522/(squid)
tcp 0 0 *:40538 *:* LISTEN 1966/rpc.statd
tcp 0 0 localhost.localdomain:50674 localhost.loersonal-agent ESTABLISHED 2471/dc_client
tcp 0 0 192.168.0.10:48241 208.81.191.111:http ESTABLISHED 23621/firefox
tcp 0 0 *:cvspserver *:* LISTEN 2291/xinetd
tcp 0 0 *:swat *:* LISTEN 2291/xinetd
tcp 0 0 *op3 *:* LISTEN 7116/dovecot
tcp 0 0 *:sunrpc *:* LISTEN 1953/rpcbind
tcp 0 0 *:http *:* LISTEN 2463/httpd
tcp 0 0 *:domain *:* LISTEN 2601/dnsmasq
tcp 0 0 *:ftp *:* LISTEN 2291/xinetd
tcp 0 0 localhost6.localdomain6:ipp *:*
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Email Set Up XTCHost Server Operation 5 6th September 2008 12:03
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29
fetchmail configuration lola Installation/Configuration 1 11th May 2005 10:57


All times are GMT +2. The time now is 15:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.