Binand Raj S. rearranged electrons thusly:
> ajay chaudhari forced the electrons to say:
> > "An error occurred while sending mail.
> > The mail server responded:
> > <[EMAIL PROTECTED]>.... Relaying denied
> > Please check the message recipients and try again"
> Put your lan network address in /etc/mail/access and restart sendmail.
> If your lan is 192.168.1.[1-254], then add the line
> 192.168.1 RELAY
You forgot the makemap ... oh wait, sorry, the /etc/rc.d/init.d/sendmail
restart thing rebuilds all the databases I believe.
FWIW, the best way to restart sendmail (esp on a box with live queues) is kill
-HUP `head -n1 /var/run/sendmail.pid` :)
--suresh
FWIW, here's a patch to the RH 6.x sendmail initscript by Per Hadeland, posted
to comp.mail.sendmail
--- /etc/rc.d/init.d/sendmail Thu Feb 17 23:51:21 2000
+++ /tmp/sendmail Thu Dec 21 21:19:18 2000
@@ -43,7 +43,7 @@
makemap hash /etc/mail/$i < /etc/mail/$i
fi
done
- daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
+ /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE)
RETVAL=$?
echo
--
Suresh Ramasubramanian <--> mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
----------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr