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]')

[other-destination-1]
type = Mboxrd
path = /var/spool/mail/alice
user = alice

[other-destination-2]
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/')
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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