Re: [SLUG] RE: Damn sendmail.mc and m4
On Thu, 19 Oct 2000, Jobst Schmalenbach wrote: > > define(`SMARTHOST', esmtp:)dnl > Shouldn't that be SMART_HOST? I got it from the sendmail book. tom. Consultant AUSSECPhone: 61 4 1768 2202 339 Blaxland Rd., Ryde NSW 2112 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] RE: Damn sendmail.mc and m4
On Thu, Oct 19, 2000 at 03:53:32PM +1100, tom burkart ([EMAIL PROTECTED]) wrote: > On Thu, 19 Oct 2000, Doug Stalker wrote: > > > I tried to do the same thing and failed - I ended up setting up DNS on > > our firewall and having the the system use that to do the lookups. > No problem with that. > > > Is it possible to set up a fake named that returns the relay hosts IP > > address for every lookup? Or would that break other applications? > You will break any other app that uses the DNS. > > define(`SMARTHOST', esmtp:)dnl > This should be all you need as sendmail passes it on to the smarthost for > delivery. (Remember it still needs to look up smarthost.domain in the > DNS). Shouldn't that be SMART_HOST? Jobst -- Educational software is like Science Fiction. It doesn't have to work, just look good. |__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director| | _ _.--'-n_/ Barrett Consulting Group P/L & The Meditation Room P/L | |-(_)--(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia| -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] RE: Damn sendmail.mc and m4
If you're happy to run without DNS, there is a setting in sendmail.cf - FallBackMXHost or similar - which can get around this (although it puts a few warnings in the log). Otherwise you could do it properly - compile sendmail without DNS or use the m4 option. Cheers, Marty -Original Message- From: Doug Stalker [SMTP:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 4:31 PM To: George Vieira Cc: Sydney Linux Users Group in Sydney (E-mail) Subject:Re: [SLUG] RE: Damn sendmail.mc and m4 George Vieira wrote: > > Now that I founnd the files needed I still get problems. I'm trying to get > rid of DNS lookups in sendmail and use a relay host. > I tried to do the same thing and failed - I ended up setting up DNS on our firewall and having the the system use that to do the lookups. Is it possible to set up a fake named that returns the relay hosts IP address for every lookup? Or would that break other applications? -- _ Network Operations Engineer - Big Pond Advance Satellite Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000 Ph: +61-416-085-390 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] RE: Damn sendmail.mc and m4
On Thu, 19 Oct 2000, Doug Stalker wrote: > I tried to do the same thing and failed - I ended up setting up DNS on > our firewall and having the the system use that to do the lookups. No problem with that. > Is it possible to set up a fake named that returns the relay hosts IP > address for every lookup? Or would that break other applications? You will break any other app that uses the DNS. define(`SMARTHOST', esmtp:)dnl This should be all you need as sendmail passes it on to the smarthost for delivery. (Remember it still needs to look up smarthost.domain in the DNS). tom. Consultant AUSSECPhone: 61 4 1768 2202 339 Blaxland Rd., Ryde NSW 2112 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] RE: Damn sendmail.mc and m4
George Vieira wrote: > > Now that I founnd the files needed I still get problems. I'm trying to get > rid of DNS lookups in sendmail and use a relay host. > I tried to do the same thing and failed - I ended up setting up DNS on our firewall and having the the system use that to do the lookups. Is it possible to set up a fake named that returns the relay hosts IP address for every lookup? Or would that break other applications? -- _ Network Operations Engineer - Big Pond Advance Satellite Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000 Ph: +61-416-085-390 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] RE: Damn sendmail.mc and m4
Now that I founnd the files needed I still get problems. I'm trying to get rid of DNS lookups in sendmail and use a relay host. I'm not sure exactly what's needed in the sendmail.mc file but I get these errors now. [EMAIL PROTECTED] citadelcomputer.com.au: Name server timeout [EMAIL PROTECTED] Transient parse error -- message queued for future delivery Sendmail site says to add FEATURE(`accept_unresolvable_domains')dnl FEATURE(`accept_unqualified_senders')dnl which I tried and create a new CF file and restarted etc..etc.. but to no avail. Is there something I've missed? thanks, George Vieira Network Administrator http://www.citadelcomputer.com.au PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C PGP KeyID: 0x38A9A10C -Original Message- From: tom burkart [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 19, 2000 2:14 PM To: George Vieira Subject: Re: [SLUG] RE: Damn sendmail.mc and m4 On Thu, 19 Oct 2000, George Vieira wrote: > Fixed.. Please ignore my last mail.. Got ya thinking as soon as you hit the send button? :-) tom. Consultant AUSSECPhone: 61 4 1768 2202 339 Blaxland Rd., Ryde NSW 2112 Email: [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] RE: Damn sendmail.mc and m4
Damn, happens all the time.. Fixed.. Please ignore my last mail.. thanks, George Vieira Network Administrator http://www.citadelcomputer.com.au PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C PGP KeyID: 0x38A9A10C -Original Message- From: George Vieira Sent: Thursday, October 19, 2000 3:07 PM To: Sydney Linux Users Group in Sydney (E-mail) Subject: Damn sendmail.mc and m4 Hi y'all, I had this problem before and can't find the information on how I fixed it but I need to turn off this DNS lookups with sendmail. (I think someone else had this problem before). I added into the MC file FEATURE(`accept_unresolvable_domains')dnl FEATURE(`accept_unqualified_senders')dnl as suggested and tried to recreated the .CF file using m4 /etc/sendmail.mc > /etc/sendmail.cf but gives an error /etc/sendmail.mc:11: m4: Cannot open /usr/lib/sendmail-cf/m4/cf.m4: No such file or directory I remember I was missing the M4 stuff and needed to rpm install it but can't find the file name on the RedHat CD. I have a /mnt/cdrom/RedHat/RPMS/m4-1.4-12.i386.rpm but it says it's installed already.. Aargh, I'm lost now... Can someone help? thanks, George Vieira Network Administrator http://www.citadelcomputer.com.au PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C PGP KeyID: 0x38A9A10C -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug