[SLE] Sendmail help needed
I am trying to open a limited relay for sendmail 8.9. The SuSE 6.3 box is on a FQDN with an ip in the 168.58 range. The clients trying to use the mail are not on IP's that resolve with domain names and they are in the 172.16 IP range. I have added the ip 172.16 to the /etc/mail/access file and rehashed it according to directions on sendmail.org but it is still denying relay. Could someone be so kind as to offer suggestions for fixing this? -- 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/Doku/FAQ/
Jym & Sharon Brittain wrote:
I am trying to open a limited relay for sendmail 8.9.
The SuSE 6.3 box is on a FQDN with an ip in the 168.58 range. The clients trying to use the mail are not on IP's that resolve with domain names and they are in the 172.16 IP range.
I have added the ip 172.16 to the /etc/mail/access file and rehashed it according to directions on sendmail.org but it is still denying relay.
Did you restart sendmail? Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 -------------------------------------------------- -- 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/Doku/FAQ/
Did you restart sendmail?
Nick Of course
-- 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/Doku/FAQ/
You don't have to. Sendmail 8.9+ "notice" changes in the hash-files automagically. You only have to restart if you change the .cf. I would ensure that: a) FEATURE(access_db) is in your sendmail.mc file (which generated your sendmail.cf), and otherwise: b) send up a copy of the /etc/mail/access file, so we can have a look at it. D At 9:52 AM -0500 1/28/00, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
I am trying to open a limited relay for sendmail 8.9.
The SuSE 6.3 box is on a FQDN with an ip in the 168.58 range. The
clients trying
to use the mail are not on IP's that resolve with domain names and they are in the 172.16 IP range.
I have added the ip 172.16 to the /etc/mail/access file and rehashed it according to directions on sendmail.org but it is still denying relay.
Did you restart sendmail?
Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 --------------------------------------------------
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
my .cf file was part of the SuSE 6.3 install. SuSE doesnt install a .mc file. Any suggestions short of getting the source from sendmail.org? ----- Original Message ----- From: Derek J. Balling <dredd@megacity.org> To: <zentena@hophead.dyndns.org>; <brittain@ilinkusa.net> Cc: <suse-linux-e@suse.com> Sent: Friday, January 28, 2000 10:03 AM Subject: Re: [SLE] Sendmail help needed
You don't have to. Sendmail 8.9+ "notice" changes in the hash-files automagically. You only have to restart if you change the .cf.
I would ensure that:
a) FEATURE(access_db) is in your sendmail.mc file (which generated your sendmail.cf), and otherwise:
b) send up a copy of the /etc/mail/access file, so we can have a look at it.
D
At 9:52 AM -0500 1/28/00, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
I am trying to open a limited relay for sendmail 8.9.
The SuSE 6.3 box is on a FQDN with an ip in the 168.58 range. The
clients trying
to use the mail are not on IP's that resolve with domain names and they are in the 172.16 IP range.
I have added the ip 172.16 to the /etc/mail/access file and rehashed it according to directions on sendmail.org but it is still denying relay.
Did you restart sendmail?
Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 --------------------------------------------------
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
Dunno. You could TRY the SRPM and see if it includes the .mc they used in there (it SHOULD, from a philosophical standpoint, but there's nothing saying it has to). This falls into the "why real sysadmins don't use packages" religious argument. :) My personal answer would be "The best thing to do is go to sendmail.org and fetch the latest source, 8.10.0.Beta12, and run with it, since its great. YMMV D At 3:27 PM -0600 1/28/00, Jym & Sharon Brittain wrote:
my .cf file was part of the SuSE 6.3 install. SuSE doesnt install a .mc file. Any suggestions short of getting the source from sendmail.org?
----- Original Message ----- From: Derek J. Balling <dredd@megacity.org> To: <zentena@hophead.dyndns.org>; <brittain@ilinkusa.net> Cc: <suse-linux-e@suse.com> Sent: Friday, January 28, 2000 10:03 AM Subject: Re: [SLE] Sendmail help needed
You don't have to. Sendmail 8.9+ "notice" changes in the hash-files automagically. You only have to restart if you change the .cf.
I would ensure that:
a) FEATURE(access_db) is in your sendmail.mc file (which generated your sendmail.cf), and otherwise:
b) send up a copy of the /etc/mail/access file, so we can have a look at it.
D
At 9:52 AM -0500 1/28/00, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
I am trying to open a limited relay for sendmail 8.9.
The SuSE 6.3 box is on a FQDN with an ip in the 168.58 range. The
clients trying
to use the mail are not on IP's that resolve with domain names and they are in the 172.16 IP range.
I have added the ip 172.16 to the /etc/mail/access file and rehashed it according to directions on sendmail.org but it is still denying relay.
Did you restart sendmail?
Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 --------------------------------------------------
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####" is included in the sendmail.cf. So i assume it is being used. My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK -- 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/Doku/FAQ/
Jym & Sharon Brittain wrote:
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####"
is included in the sendmail.cf. So i assume it is being used.
My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK
Have you tried RELAY instead of okay? Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 -------------------------------------------------- -- 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/Doku/FAQ/
On Sat, 29 Jan 2000, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####"
is included in the sendmail.cf. So i assume it is being used.
My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK
Have you tried RELAY instead of okay?
Nick
Yes, I have. It didnt make any difference, I still got error 550, relaying denied -- 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/Doku/FAQ/
Jym & Sharon Brittain wrote:
On Sat, 29 Jan 2000, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####"
is included in the sendmail.cf. So i assume it is being used.
My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK
Have you tried RELAY instead of okay?
Nick
Yes, I have. It didnt make any difference, I still got error 550, relaying denied
Well the only difference between that and mine is I added the machine names also. So I've got a line : hophead RELAY Which is the machine behind the firewall. I put it in for a reason but it's been so long-( I also put the full IP addresses in. xxx.xxx.xxx. Maybe I got irrated and just decided to do it the hard way-) Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 -------------------------------------------------- -- 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/Doku/FAQ/
On Sat, 29 Jan 2000, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
On Sat, 29 Jan 2000, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####"
is included in the sendmail.cf. So i assume it is being used.
My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK
Have you tried RELAY instead of okay?
Nick
Yes, I have. It didnt make any difference, I still got error 550, relaying denied
Well the only difference between that and mine is I added the machine names also.
So I've got a line :
hophead RELAY
That's a problem, the machines on the 172.16 network do not have names. There is no DNS entry for them -- 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/Doku/FAQ/
IIRC, you HAVE to have revmaps working, unless somewhere else you conf() that out in your .mc (again, you don't have one, but that's the sendmail way of turning it off). If it can't do a revlookup, it will 4XX or 5XX the message, depending on the particular response it gets back from trying to do the lookup. (Host must resolve to accept the mail). Best bet is to set up, on your internal DNS server, a lookup table for the 172.16.0.0 network. Works great for me. :) D At 12:10 PM -0600 1/29/00, Jym & Sharon Brittain wrote:
On Sat, 29 Jan 2000, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
On Sat, 29 Jan 2000, Nick Zentena wrote:
Jym & Sharon Brittain wrote:
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####"
is included in the sendmail.cf. So i assume it is being used.
My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK
Have you tried RELAY instead of okay?
Nick
Yes, I have. It didnt make any difference, I still got error
550, relaying
denied
Well the only difference between that and mine is I added the machine names also.
So I've got a line :
hophead RELAY
That's a problem, the machines on the 172.16 network do not have names. There is no DNS entry for them
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
zentena@hophead.dyndns.org writes:
Jym & Sharon Brittain wrote:
"##### @(#)access_db.m4 8.8 (Berkeley) 5/19/1998 #####"
is included in the sendmail.cf. So i assume it is being used.
My /etc/mail/access file is as follows: # With this file you can control the access # to your mailserver, example: # # cyberspammer.com 550 We don't accept mail from spammers # okay.cyberspammer.com OK # sendmail.org OK # 128.32 RELAY # # Take a look at /usr/share/sendmail/README for a full description 127 OK 164.58 OK 172.16 OK tulsa-v-90-12.ilinkusa.net OK
Have you tried RELAY instead of okay?
Nick I had the same prob's, and found this on sendmail.org:
Note that the access database is a map and just as with all maps, the database must be generated using makemap. For example: makemap hash /etc/mail/access < /etc/mail/access This worked for me at once (though I had to reboot - As newbie I dont know how to reinitialise services :( ) But I got another problem related here: I wont relay more than about 2 Megs of attachment! How/where do I change this? finn
-- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 --------------------------------------------------
-- 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/Doku/FAQ/
-- 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/Doku/FAQ/
linus linus wrote:
This worked for me at once (though I had to reboot - As newbie I dont know how to reinitialise services :( )
Go to /etc/rc.d and first type: endmail stop sendmail start endmail restart should work but it never seems to for me.
But I got another problem related here: I wont relay more than about 2 Megs of attachment! How/where do I change this?
This is from /etc/sendmail.cf # maximum message size #O MaxMessageSize=1000000 Did you change this? If you want unlimited size make sure the # is in front. If you want a larger limit then but any number you want in. Nick I cut down the CC list. It was getting a little long-) -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 -------------------------------------------------- -- 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/Doku/FAQ/
Jym & Sharon Brittain wrote:
my .cf file was part of the SuSE 6.3 install. SuSE doesnt install a .mc file. Any suggestions short of getting the source from sendmail.org?
There are 2 .mc files in /etc/mail one of these should be what you want. /Michael -- 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/Doku/FAQ/
Very wierd. After i changed the access file, sendmail would not allow relaying. I tried today, 48 hours later, and all is fine. BTW, hophead.dyndns.org...do you homebrew? -- 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/Doku/FAQ/
participants (5)
-
brittain@ilinkusa.net
-
dredd@megacity.org
-
linux@acnord.dk
-
Michael.Salmon@uab.ericsson.se
-
zentena@hophead.dyndns.org