Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
G'day. I am currently sorting out the mail system for a network but am unsure as to what program to use, and so would like to know if anyone can recommend anything.
It must
- recieve email from an external pop server for multiple people (user@domain.com where domain.com is the custom domain, and the external pop server is pop.isp.com)
- send email to an external smtp server for multiple people (ie from user@domain.com through smtp.isp.com)
the *from* sections should remain unchanged in either case
I need to allow bob to send an email, which then gets stored on the mail server, and then sent out to the internet when the mail server has internet access (not 24/7 access). if however the person bob is sending to, ie john@ajob.com, is on the lan, then the email need not be sent out to the internet but can be sent straight to them
the server must retrieve the emails from the external pop, pop.isp.com, for both bob and john, and forward them on to the respective people
Is there such a program arond? im sure there must be but i cannot find it. also is there any guides/how-to's, i have not a lot of linux exp
anyway all help would be appreciated if my description is unclear then ask for further expanation but i think its as clear as i can really make it atm :S
People usually don't set things up like this, because it would mean that your server would have to have a list of the POP passwords for each local user. Maintaining such a list would be a pain, unless you already use LDAP for authentication information on your network. But this can be done.
You need two things: a Mail Transfer Agent (MTA) and a POP client.
A MTA, such as sendmail or qmail, accepts mail being sent, attempts to deliver it, and enqueues it for later delivery if it cannot be delivered right away. That takes care of half the battle. Next you need a POP client, like fetchmail, that can periodically access POP mailboxes and inject the mail received from them into your local mail delivery system (which is probably the same MTA you use for outgoing mail).
i would recommend fetchmail and exim because i think out of all the mta's exim is by far the easiest to configure. but this imo is one of the single most hardest things to set up there is. i dont know of any newbie howto or documentation, all i can suggest is that you install some stuff and play around with some test accounts.
but this imo is one of the single most hardest things to set up there is
how reassuring well ill give exim a look at the moment i am trying to get the mta up before i sort out fetchmail or something. fetchmail dosent look that bad to set up, more a case of sorting out passwords and users, but the mtas ive looked at look about as easy to set up as an elephant on a pinhead hehe
I'll take a look there. Right now, I am trying to setup qpopper for pop3 and haven't decided what to use for smtp. My isp uses authenticated smtp so I am going to need an smtp that will handle authenticated smtp and I can't determine if Postfix will do it. Do you know?
Hay, are you in Bantam Indonesia? Cool, I'm in KL.
Yes, postfix will do it. you only need to add some line in main.cf and smtp authentication will on your way. but make sure you have install smtp-auth in your lin box.
You will find out that, it is very easy to setup postfix.
Can vouch for postfix. after 15 hours of tinkering and reading yesterday, it's awesome. And after all my digging the config is actually not that bad when you understand what's going on.
Using your main.cf file, I can send from the server to a user and the email can then be read with something like pine on the server. Now, the client machines can’t send. I get the following error:
The connection to the server has failed. Account: 'dakota', Server: 'dakota.leapp.office', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket Error: 10061, Error Number: 0x800CCC0E
It seems that the client machines can’t communicate with the PostFix at all!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.