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.
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.
I have 2 newly built server. Now i want to connect these new server with mail server to send mail.
Please let us know in which configuration files i need to mention the mail server IP,port?
I have installed mutt package in the new server. Is there any other package (like client) need to install in the new server?
Generally, well behaved software will use the local MTA. You do not mention the mail software on either mail client or mail server other than the client piece mutt. We need to know the server piece to hazard an answer.
The classic software is sendmail, and the answer for that would be easy enough. The answer for procmail, exim, qmail, or other mail systems would differ.
In general, you want your mail server to accept forwarding requests from your client server. You also need your mail client server to use the mail server as a SMARTHOST. What mail path requirements you have will, to some extent, determined the level of complexity.
Can you provide more detail about your mail server software on both machines?
Generally, well behaved software will use the local MTA. You do not mention the mail software on either mail client or mail server other than the client piece mutt. We need to know the server piece to hazard an answer.
The classic software is sendmail, and the answer for that would be easy enough. The answer for procmail, exim, qmail, or other mail systems would differ.
In general, you want your mail server to accept forwarding requests from your client server. You also need your mail client server to use the mail server as a SMARTHOST. What mail path requirements you have will, to some extent, determined the level of complexity.
Can you provide more detail about your mail server software on both machines?
Hi,
I just installed mutt and sendmail package. Nothing did beyond that...
MUTT is used form the command line to communicate with your local MTA. It is user and script friendly, but does not (by default) talk to remote mail servers. While you can configure MUTT to work this way, the better answer is to get your LOCAL MTA to talk to the REMOTE MTA so that ALL mail clients work. For this you want to read up on sendmail to discover how to set the server to RELAY mail for your client server, and how to set the mail server as SMARTHOST in the configuration on the client server so it will use it to relay mail.
Note that using the MC configuration and MC tools is recommended. Even with those tools, advanced sendmail configuration is a pretty deep subject! (Lots of fun, if you have time to dig into it. Powerful stuff!) If the articles linked do not make sense, consider searching ("google is your friend") for additional information.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.