Fixed Re: Fw: [SLE] Sendmail question
Thanks Chad; I put put in 192.168.1 RELAY and then did makemap hash /etc/mail/access
----- Original Message ----- From: dog@intop.net To: Robert Barish Cc: suse-linux-e@suse.com Sent: Friday, February 22, 2002 6:03 PM Subject: Re: [SLE] Sendmail question
in /etc/mail/access delete all lines except 127.0.0.1 RELAY
and then do makemap hash /etc/mail/access < /etc/mail/access
then test it. if that doesnt work, then you need to rebuild your sendmail.mc file and include a line like FEATURE(`access_db', `hash -o /etc/mail/access.db')dnl
then rebuild your sendmail.cf file with m4 sendmail.mc > sendmail.cf
and then restart sendmail with the new .cf file
(make backups before doing any of this of your original .mc and .cf files)
You said:
How do I stop allowing sendmail to relay. Right now I was testing my sendmail configuration and found out I can relay through my mail server using other domains. Please Help. I can not seem to figure out how to close this obvious miss configuration in sendmail 8.11.6/8.11.3/SuSE Linux 8.11.1-0.5.
Thanks for the help.
-- Bob Barish
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com
On Saturday 23 February 2002 04.53, Robert Barish wrote:
Thanks Chad;
I put put in 192.168.1 RELAY and then did makemap hash /etc/mail/access
This can't possibly have done anything except corrupt the access config file. What you should have done is makemap hash /etc/mail/access.db < /etc/mail/access or is that what you did and you both did a typo? //Anders
On Friday 22 February 2002 20:16, Anders Johansson wrote:
On Saturday 23 February 2002 04.53, Robert Barish wrote:
Thanks Chad;
I put put in 192.168.1 RELAY and then did makemap hash /etc/mail/access
This can't possibly have done anything except corrupt the access config file. What you should have done is
makemap hash /etc/mail/access.db < /etc/mail/access
or is that what you did and you both did a typo?
//Anders
Sorry it was a typo? But thanks for catching it, just in case it wasn't. -- Bob
makemap hash /etc/mail/access.db < /etc/mail/access works and so does makemap hash /etc/mail/access < /etc/mail/access see http://www.sendmail.org/tips/relaying.html for more information. You said:
On Friday 22 February 2002 20:16, Anders Johansson wrote:
On Saturday 23 February 2002 04.53, Robert Barish wrote:
Thanks Chad;
I put put in 192.168.1 RELAY and then did makemap hash /etc/mail/access
This can't possibly have done anything except corrupt the access config file. What you should have done is
makemap hash /etc/mail/access.db < /etc/mail/access
or is that what you did and you both did a typo?
//Anders
Sorry it was a typo? But thanks for catching it, just in case it wasn't.
-- Bob
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com
On Monday 25 February 2002 14:59, dog@intop.net wrote:
makemap hash /etc/mail/access.db < /etc/mail/access works and so does makemap hash /etc/mail/access < /etc/mail/access
see http://www.sendmail.org/tips/relaying.html for more information.
It helps if the name of the database matches that set in sendmail.cf
From suse's default sendmail.cf
# Access list database (for spam stomping) Kaccess hash -o /etc/mail/access.db The page you link to gives generic information, which is rarely of much help with details like filenames that can vary wildly between distros //Anders
i use suse's default sendmail.cf file and the syntax that I have below and it works fine, has since i started using suse with version 6.1. You said:
On Monday 25 February 2002 14:59, dog@intop.net wrote:
makemap hash /etc/mail/access.db < /etc/mail/access works and so does makemap hash /etc/mail/access < /etc/mail/access
see http://www.sendmail.org/tips/relaying.html for more information.
It helps if the name of the database matches that set in sendmail.cf
From suse's default sendmail.cf
# Access list database (for spam stomping) Kaccess hash -o /etc/mail/access.db
The page you link to gives generic information, which is rarely of much help with details like filenames that can vary wildly between distros
//Anders
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com
On Monday 25 February 2002 15:31, dog@intop.net wrote:
i use suse's default sendmail.cf file and the syntax that I have below and it works fine, has since i started using suse with version 6.1.
And may I ask how your Kaccess line looks? //Anders
chadwick@work:~ > more /etc/sendmail.cf | grep Kaccess Kaccess hash -o /etc/mail/access.db You said:
On Monday 25 February 2002 15:31, dog@intop.net wrote:
i use suse's default sendmail.cf file and the syntax that I have below and it works fine, has since i started using suse with version 6.1.
And may I ask how your Kaccess line looks?
//Anders
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com
On Monday 25 February 2002 16:48, dog@intop.net wrote:
chadwick@work:~ > more /etc/sendmail.cf | grep Kaccess Kaccess hash -o /etc/mail/access.db
Yes, I'm sorry, you're right. I checked the source and noticed that the name is read as a map name and taken from sendmail.cf. If it doesn't match a registered mapname it's read as a file name. I had just read the docs and it didn't mention anything about this. Serves me right for trusting the docs, eh //Anders
participants (3)
-
Anders Johansson
-
dog@intop.net
-
Robert Barish