[opensuse] mailhost configuration question
Hello: This question is related to my previous one (help needed for setting up local mail server). I've read many docs and howtos on how to configure and set up different parts of the mail-delivering chain (exim/postfix, getmail, etc.). My current question applies to the mail host server which downloads messages from the ISP's pop/imap mailboxes, stores the messages, and the stored messages can be downloaded/viewed by LAN MUA clients. The manuals say that I have to set up a user and the messages will be downloaded for that user. But I don't want to add such user on my server. What is the way of configuring the downloader (eg getmail) if I don't want it to download the messages for a specific user? I'd like getmail to download the messages not in the name of a user but on its own to an arbitrary named mailbox folder (either mbox or maildir). Also I don't want to set up users on the server for those clients that can access these message folders . I want that the client authorize itself by login name/password on the mail server without the need of having a user login on the server. Is this possible? Briefly, just to make it clear: I want the server (getmail or fetchmail) download my messages from the mailbox user1@mail.isp.provider and store the messages in a mailbox folder named arbitrarily, eg "localuser1", without the need to add a user "localuser1" or user1" to the system. Then I want that these messages could be accessed by a MUA client (eg thunderbird through the server's pop3/imap server). Is this scenario possible? Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Istvan Gabor wrote:
etc.). My current question applies to the mail host server which downloads messages from the ISP's pop/imap mailboxes, stores the messages, and the stored messages can be downloaded/viewed by LAN MUA clients.
Perhaps for clarification - that is not the job for a mailhost, that is a job for e.g. fetchmail which might then feed the mails to your mailhost.
The manuals say that I have to set up a user and the messages will be downloaded for that user. But I don't want to add such user on my server. What is the way of configuring the downloader (eg getmail) if I don't want it to download the messages for a specific user? I'd like getmail to download the messages not in the name of a user but on its own to an arbitrary named mailbox folder (either mbox or maildir).
It's been a long time since I've had reason to play with fetchmail, maybe ten years, but I'm sure you can run fetchmail as root and have it fetch emails for an arbitrary account and store it anywhere. I don't know anything about getmail.
Also I don't want to set up users on the server for those clients that can access these message folders . I want that the client authorize itself by login name/password on the mail server without the need of having a user login on the server. Is this possible?
No. How can a client login with login name/password if the server doesn't know them?
I want the server (getmail or fetchmail) download my messages from the mailbox user1@mail.isp.provider and store the messages in a mailbox folder named arbitrarily, eg "localuser1", without the need to add a user "localuser1" or user1" to the system. Then I want that these messages could be accessed by a MUA client (eg thunderbird through the server's pop3/imap server).
Is this scenario possible?
Yes, but you'll have to use some sort of authentication mechanism. -- Per Jessen, Zürich (0.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, The users for which you are talking about must be virtual mail users (i.e. they need to have virtual mail accounts on your local mail server). There is no need they to be effective system users. Your IMAP/POP3 and Postfix servers will be the only ones aware of the existence of these users. As for the delivery of the downloaded emails. Look more deeply in the fetchmail,getmail manuals and see how the downloaded emails can be forwarded to your local MDA (e.g. /usr/lib/dovecot/deliver) which in turn have to deliver the mails in the correct directory of each vmail user. Good luck with the configuration. Best Regards, I. Petrov On 01/22/2015 09:08 PM, Istvan Gabor wrote:
Hello:
This question is related to my previous one (help needed for setting up local mail server).
I've read many docs and howtos on how to configure and set up different parts of the mail-delivering chain (exim/postfix, getmail, etc.). My current question applies to the mail host server which downloads messages from the ISP's pop/imap mailboxes, stores the messages, and the stored messages can be downloaded/viewed by LAN MUA clients.
The manuals say that I have to set up a user and the messages will be downloaded for that user. But I don't want to add such user on my server. What is the way of configuring the downloader (eg getmail) if I don't want it to download the messages for a specific user? I'd like getmail to download the messages not in the name of a user but on its own to an arbitrary named mailbox folder (either mbox or maildir).
Also I don't want to set up users on the server for those clients that can access these message folders . I want that the client authorize itself by login name/password on the mail server without the need of having a user login on the server. Is this possible?
Briefly, just to make it clear:
I want the server (getmail or fetchmail) download my messages from the mailbox user1@mail.isp.provider and store the messages in a mailbox folder named arbitrarily, eg "localuser1", without the need to add a user "localuser1" or user1" to the system. Then I want that these messages could be accessed by a MUA client (eg thunderbird through the server's pop3/imap server).
Is this scenario possible?
Thanks,
Istvan
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUwoDGAAoJEH8sJoKRFRU5Zf4P/iU7Ots/K6MFWI+Sy02/c9Or 4UyA5SV3B305Lojzu3N3w9kj1JEtDUpg5OUjZvDxVbR+40qzagwq4e0pp9ugtWpi MPma+PqJCptv1bfBqbLRW+fBFwIQvPkb8jP+DEQokzDHhPCbMLm8YTTSERF3hHwc zhjRXQ06nMucUtu9m9qQeXjH8caI1EW/ANh+g4ZrRDn0f98ZRQcqXalIN8FDOIde CO/RrNQT1Fv7kC2jEEst+EQ7+UnzZ1QrDI0gL8MQTn+1ZgwHqLJ/0P9eSM95LQEz UiuR0jqBDOqqg3CrbhzvdPLRnA2/NBvA+UYyWpIx56hQ2Gxoj61FJPHqeeiu4Qu4 ZcY2kRpmQm/QYlp64C11vwevl9KykPT8hDfHncmzWXaE8dvetjDkFXiBx6Ssb5Qf 1GbJDVuk99GQERuhbDfvBVb79yxJB09SO1hVzkVLXqJm2nTBK7HySSPIgjNfXo1/ GBZmoQ4BO+2suM0QPuk5IhuaVtwZ1KXHWHIOJXC4rMOsXMjcceNlvrWgDdhatSPj CpaC1gjfafAWp55MW6eJ+dH202jk2FlF9tu8EXD2eH8L4+ZUYxONykYZjklK7p5E c3PVYnl7HjIn17oL+QpDcLGhrxJDwMOofPw3NSV+8I4/10+OMNyKC1FgWwdHdqtB VANDrM/6e9mNoSg+b9su =Z4b3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
"I.Petrov" írta:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
The users for which you are talking about must be virtual mail users (i.e. they need to have virtual mail accounts on your local mail server). There is no need they to be effective system users. Your IMAP/POP3 and Postfix servers will be the only ones aware of the existence of these users. As for the delivery of the downloaded emails. Look more deeply in the fetchmail,getmail manuals and see how the downloaded emails can be forwarded to your local MDA (e.g. /usr/lib/dovecot/deliver) which in turn have to deliver the mails in the correct directory of each vmail user.
Good luck with the configuration.
Thank you, that's what I wanted to know. I will look into virtual virtual mail users. Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
I.Petrov
-
Istvan Gabor
-
Per Jessen