getmail4 problem : invalid syntax in multidestination

In getmail4, I was having problem with my multi-destination configuration which was following,

destinations = ('[other-destination-1]', '[other-destination-2]')

type = Mboxrd
path = /var/spool/mail/alice
user = alice

type = Maildir
path = /home/joe/Maildir/
user = joe

It did not work and gave me following error.

             incorrect format (invalid syntax (, line 1))) .

Change this to following and it worked

destinations = ('~/Mail/inbox/', '~/Mail/archive/current/')

About Dilawar

Graduate Student at National Center for Biological Sciences, Bangalore.
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s