Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you use a distribution like Redhat Fedora Core 1 or 2, sendmail and pop etc it is all on the distribution and ready to be ticked off (and installed). Even squirell web mail will work then (which is webmail ala hotmail)
Use webmin (google: webmin) to setup the mail server. it makes it easy.
If the users are on a local area network, you simply limit the IP addresses that can use sendmail to stop spammers using the server. If these users are dial up people using other ISPs it is harder since they might receive random IP addresses. If you want an open relay (no configuration whatsoever) it is easy to set up using sendmail and webmin, but spammers would love you, and the rest of the world hate you. But you can try to install AUTH using http://www.simpaticus.com/linux/howt...UTH-HOWTO.html or http://www.joreybump.com/code/howto/smtpauth.html . These will make users provide passwords when using pop etc also when sending mail. But some setup in each users Outlook express is required then (they have to tick off some options).
Thanks for your suggestions. Webmin is really a great tool!
However I, as a newbie, want to start a bit more complicated:
Well, I don't even know if this is possible with standard software, at all, or if this would need an application specifically written for this.
- 500 user mailboxes with messages should be forwarded automatically to the corresponding 500 mailboxes on another e-mail server.
- the existing mailservers do not actively push or pull messages from or to the other server. Message flow is only in one direction.
- If a Linux server is used to actively pull messages from the source mailbox and automatically forward the message to the destination mailbox, it shall not store any messages or copies.
- I would like to avoid setting up a (third) user account and mailbox (this time) on the Linux mail forwarding server for each of these 500 users. I would like to achieve the message pull and forward with just a single account on Linux.
- To make this flexible and managable, I guess the user information (source mailbox, password, destination mailbox) would have to be done via a database or at least one ASCII file.
Anybody any ideas if this can be done? Any hints how?
Hey, that is exactly the type of functionality I am looking for! Thanks!
Now my only problem is that the mails are not coming in automatically, but have to be actively pulled from another server. Can this be done via sendmail, too, or do I need fetchmail for this?
I.e. the messages are actively pulled from a POP3/IMAP mailbox and via sendmail automatically forwarded to a mailbox on another server?
I am looking to do something similar, except I have a large number of email aliases ( say I make an alias for amazon.com, calling it "joe-amazon@mydomain.org", and then in the aliases file, I map that address to it gets delivered to "joe@mydomain.org". Now say I give this alias out to someone, and I want email from them to the amazon.com alias to be forwarded to my cell phone address ( say, "124567890@att.mobile.com".
Is there a way to set this up? To recap, email from x to y gets forwarded to z.
In the end I used a standard SUSE distribution with FETCHMAIL and POSTFIX. I used WEBMIN to configure it.
I always wanted to use PHP to make a sort of self service page where every user enters his account and forwarding details if he wants to have a forwarding, but never found the time to actually do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.