LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-17-2005, 10:37 PM   #1
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
postfix - fetchmail error


Hello,
I am getting the following error with fetchmail :

[root@saamail varun]# service fetchmail stop
[root@saamail varun]# fetchmail -v -f /etc/fetchmailrc
fetchmail:/etc/fetchmailrc:6: syntax error at poll
[root@saamail varun]# service fetchmail start
Starting Fetchmail services: fetchmail:/etc/fetchmailrc:6: syntax error at poll
[FAILED]


*********************************************

My /ect/fetchmailrc file :


# Put here each user config
set postmaster varun
set bouncemail
set no spambounce
set properties
poll mail.sriaurobindoashram.com with proto POP3
user 'varun' there with password '******' is 'varun' here
options fetchall antispam 501
poll mail.vsnl.net with proto POP3 interval 2
user 'varun_saa' there with password '********' is 'varun_saa' here
options fetchall antispam 501

****************************************************

Any idea why I am getting this error ?

Thanks

Varun
 
Old 09-18-2005, 03:23 PM   #2
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
Unsure

I can not see what is wrong with your config, but I thought I whould post mine that works just incease it would help:

Code:
# Configuration created Wed Sep 29 13:03:47 2004 by fetchmailconf
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 60
poll pop.mypop1.com with proto POP3
       user 'myuser' there with password 'mypass' is 'localuser' here options flush
poll pop.gmail.com with proto POP3 port 995
       user 'myname@gmail.com' there with ssl with password 'mypass' is 'localuser' here options keep
 
Old 09-18-2005, 09:22 PM   #3
varun_saa
Member
 
Registered: Dec 2004
Posts: 188

Original Poster
Rep: Reputation: 30
Thanks ,
It is " set properties "" ".
If you have " " after set properties it does not give any
error.

Though I have not that in any tutorials.

So do you have any explaination for that ?

Varun
 
Old 09-18-2005, 09:50 PM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
I don't have a set properties line at all, but I am using an old version in Mandrake 9.1 on my server. I wonder what function it has? A quick Google finds others with the same question and no definite answers, other than when present it should be set to ""
 
Old 09-25-2014, 05:07 AM   #5
dicky238hk
LQ Newbie
 
Registered: Aug 2014
Posts: 18

Rep: Reputation: Disabled
Red face why the keyword of "with"

Quote:
Originally Posted by hypexr View Post
I can not see what is wrong with your config, but I thought I whould post mine that works just incease it would help:

Code:
# Configuration created Wed Sep 29 13:03:47 2004 by fetchmailconf
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 60
poll pop.mypop1.com with proto POP3
       user 'myuser' there with password 'mypass' is 'localuser' here options flush
poll pop.gmail.com with proto POP3 port 995
       user 'myname@gmail.com' there with ssl with password 'mypass' is 'localuser' here options keep

Hi Experts,

I have no idea why to insert keyword 'with' I read other manual that the line can be written as:-
poll pop.gmail.com proto POP3 service 995
user 'myname@gmail.com' password 'mypass' is 'localuser' here ssl keep fetchall

Other doubt is any sequence of options? For example "ssl keep fetchall" is identical to "keep ssl fetchall"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetchmail & postfix quadfour Linux - Software 1 10-14-2005 05:29 PM
postfix - procmail, fetchmail varun_saa Mandriva 3 09-11-2005 12:53 AM
Postfix+fetchmail+DNS? DavidHayes Linux - Networking 4 01-29-2004 01:51 PM
Postfix+fetchmail+DNS? DavidHayes Linux - Networking 2 01-27-2004 07:50 AM
postfix sieve fetchmail mindcry Linux - Networking 1 10-22-2003 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration