Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-25-2003, 11:39 AM
|
#16
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
DNS problem???
cnjohnson,thanks for your quick reply first.
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??
Thanks in advanced. 
|
|
|
08-25-2003, 12:18 PM
|
#17
|
Member
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544
Rep:
|
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.
Cheers--
Charles
|
|
|
08-30-2003, 07:37 PM
|
#18
|
Newbie
Registered: Aug 2003
Posts: 6
Rep:
|
Re: Would somebody help?
goto /etc/mail/sendmail.mc
Is this line uncommented:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
If not, as is it is on RedHat 8, add 'dnl ' to the beginning of the line.
|
|
|
08-30-2003, 07:38 PM
|
#19
|
Newbie
Registered: Aug 2003
Posts: 6
Rep:
|
Re: Re: Would somebody help?
Quote:
Originally posted by kklier
goto /etc/mail/sendmail.mc
Is this line uncommented:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
If not, as is it is on RedHat 8, add 'dnl ' to the beginning of the line.
|
Oh yeah and then rebuild your sendmail.cf
|
|
|
08-31-2003, 11:29 AM
|
#20
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Rebuild sendmail.cf?
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.
|
|
|
09-01-2003, 06:54 AM
|
#21
|
Newbie
Registered: Aug 2003
Posts: 6
Rep:
|
Re: Rebuild sendmail.cf?
Quote:
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:
m4 your.mc.file > /etc/sendmail.cf
|
|
|
09-02-2003, 05:43 AM
|
#22
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
This error message is much more positive?!
kklier,I have got this NEW error message in the mail log.
Sep 2 17:43:42 192 sendmail[4799]: h829hf0f004799: to=myname@myisp.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30083,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h829hfL0004802 Message accepted for delivery)
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.....
Any suggestions are appreciated. 
|
|
|
09-05-2003, 10:46 PM
|
#23
|
Member
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472
Original Poster
Rep:
|
Ultimately successful!
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? 
|
|
|
10-06-2006, 10:39 AM
|
#24
|
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,496
Rep:
|
Can anyone help with this? I will also try some of the suggestions here, but anything else? My problem could be completely different.
http://www.linuxquestions.org/questi...d.php?t=489553
|
|
|
08-17-2007, 09:22 AM
|
#25
|
Member
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87
Rep:
|
Quote:
Originally Posted by Swift&Smart
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.
Last edited by ArcLinux; 08-17-2007 at 09:25 AM.
|
|
|
08-17-2007, 12:16 PM
|
#26
|
Member
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581
Rep:
|
WOW. I hope the OP hasn't been waiting 4 years for your reply.
Cheers.
|
|
|
11-09-2008, 03:00 PM
|
#27
|
Member
Registered: Feb 2004
Posts: 44
Rep:
|
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 :
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
then, I did "make -C /etc/mail"
Be carefull because now, everyone on your network can send emails using your server if you dont have some firewall rules.
|
|
|
All times are GMT -5. The time now is 06:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|