getmail (fetchmail-look-a-like) + cyrus
From: Corné (folidsafljisfdaljdsfaljdasflsadlij_at_turbonet.nl)
Date: 10/31/05
- Previous message: HDT Consulting: "Potwierdzenie rejestracji - krok 2/3"
- Next in thread: Corné: "Re: getmail (fetchmail-look-a-like) + cyrus"
- Reply: Corné: "Re: getmail (fetchmail-look-a-like) + cyrus"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 Oct 2005 15:06:30 +0100 (CET) To: debian-user@lists.debian.org
Hi,
Recently I installed a bells-and-whistles mailserver on a Debian Sarge
box, acoording to the howto at
http://www.web-cyradm.org/documentation/debian_sarge-cyrus-howto.pdf
It runs quite fine (using Postfix-mysql, Cyrus, Web-cyradm, ...) but now I
want to get some mail over pop3 (from my provider) and deliver it to a
mailbox on the debian box. Postfix is configured to deliver it's mail to
cyrus.
I found that fetchmail should be a bit insecure, so I decided to try
Getmail (http://pyropus.ca/software/getmail/). Should be easy to configure
too.
My idea is to forward the mail with smtp to localhost to a specified mail
address. Then the message should proceed the normal way (amavis virus and
spam filtering and deliver with cyrus). Because I only found procmail,
mailbox and maildir configurations for getmail on the internet, I tried to
use this home-brew configuration
Make a user getmailuser
In homedir, create ./getmail/getmailrc file
getmailrc file content section destination
[destination]
type = MDA_external
path = /usr/cyrus/bin/deliver
arguments = ("-m the.existing.cyrus.user")
when I try to run "getmail" as getmailuser, I get this error message:
Delivery error (command deliver 11252 error (75, couldn't connect to
lmtpd: Permission denied))
It also says the message is retrieved succesfully, but not delivered.
Running as root (with appropiate getmail options) isn't succesfull too:
Delivery error (command deliver 11260 error (127, exec of command deliver
failed (refuse to invoke external commands as root or GID 0 by default)))
The question: How to get getmail forward to smtp with a mail address, or
to cyrus (quite bad, because then no virusscanning is done)
TNX in advance, Corné
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: HDT Consulting: "Potwierdzenie rejestracji - krok 2/3"
- Next in thread: Corné: "Re: getmail (fetchmail-look-a-like) + cyrus"
- Reply: Corné: "Re: getmail (fetchmail-look-a-like) + cyrus"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]