[Dovecot] dovecot lda with fetchmail
hi all,
I'm new in dovecot, and i need to setup a machine that download emails from an external pop3 server, and delivers to my internal network via imap, for this , i want ( if possible ) to use fetchmail with the option mda to dovecot's deliver, because all user must be virtual users stored in a sqlite database, and my question is:
1- it is possible?? 2- theres a better way to do this?? 3- someone knows some howto about this configuration???
thanks for all
JC Júnior
JC Júnior wrote:
hi all,
I'm new in dovecot, and i need to setup a machine that download emails from an external pop3 server, and delivers to my internal network via imap, for this , i want ( if possible ) to use fetchmail with the option mda to dovecot's deliver, because all user must be virtual users stored in a sqlite database, and my question is:
1- it is possible?? 2- theres a better way to do this?? 3- someone knows some howto about this configuration???
I do this... sort of....
fetchmail --> sendmail --> procmail --> mbox/maildir storage <--> imap <--> pc client
Don Russell wrote:
JC Júnior wrote:
hi all,
I'm new in dovecot, and i need to setup a machine that download emails from an external pop3 server, and delivers to my internal network via imap, for this , i want ( if possible ) to use fetchmail with the option mda to dovecot's deliver, because all user must be virtual users stored in a sqlite database, and my question is:
1- it is possible?? 2- theres a better way to do this?? 3- someone knows some howto about this configuration???
I do this... sort of....
fetchmail --> sendmail --> procmail --> mbox/maildir storage <--> imap <--> pc client
Hi Don Russel, thank you for you answer...
but , i do not want to use sendmail or postfix, this must be a a very small system, and users information is on sqlite base, that postfix or sendmail does not support, i want to deliver from fetchmail direct to deliver ( if its is possible ).
thanks... JC júnior
JC Júnior wrote:
Hi Don Russel, thank you for you answer...
but , i do not want to use sendmail or postfix, this must be a a very small system, and users information is on sqlite base, that postfix or sendmail does not support, i want to deliver from fetchmail direct to deliver ( if its is possible ).
thanks... JC júnior
I use fetchmail's --mda option with deliver and sieve to push mail around with no issues.
Regards
James Turnbull
-- James Turnbull james@lovedthanlost.net
Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/)
Hardening Linux (http://www.amazon.com/gp/product/1590594444/)
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40)
James Turnbull wrote:
JC Júnior wrote:
Hi Don Russel, thank you for you answer...
but , i do not want to use sendmail or postfix, this must be a a very small system, and users information is on sqlite base, that postfix or sendmail does not support, i want to deliver from fetchmail direct to deliver ( if its is possible ).
thanks... JC júnior
I use fetchmail's --mda option with deliver and sieve to push mail around with no issues.
Regards
James Turnbull
Hi James , thanks for your answer....
This is axactly what i want ..... I using this line in /etc/fetchmailrc
poll pop.server.net protocol pop3 user "user1@server.net" there with password "foopass" mda "/usr/lib/dovecot/deliver -d mail -m /srv/mail/user1/"
Where /srv/mail/user1/ will be a maildir for user1, but user1 is not a system account, all maildirs is owned by mail user, and the user1 password is in a sqlite, but I have this error message:
"MDA retruned nonzero status 75"
Can you paste me you line???
Thanks for all ,
JC Júnior
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
JC Júnior wrote:
James Turnbull wrote:
JC Júnior wrote:
Hi Don Russel, thank you for you answer...
but , i do not want to use sendmail or postfix, this must be a a very small system, and users information is on sqlite base, that postfix or sendmail does not support, i want to deliver from fetchmail direct to deliver ( if its is possible ).
thanks... JC júnior
I use fetchmail's --mda option with deliver and sieve to push mail around with no issues.
Regards
James Turnbull
Hi James , thanks for your answer....
This is axactly what i want ..... I using this line in /etc/fetchmailrc
poll pop.server.net protocol pop3 user "user1@server.net" there with password "foopass" mda "/usr/lib/dovecot/deliver -d mail -m /srv/mail/user1/"
Where /srv/mail/user1/ will be a maildir for user1, but user1 is not a system account, all maildirs is owned by mail user, and the user1 password is in a sqlite, but I have this error message:
"MDA retruned nonzero status 75"
Sorry - mine is much less complicated. I'm just delivering to a local user.
poll bastion.org with proto POP3 user john there with pass password options fetchall mda "/usr/lib/dovecot/deliver"
Regards
James Turnbull
James Turnbull james@lovedthanlost.net
Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/)
Hardening Linux (http://www.amazon.com/gp/product/1590594444/)
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGkrHL9hTGvAxC30ARAkZfAJ9ron34OIWz7p6v4lJBS35JctYwvQCg10Ko ZNdPbtSZFyjCdwws3I8yJqg= =51sc -----END PGP SIGNATURE-----
Thank you James...
At least i'm not doing nothing wrong !!
James Turnbull wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
JC Júnior wrote:
James Turnbull wrote:
JC Júnior wrote:
Hi Don Russel, thank you for you answer...
but , i do not want to use sendmail or postfix, this must be a a very small system, and users information is on sqlite base, that postfix or sendmail does not support, i want to deliver from fetchmail direct to deliver ( if its is possible ).
thanks... JC júnior
I use fetchmail's --mda option with deliver and sieve to push mail around with no issues.
Regards
James Turnbull
Hi James , thanks for your answer....
This is axactly what i want ..... I using this line in /etc/fetchmailrc
poll pop.server.net protocol pop3 user "user1@server.net" there with password "foopass" mda "/usr/lib/dovecot/deliver -d mail -m /srv/mail/user1/"
Where /srv/mail/user1/ will be a maildir for user1, but user1 is not a system account, all maildirs is owned by mail user, and the user1 password is in a sqlite, but I have this error message:
"MDA retruned nonzero status 75"
Sorry - mine is much less complicated. I'm just delivering to a local user.
poll bastion.org with proto POP3 user john there with pass password options fetchall mda "/usr/lib/dovecot/deliver"
Regards
James Turnbull
James Turnbull james@lovedthanlost.net
Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/)
Hardening Linux (http://www.amazon.com/gp/product/1590594444/)
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGkrHL9hTGvAxC30ARAkZfAJ9ron34OIWz7p6v4lJBS35JctYwvQCg10Ko ZNdPbtSZFyjCdwws3I8yJqg= =51sc -----END PGP SIGNATURE-----
participants (3)
-
Don Russell
-
James Turnbull
-
JC Júnior