LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-15-2006, 01:24 PM   #1
julot
Member
 
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
problem with sendmail over ppp - message queue stuck


Hi

I'd like to start using mutt, with sendmail and fetchmail. I've already configured and tested fetchmail. Besides, I connect to Internet using pppd, so my connection isn't permanent.

I thought it would be enough to start sendmail at boot time, so I did it, rebooted, wrote a message and then got connected to Internet. My message didn't got sent.

After that I shut down pppd and sendmail, modified the sendmail startup script and reduced the queue time (changed the -q param to -q2m), and tried again, starting sendmail first (as if it was done at boot time), and then connecting to internet, and waiting (to cover all doubts) 5 min. Nothing yet.

After googling a bit, I found that I should issue a "sendmail -q" when the ppp link goes up, so I putted that command in /etc/ppp/ip-up, added to ip-up exec permission and tried again. And nothing. In the mail log appears something like
Code:
Jul 15 13:24:15 abu sendmail[3507]: gethostbyaddr(201.217.196.253) failed: 2
sendmail (and besides, fetchmail) only works properly when I start it after getting connected (so I'm restarting sendmail in ip-up), but that is an unnecessary hack.

I've found the "sendmail -q" advice in several places, and I think the relevant question there is: how should I start sendmail at boot time to make it work properly?

Last edited by julot; 07-15-2006 at 01:25 PM.
 
Old 07-17-2006, 04:44 AM   #2
blackfin_srini
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
How to start a new thread????
 
  


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
send PID through message queue mariogarcia Programming 14 08-18-2006 09:51 AM
SendMail Queue Problem dunmarie Linux - Software 0 06-28-2005 07:34 AM
programming for message queue and such ... feetyouwell Programming 0 10-18-2004 04:54 PM
Qmail Message Queue dadepfan Linux - Software 0 07-22-2004 03:54 PM
Printer queue getting stuck tamim Linux - General 0 10-10-2003 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:49 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