Configuring sendmail on SuSELinux 7.1
Hello, I am kind of new to linux. Though I have been using Linux on my laptop for some time for developing Java Applications, I never had a chance to configure a mailserver on Linux box. I want to set up a mail server at home. My understanding is to configure sendmail first and second install POP3 server like qpopper. When I try to set up sendmail on SuSE Linux 7.1, the SuSE handbook says to update rc.config for the following variables SENDMAIL_TYPE, SENDMAIL_HOST, SENDMAIL_SMARTHOST........, which I don't see'em in rc.config. Does anybody know of any on-line step-by-step instruction on configuring sendmail on SuSE7.1 with YaST1 or any other good source you think that I can benefit from.I did download sendmail. But, instruction that came with it were dispersed and daunting. Note: Is there any other product easier than this, commercially or non-commercially? Cheers..! Sundar
On Tue, Mar 20, 2001 at 10:23:08PM -0700, Sundar @eSaravana wrote:
Hello,
I am kind of new to linux. Though I have been using Linux on my laptop for some time for developing Java Applications, I never had a chance to configure a mailserver on Linux box.
I want to set up a mail server at home. My understanding is to configure sendmail first and second install POP3 server like qpopper.
When I try to set up sendmail on SuSE Linux 7.1, the SuSE handbook says to update rc.config for the following variables SENDMAIL_TYPE, SENDMAIL_HOST, SENDMAIL_SMARTHOST........, which I don't see'em in rc.config.
Does anybody know of any on-line step-by-step instruction on configuring sendmail on SuSE7.1 with YaST1 or any other good source you think that I can benefit from.I did download sendmail. But, instruction that came with it were dispersed and daunting.
The easiest way to configure sendmail is through yast. You select SystemAdministration->Network configuration->Configure sendmail The variables you are looking for have moved to /etc/rc.config.d/sendmail.rc.config You can change their values also through yast: System Administration->Change configuration file
Note: Is there any other product easier than this, commercially or non-commercially?
Look at postfix. Much easier to configure and understand than sendmail -Kastus
Cheers..! Sundar
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 21 March 2001 01:23, sundar@eSaravana.com wrote:
When I try to set up sendmail on SuSE Linux 7.1, the SuSE handbook says to update rc.config for the following variables SENDMAIL_TYPE, SENDMAIL_HOST, SENDMAIL_SMARTHOST........, which I don't see'em in rc.config.
You can edit them in yast, or you can edit '/etc/rc.config.d/rc.sendmail' and then run 'SuSEconfig' I found experimentally, that I had to create a list of domains I handle mail for in '/etc/mail/sendmail.cw' one per line. Create the file if it doesn't exist. 7.1 was the first distribution where I had to mess with stuff like that. I am happy that it's easy to enable the RBL, however. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6uLzBHYysNB5h3fIRAhgMAJ41APe+5RKOJm7BAs6wAWyOkGjqBACdEUx2 v3/USDCTarpxOICGoejfI20= =egu3 -----END PGP SIGNATURE-----
James Oakley wrote:
I found experimentally, that I had to create a list of domains I handle mail for in '/etc/mail/sendmail.cw' one per line. Create the file if it doesn't exist.
So what is SENDMAIL_LOCALHOST for in /etc/rc.config.d/sendmail.rc.config? No need to do experiments. Not even a need to find that file: The expert mode of yast and yast2 for sendmail configuration says "names for which to do local delivery", and since the expert mode is the only one where you can enter any values at all (the other choices are of course not for setting up a more-than-very-simple mailserver) you should have found it easily...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 21 March 2001 19:58, Michael Hasenstein wrote:
So what is SENDMAIL_LOCALHOST for in /etc/rc.config.d/sendmail.rc.config? No need to do experiments. Not even a need to find that file: The expert mode of yast and yast2 for sendmail configuration says "names for which to do local delivery", and since the expert mode is the only one where you can enter any values at all (the other choices are of course not for setting up a more-than-very-simple mailserver) you should have found it easily...
I set a bunch of names in that, assuming that they had to be actual hostnames. They were all aliases for my mail server. I didn't put the domains I handle in there. I didn't think it would be valid. Maybe the help should mention that you can put the domains you handle in there? - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6uMfRHYysNB5h3fIRAlesAJ9fHHD0LgGzl1AVha1TooQ4QtlJ1gCfYUyu AW0KV9K/z8Blny6WvoA2MUE= =VcNh -----END PGP SIGNATURE-----
James Oakley wrote:
I set a bunch of names in that, assuming that they had to be actual hostnames. They were all aliases for my mail server. I didn't put the domains I handle in there. I didn't think it would be valid.
Maybe the help should mention that you can put the domains you handle in there?
Well, you can argue that of course, but it doesn't say "hostnames" (I believe in the rc.config file it does, unofrtunately) in yast(2), but "local NAMES". And this is how it works. Sendmail doesn't care about hostnames and domainnames and all that stuff, all it does here is simple string comparisons. Therefore, anything you put here is valid. You could use any characters after the @ sign in email addresses as far as sendmail is concerned (well, maybe it has other places where it matters but I wouldn't think so) if it wouldn't be for DNS, which has to resolve those names.
participants (4)
-
James Oakley
-
Konstantin (Kastus) Shchuka
-
Michael Hasenstein
-
Sundar @eSaravana