LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-19-2002, 09:44 AM   #1
bdu
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
Angry Sendmail Problems


I have configured sendmail to handle internal and external mails over the network. Internal mails work fine. But the problem with external mails is that I can send external mails only when I am connected to internet. If not connected it gives following error:

Relaying temporarily denied. Cannot resolve PTR record for x.x.x.x

I have already enabled relay in /etc/mail/access and /etc/mail/relay-domains for 192.168.0.

Please HELP!!!
 
Old 02-19-2002, 02:01 PM   #2
Trev
LQ Newbie
 
Registered: Feb 2002
Location: South Africa
Distribution: Slackware 8, Debian 2, Mandrake 8
Posts: 5

Rep: Reputation: 0
Well that is suppost to do that, how can u send external emails if you aren't connected to the internet?
 
Old 02-19-2002, 04:10 PM   #3
Stingreen
Member
 
Registered: May 2001
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 104

Rep: Reputation: 15
Quote:
Well that is suppost to do that, how can u send external emails if you aren't connected to the internet?

yeah how?
 
Old 02-19-2002, 07:41 PM   #4
Scotty2435
Member
 
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
it may send them the next time you connect
 
Old 02-19-2002, 08:41 PM   #5
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
The DeliveryMode variable specifies how mail is to be sent. The default, b or background, will gather the message, verify the recipient is deliverable (which when offline, it's not and returns the error message you are getting), forks a copy of itself and delivers the message in the background. If you want all messages accepted and delivered later, change DeliveryMode in sendmail.cf to q for queue-only. The time between mail queue dumps is set with the -q option to sendmail. Keep in mind this only works when sendmail is run as a daemon. Well, not really. You can manually run sendmail periodically with the -q switch to dump the queue.

By the way, the only time any of the relay parameters mean anything is when your system is acting as a mail relay between two other systems. Has nothing to do with local users. Won't hurt though.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail problems stouffej Red Hat 4 02-04-2005 10:39 PM
Problems with sendmail... @ngelot Linux - Software 4 11-17-2004 03:06 AM
sendmail problems bdoster Linux - Networking 2 10-29-2004 01:24 PM
problems with sendmail baczer Slackware 0 07-23-2004 01:20 PM
problems with sendmail JLDixon Linux - Software 8 03-13-2004 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration