Procmail to Zimbra

Ask questions about your setup or get help installing ZCS server (ZD section below).
13326Finn
Posts: 3
Joined: Fri Sep 12, 2014 9:55 pm

Procmail to Zimbra

Postby 13326Finn » Wed Sep 28, 2005 8:44 am

I'm setting up Zimbra@Home (as in home based service for friends and family)and using fetchmail to get messages from various pop and imap accounts. This seems to work with "is here" to deliver to the right mailbox. I'm trying to add hotmail using hotwayd (integrates into fetchmail as a proxy as far as I can gather) but it gives me socket=2 error. I guess this is something to do with the port usage and I just gave up.
Like a stupid newbie, I moved onto to gotmail that is a perl script for retreiving hotmail. It retreives the messages fine and puts them onto the default mbox. I then saw that it can pass the messages to procmail. All this is fine except I cannot figure out a way to deliver the messages to a specific mailbox in Zimbra. My mailbox in Zimbra is set-up as a non-local domain (existing email address).
I know this might be very stupid question, sorry if waisting time but this is clearly the first time I'm setting up a Linux mail server.
btw, best piece of Linux software I've seen so far, incredible easy to install and very feature rich. Brilliant !


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

Procmail to Zimbra

Postby 14319KevinH » Wed Sep 28, 2005 11:32 am

You could just use a perl module like Net::LMTP to deliver the mail into our server. Probally just need to re-write the TO: header to match your zimbra account. Also imap-utils from UW I think can read mbox and deliver over IMAP. So this would be another option.

17629anand
Zimbra Alumni
Zimbra Alumni
Posts: 273
Joined: Fri Sep 12, 2014 9:53 pm

Procmail to Zimbra

Postby 17629anand » Wed Sep 28, 2005 6:52 pm

looks like gotmail has a -s option to send the downloaded mail to an SMTP server to the address specified in -f. If my understanding of those options are right you should be able to just deliver into Zimbra via plain old SMTP.
13326Finn
Posts: 3
Joined: Fri Sep 12, 2014 9:55 pm

Procmail to Zimbra

Postby 13326Finn » Thu Sep 29, 2005 4:48 am

-f -s with gotmail did it. Thanks very much !

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 7 guests