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.
By the way,I am attempting to figure out this problem on my own first.cnjohnson,do you think this problem is related to DNS problem?First of all,I don't have a DNS server.So,if I add DSmyisp.com to my sendmail.cf file,do you think my mail server knows how to send it out???Is it related to DNS server??
I rarely, if ever, work with the .cf file directly, since most of the problems I have faced have been solved through either the sendmail.mc file or one of the supporting files (alias, domaintable, mailertable, etc). That's why I encourage focussing there. If you are intent on working with the .cf file directly (BTW, it is generated from the .mc file ) then go out to Amazon.com and pick up the O'Reilly book on sendmail (the bat book IIRC).
Having said that, not having a DNS server available would cuase sendmail grief, but I think you have one...you are using a web-browser, and it needs one (DNS server), too.
So knowing how your .mc file is configured is important.
First off,kklier,thanks for your reply.Actually,I have built sendmail.cf from sendmail.mc.Everytime when I modify something,I vi the sendmail.cf and reboot the mail server.Should I modify everything from sendmail.mc first,and rebuild sendmail.cf??
Originally posted by Swift&Smart First off,kklier,thanks for your reply.Actually,I have built sendmail.cf from sendmail.mc.Everytime when I modify something,I vi the sendmail.cf and reboot the mail server.Should I modify everything from sendmail.mc first,and rebuild sendmail.cf??
Thanks a lot.
It looks like you are running RedHat. Most likely you should be able to change to /etc/mail and then run "make". If that is not the case, then you will have to:
Initially,I think that my mail has been sent out successfully.However,it didn't!!!The message above seems like very positive,"Message accepted for delivery".But.....
I don't know why I can send out the mail successfully now ,after I m4 sendmail.mc and add DSmail.myisp.com to sendmail.cf file.
However,I just want to figure out something.Everytime when I configure my mail server,should I m4 it to sendmail.cf again or simply modify sendmail.cf file???The procedure should be:
1.Configure my sendmail.mc first,and generate sendmail.cf,restart mail server.OR
2.Configure my sendmail.cf and restart mail server.
I hope you guys will give me some guidelines about this.Moreover,I can only send my mail to hotmail.com.Other mail address could not send out successfully.They are not stay in mqueue.....So,where did they go?
What's up,everyone! By the way,I have a thorny question (to me) regarding Sendmail relay.
I am using Sendmail as my MTA.However,my ISP blocks port 25.As a result,I cannot use my computer as a mail server.So,I intended to relay my mail to ISP mail server.The problem is that I don't know how to configure this complicated mail server.Would anyone give me some clue?
I am appreciative if anyone gives me suggestion.
Look up smart host and your all set.
define(`SMART_HOST',`mail.cableone.net')
something like that...
that will tell your mail server to use the ISP's mailer to send mail...
I consider it a cheat option.
btw: thats a definition in the sendmail.mc file if not otherwise known.
This is an OLD thread but actually Had this issue on my CentOS 5 box.
To solve it, I changed the DS ( in sendmail.cf ) field and the SMART_HOST ( in sendmail.mc ) field.
What I needed to do to allow other computer to connect was to change the DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl line in sendmail.mc to the following :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.