Article View: comp.mail.sendmail
Article #3534Re: Sendmail broken - or my setup...
From: Jason A. Ramsey
Date: Wed, 05 Apr 2000 00:00
Date: Wed, 05 Apr 2000 00:00
196 lines
6790 bytes
6790 bytes
In your sendmail.mc file put an entry after your OSTYPE that says: DOMAIN(`mail.mydomain')dnl Then you'll need to make the appropriate additions to your sendmail.cw file. Hope that helps. -- regards, (o: jason :o) ---------------------//contact information//--------------------- jason a. ramsey jramsey@wsgi.com technical analyst windstar group, inc. http://www.wsgi.com windstar group : 2607 southeast blvd bldg a : spokane, wa 99223 voice: 509.444.8146 pager: 509.555.1212 facsimile: 509.535.8934 ----------------------------------------------------------------- "Anthony White" <hardware@movielink.net.au> wrote in message news:38EB8361.FE85C5FE@movielink.net.au... > WARNING: Long post, has lots of debug info > +=============================================+ > > Hi from a frustrated sendmail user... > > I have had a frustrating problem haunt me for weeks now. > > The problem can be seen below. Comments have been added between the > lines > in the debug output > > First run the command to give the output... > > /usr/lib/sendmail -v -q > > Output... > > Running QAA07616 (sequence 2 of 2) > ... Connecting to mail.guestmail.net. via esmtp... > 220 mail.guestmail.net ESMTP Sendmail 8.9.3/8.9.3; Wed, > 5 Apr 2000 07:51:26 +0800 (CST) > >>> EHLO netserv.my_domain.au > > First question, why does my EHLO reply give "netserv.my_domain" > when the server is set up as "mail.my_domain"? > > 250-mail.guestmail.net Hello my_domain [link_IP_address] > (may be forged), pleased to meet you > 250-EXPN > 250-VERB > 250-8BITMIME > 250-SIZE > 250-DSN > 250-ONEX > 250-ETRN > 250-XUSR > 250 HELP > >>> MAIL From: SIZE=185 > > Second question, why does my "MAIL From" show SIZE=185 rather than the > origen? > > 451 ... Sender domain must resolve > ... Deferred: 451 ... Sender domain must resolve > Closing connection to mail.guestmail.net. > >>> QUIT > 221 mail.guestmail.net closing connection > > The "sendmail.mc file" used to generate the "sendmail.cf". > > divert(-1) > dnl > dnl Lots of info about the m4 process... > dnl > include(`/usr/lib/sendmail-cf/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') > FEATURE(`smrsh',`/usr/sbin/smrsh') > FEATURE(mailertable) > FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable') > FEATURE(redirect) > FEATURE(always_add_domain) > FEATURE(use_cw_file) > FEATURE(local_procmail) > MAILER(procmail) > MAILER(smtp) > FEATURE(`access_db') > FEATURE(`blacklist_recipients') > MASQUERADE_AS(`my_domain') > MASQUERADE_DOMAIN(`my_domain') > FEATURE(masquerade_entire_domain) > FEATURE(masquerade_envelope) > 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 *removed by AW... > dnl FEATURE(`relay_based_on_MX') > > > Some tests that have been done: > ------------------------------- > > Our link IP address (The firewall gateway) has a reverse lookup set > on an external DNS (ISP) for the link address. The reverse > name is "my_domain". This does not seem to work. > > I have had the ISP set it to "mail.my_domain" and changed > "MASQUERADE_AS(`my_domain') to "MASQUERADE_AS(`mail.my_domain') > > With "MASQUERADE_AS(`mail.my_domain'), mail will send to domains that > do otherwise not work. However we can not receive mail or send mail > to other domains than the ones that do reverse lookup. > > > The DNS entries. > ---------------- > @ IN SOA netserv.my_domain. > root.netserv.my_domain. ( > 199911132 > 28800 > 7200 > 604800 > 86400 ) > ; > ;*** Name server records... > ;-------------------------- > IN NS netserv.my_domain. > ; > ;*** Mail server record (MX) > ;--------------------------- > IN MX 10 mail.my_domain. > ; > ;*** Start of records... > localhost IN A 127.0.0.1 > mail IN A 192.168.200.107 > netserv IN A 192.168.200.109 > > Reverse Zone... > --------------- > > @ IN SOA netserv.my_domain. > root.netserv.my_domain. ( > 200040101 ; serial > 28800 ; refresh > 7200 ; retry > 604800 ; expire > 86400 ); default_ttl > ; > ;*Name server reverse lookup > ;--------------------------- > IN NS netserv.my_domain. > ; > ;*Reverse lookup records... > ;-------------------------- > 107 IN PTR mail.my_domain. > 109 IN PTR netserv.my_domain. > > > What can I do to get my mail system working. Note that all mail arrives > > via port forwarding to an internal server (Netserv) and sends mail out > via > MASQ firewall. > > Also note that the "mail.my_domain" IP 192.168.200.107 is a 'virtual' IP > > on "eth0" on the server (The main IP is 192.168.200.109). > > > Is there a problem using virtual IP addresses on the server. Do I need > to > add "mail.my_domain" to "/etc/hosts" (It is in the DNS)? > > Any help would be welcommed, I am out of ideas... > > > Best regards > Anthony > > >
Technical Details
Message-ID:
<senqvss1rfg48@news.supernews.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38EB8361.FE85C5FE@movielink.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,3427cc8e158da143 X-Google-Attributes: gid102983,public X-Google-Thread: 10de99,3427cc8e158da143 X-Google-Attributes: gid10de99,public From: "Jason A. Ramsey" <jramsey@wsgi.com> Subject: Re: Sendmail broken - or my setup... Date: 2000/04/05 Message-ID: <senqvss1rfg48@news.supernews.com> X-Deja-AN: 607344233 References: <38EB8361.FE85C5FE@movielink.net.au> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Complaints-To: newsabuse@supernews.com Organization: Posted via Supernews, http://www.supernews.com X-MSMail-Priority: Normal Newsgroups: comp.mail.sendmail,aus.computers.linux