Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 02-19-2002, 10:44 AM   #1
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, 03:01 PM   #2
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, 05:10 PM   #3
Registered: May 2001
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 103

Rep: Reputation: 15
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, 08:41 PM   #4
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, 09:41 PM   #5
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 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.


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

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

All times are GMT -5. The time now is 01:14 AM.

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