Sorry for the delay. I have had some trouble with my isp and my internet connection. Here is what I am using for my sendmail.cf configuration. My email address is terry at ki5zw.ampr.org. However, this host is not given an ip address. Rather, I use an mx record which redirects mail to terry.busprod.com. Busprod.com is my present isp. Given my domain of ki5zw.ampr.org, I have several machines bhidden behind this domain as red.ki5zw.ampr.org, blue.ki5zw.ampr.org, green.ki5zw.ampr.org ... etc. My host red.ki5zw.ampr.org answers for the ki5zw.ampr.org domain as well as terry.busprod.com. my ki5zw.mc file: divert(-1) dnl This is the macro config file used to generate the /etc/sendmail.cf dnl file. If you modify thei file you will have to regenerate the dnl /etc/sendmail.cf by running this macro config through the m4 dnl preprocessor: dnl dnl m4 /etc/sendmail.mc > /etc/sendmail/cf dnl dnl You will need to have the sendmail-cf package installed for this to dnl work. include(`../m4/cf.m4') define(`confDEF_USER_ID',``8:12'') OSTYPE(`linux') undefine(`UUCP_RELAY') undefine(`BITNET_RELAY') define(`confAUTO_REBUILD') define(`confTO_CONNECT', `1m') define(`confTRY_NULL_MX_LIST',true) define(`confDONT_PROBE_INTERFACES',true) define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail') MASQUERADE_AS(ki5zw.ampr.org) FEATURE(`smrsh',`/usr/sbin/smrsh') FEATURE(masquerade_envelope) FEATURE(allmasquerade) FEATURE(always_add_domain) FEATURE(use_cw_file) FEATURE(use_ct_file) FEATURE(local_procmail) MAILER(procmail) MAILER(smtp) FEATURE(`access_db') FEATURE(`blacklist_recipients') dnl We strongly recommend to comment this one out if you want to protect dnl yourself from spam. However, the laptop and users on computers that do dnl not hav 24x7 DNS do need this. dnl FEATURE(`accept_unresolvable_domains') dnl FEATURE(`relay_based_on_MX') So, all mail sent from my red.ki5zw.ampr.org will be written as user at ki5zw.ampr.org. FOr the /etc/sendmail.cw file: terry.busprod.com red.ki5zw.ampr.org yellow.ki5zw.ampr.org green.ki5zw.ampr.org orange.ki5zw.ampr.org black.ki5zw.ampr.org white.ki5zw.ampr.org These are all hosts which sendmail treats as aliases for the local hostname and delivers mail addressed to these hosts as local mail. This all depends on having a static ip address for your real hostname (terry.busprod.com) with an mx dns record which points mail from ki5zw.ampr.org to terry.busprod.com. I saw a discussion about making this kind of setup work with a dinamic ip by updating the dns each time the address changes. In my opinion, this is a bad idea. first, name servers have a cache which does not get updated until a period of time. So, just because you update your local dns, other dns servers around the world will still have the old ip address. Second, each dns "a" record should have a corresponding "ptr" record. An "a" record maps a hostname to an ip address while a "ptr" record maps an ip address to a host. So, if you are not personally the owner of your ip address, there is no way for you to registor a "ptr" record. With this kind of setup and ppp configured with the demand option set, there is no reason to use a mail relay. Terry -----Original Message----- From: Holmes, Steve [mailto:SAHolmes@xxxxxxxxxxxxxxxxxx] Sent: Thursday, January 04, 2001 3:43 PM To: 'speakup at braille.uwo.ca' Subject: RE: dsl and sendmail Please do; I would be interested in seeing what you got. I do use the MASQUERADE_AS option to "hide" my local machine name but when it comes back in, Sendmail looks for that machine name or it ins up trying to send it back out; a mail loop would result but my virtual host's mail server catches that and stops it in its tracks. -----Original Message----- From: Klarich, Terry [mailto:terry.klarich@xxxxxxxxxx] Sent: Thursday, January 04, 2001 2:31 PM To: 'speakup at braille.uwo.ca' Subject: RE: dsl and sendmail I think you might want to look at the masqurade option. I have done what you are wanting to do; it does work. Also, I can send you my top-level m4 file if you want. Terry -----Original Message----- From: Holmes, Steve [mailto:SAHolmes@xxxxxxxxxxxxxxxxxx] Sent: Thursday, January 04, 2001 3:23 PM To: 'speakup at braille.uwo.ca' Subject: RE: dsl and sendmail I've spent considerable with the M4 macros and the creation of sendmail.cf files with my slackware 7.1 settup and very little is said directly about aliasing of incoming e-mail addresses. I'll take a look at sendmail.org in case they have something. I remember reading about some database stuff but it wasn't clear to me. I think it was actually related to a hash table or such but can't figure out how to build it. -----Original Message----- From: Klarich, Terry [mailto:terry.klarich@xxxxxxxxxx] Sent: Thursday, January 04, 2001 2:21 PM To: 'speakup at braille.uwo.ca' Subject: RE: dsl and sendmail If you have redhat installed, you want to make sure you have the sendmail-cf rpm loaded. Under /usr/lib/sendmail-cf(?) there are some sendmail m4 macros. Use these to build a custom sendmail.cf file. If you go to sendmail.org, there is complete documentation on these macros and how to build a sendmail.cf file. Terry -----Original Message----- From: Holmes, Steve [mailto:SAHolmes@xxxxxxxxxxxxxxxxxx] Sent: Wednesday, January 03, 2001 1:31 PM To: 'speakup at braille.uwo.ca' Subject: RE: dsl and sendmail I would like to jump in here with another sendmail question though not dealing with DSL yet. I have a machine, lnx1 configured to use my domain, holmesgrown.com; thus my machine address would be lnx1.holmesgrown.com. When I have mail coming in to me, I use an e-mail address such as steve at holmesgrown.com. Notice that lnx1 is removed. How do I configure sendmail on my machine to handle the incoming mail? What I've been doing lately is to use procmail and filter all mail I pop down with fetchmail and resend it to local users on my lnx1 box. I would like to find a cleaner way to do this. I think I need to do something with aliases for sendmail or set up a sendmail DBM file or something. Any ideas on how best to do this? -----Original Message----- From: Klarich, Terry [mailto:terry.klarich@xxxxxxxxxx] Sent: Wednesday, January 03, 2001 8:19 AM To: 'speakup at braille.uwo.ca'; SPEAKUP Distribution List Subject: RE: dsl and sendmail as root do a "sendmail -q -v" and see what you get. You should get some kind of error. Let me know what that is. Terry -----Original Message----- From: Raul A. Gallegos [mailto:raul@xxxxxxxxxxxx] Sent: Wednesday, January 03, 2001 7:00 AM To: SPEAKUP Distribution List Subject: dsl and sendmail Hi gang. I apologize for this off-topic message in advance but I'm at a loss as to what the problem could be. Yesterday I switched from using my rr.com cable modem to earthlink dsl. I've installed roaring penguin and have successfully connected to the net. I can surf just fine now. The problem is if I try to send mail through my Linux box sendmail is not sending any mail and this started when I switched from using the road runner to the dsl. The only thing I can think of is that because the dsl connection uses ppp0 instead of eth0 that might have something to do with it, but I can't put my finger on it. I'm using slackware 7.0 with some ugraded packages to 7.1. As I stated, this worked before and still does if I switch to the road runner cable modem but not with the ppp0 interface using dsl. Any ideas? I'm still using the default sendmail.cf which came with slcakware. I've nothad to modify it before. I've also kept my gallegos.asmodean.net name on the linux box which is how it was setup for rr.com and that part has not changed. Thanks. Raul A. Gallegos -- raul at asmodean.net msn id: ragallegos at hotmail.com -- icq: 5283055 http://www.asmodean.net _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup