LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   postfix - fetchmail error (https://www.linuxquestions.org/questions/mandriva-30/postfix-fetchmail-error-364388/)

varun_saa 09-17-2005 10:37 PM

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

hypexr 09-18-2005 03:23 PM

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


varun_saa 09-18-2005 09:22 PM

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

Snowbat 09-18-2005 09:50 PM

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 ""

dicky238hk 09-25-2014 05:07 AM

why the keyword of "with"
 
Quote:

Originally Posted by hypexr (Post 1858789)
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"?


All times are GMT -5. The time now is 08:11 PM.