LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-23-2004, 09:07 AM   #1
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Rep: Reputation: 30
Unhappy HELP!!! Cannot send mails in SLACKWARE 9.1


I need help urgently regarding this topic.
I connect to the net using dialup connection through kppp. The sendmail daemon is started every time at boot. But i cannot send mails to my friends like someone@yahoo.com by using "mail someone@yahoo.com" at the command prompt. The mail gets sent if and only if the sendmail daemon is restarted after connecting to the net.

Please help as soon as possible.


Specs:
Intel P4 @ 1.7GHz
Slackware 9.1
External serial modem
 
Old 03-23-2004, 09:20 AM   #2
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
Have you got your ISP's dns server addresses in /etc/resolv.conf? I know that kppp can automatically find the dns server address so when using it there is no need for putting the dns address's in resolv.conf. Perhaps because the sendmail daemon is running before your connected it does not have a dns address to go thru.
 
Old 03-23-2004, 09:51 AM   #3
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Original Poster
Rep: Reputation: 30
So what entries must be in the /etc/resolv.conf ?
is this sufficient?

search one05.net
nameserver 61.1.128.65
nameserver 61.1.128.5
 
Old 03-23-2004, 10:24 AM   #4
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Original Poster
Rep: Reputation: 30
dopefish, that did it!!! thanks
i added the nameserver lines as mentioned in the above post and sendmail can send mails when i am connected to the net.

But now if i send a mail when offline, it will be lost!!
Is there any way by which mails that i write offline are sent as soon as i am connected to the net ?
 
Old 03-24-2004, 01:22 AM   #5
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
NP i dont actually use sendmail so i couldnt really answer that question check the man pages or something
 
Old 03-24-2004, 08:48 AM   #6
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 658

Original Poster
Rep: Reputation: 30
I removed sendmail, then installed postfix. now everything is working fine!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Users can't send mails hobz Linux - General 3 12-13-2004 09:44 AM
Can't send mails out to the internet gubak Linux - Networking 15 08-24-2004 06:54 AM
send mails with attachment ProXXXy Linux - Networking 2 08-18-2004 03:33 AM
sendmail doesnt send mails spank Linux - Newbie 12 01-07-2004 02:31 PM
how do I send and recieve mails locally? hpnadig Linux - Networking 10 01-04-2004 05:23 AM


All times are GMT -5. The time now is 04:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration