Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Is it possible to have Sendmail on my Linux (Slackware) Machine to be configured so that I can connect to it from a Windows XP machine and send emails through my ISP Mailserver?
Would this be easy to configure, and does anybody have any hints on how I should do it?
The reason I want to do this is because I am writing an email encryption program for Windows and need to keep sending emails all the time for testing. Using Sendmail to connect to would give me the chance to test various functions without actually having connected to my ISP Mailserver, until the mail is actually sent.
I hope someone can give some advice on how to do this. I use Linux on and off and got quite into it at one time, I have tried configuring Sendmail but I always get something like 'Invalid Domain' or that it's rejected.
I couldn't find a file called >> sendmail.mc but I found one with the Extension .cf
I have just Downloaded and Installed Webmin and tried configuring Sendmail through it. I have addded my isp SMTP Host to Relay Domains. Would this be the right thing to do?
I am by no means a Professional or Expert Programmer, I just learn as I go along so please forgive me if I ask this Question.
Say if I wanted to connect to Sendmail via Outlook Express in Windows, what would the Sendmail SMTP Address be? The Username? The Password?
I need to have my Program connect to Sendmail so I can test and experiment with some codes. I want Sendmail to connect to the isp mailserver to send my test emails.
the cf is the big nasty scary config file. the mc is a configuration file used to create the big scary configuration file (sendmail is HARD to configure totally manually).
what you didn't wouldn't be the right thing, no. that presumably measn that mail for bob@mail.myisp.com would be allowed to pass through, which is not what you want. instead you want to say that any mail you wish to send should be given to mail.miyisp.com and they will sort the rest out. search again for a reference to a smart host or a smart relay.
as for using the sendmail server, the ip would be 127.0.0.1 on your local machine, and there is no username or password at all.
I have just added what you suggest to the sendmail.cf file which is in /etc/mail so it now looks exactly like this:
# "smart" relay host (may be null)
define('SMART_HOST', 'mailserver.com')dnl
I have tried to send an email through my test program in Windows using the routers ip, like 192.168.0.3 the Username and password I have Blank but I always get Socket Error # 10060
well if you put that line in your sendmail.cf you'll bust it completely and it'll be no use to man nor dog. apparently there's an option that says "Send outgoing mail via host" under webmin, change that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.