Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hello,
i am using getmail-4.7.3 for fetching mails from mail server to my internal server. I want to configure multiple users in one .rc file.
I done as following but it only fetches for last user in the list.
test.rc
[options]
verbose = 1
delete = true
[retriever]
type = SimplePOP3Retriever
server = xxx.xxx.xxx.xxx
port = 110
username = test@abc.com
password = test
[destination]
type = Maildir
user = vpopmail
path = /home/vpopmail/domains/abc.com/test/Maildir/
[options]
verbose = 1
delete = true
[retriever]
type = SimplePOP3Retriever
server = xxx.xxx.xxx.xxx
port = 110
username = test1@abc.com
password = test1
[destination]
type = Maildir
user = vpopmail
path = /home/vpopmail/domains/abc.com/test1/Maildir/
hello,
I can configure for single mail account, but how to add all mail users in a single file.
Thanks.
OK, you're basically asking for someone else to read the manual for you.
I'm too busy to do that. If someone else would write a config for you it could be the same as yours because you didn't provide enough information (logs, errors). The link I posted should have helped you enough. Could you first try to read it and then come back and tell us what went wrong or what didn't work + logs and other output?
It just occured to me that getmail might actually need to be started separately for each account. So if it does not work they way you're doing it now, then maybe you have to write different configs/rc-files and start getmail for each config telling it where it is located and its name.
I have read that documentation before you and configured the same. I think u have not read properly my question. First read this and then
try to post ur reply.
Thanks.
Quote:
Originally Posted by Worksman
OK, you're basically asking for someone els
e to read the manual for you.
I'm too busy to do that. If someone else would write a config for you it could be the same as yours because you didn't provide enough information (logs, errors). The link I posted should have helped you enough. Could you first try to read it and then come back and tell us what went wrong or what didn't work + logs and other output?
I am currently using different scripts for individual accounts and its working fine. If i merge all them into single file, then only mails for last account which is in the file are getting fetched.
Thanks.
Quote:
Originally Posted by Worksman
It just occured to me that getmail might actually need to be started separately for each account. So if it does not work they way you're doing it now, then maybe you have to write different configs/rc-files and start getmail for each config telling it where it is located and its name.
I am currently using different scripts for individual accounts and its working fine. If i merge all them into single file, then only mails for last account which is in the file are getting fetched.
Thanks.
What's wrong with that then? Write a script that calls all other scritps then.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.