LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-25-2003, 11:39 AM   #16
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
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.
 
Old 08-25-2003, 12:18 PM   #17
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
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
 
Old 08-30-2003, 07:37 PM   #18
kklier
Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
Re: Would somebody help?

Quote:
Originally posted by Swift&Smart
Hello,everyone. It's me again.

Would somebody help me solve this problem?I'm little bit in a hurry about this.Thanks.

I'm totally a and dummies on Sendmail.
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.
 
Old 08-30-2003, 07:38 PM   #19
kklier
Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
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
 
Old 08-31-2003, 11:29 AM   #20
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Arrow 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.
 
Old 09-01-2003, 06:54 AM   #21
kklier
Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
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
 
Old 09-02-2003, 05:43 AM   #22
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking 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.
 
Old 09-05-2003, 10:46 PM   #23
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
Talking 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?
 
Old 10-06-2006, 10:39 AM   #24
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
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
 
Old 08-17-2007, 09:22 AM   #25
ArcLinux
Member
 
Registered: Apr 2005
Location: Fargo, ND
Distribution: Slackware, CentOS
Posts: 87

Rep: Reputation: 20
Quote:
Originally Posted by Swift&Smart View Post
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.
 
Old 08-17-2007, 12:16 PM   #26
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
WOW. I hope the OP hasn't been waiting 4 years for your reply.

Cheers.
 
Old 11-09-2008, 03:00 PM   #27
vesperatus
Member
 
Registered: Feb 2004
Posts: 44

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Sendmail to relay all mail to my Exchange Server TimothyBoggess Linux - Newbie 8 04-18-2017 07:41 AM
how to send all mail through isp server with sendmail or? dlm4444 Linux - Wireless Networking 1 07-06-2005 04:07 PM
Mail Relay Server by using Sendmail raymond117 Linux - Security 2 05-11-2005 10:25 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
Sendmail relay mail problem Swift&Smart Linux - Software 15 10-30-2003 09:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration