Hi everyone. I'm having real problems with my sendmail setup. I've just installed 7.2 Pro (although this problem exists on 6.4 as well) on a "new" machine that is going to become my 'network services' machine (DNS, FTP, SMTP, etc.). I have the following problems: o I have a dialup connection, so the obvious choice for sendmail setup is "host with temporarily(sic) network connection". However, this leaves my machine as an open SMTP relay. Since I'm online 10+ hours a day, with a (relatively) high-speed ISDN connection, this is obviously not acceptable. If I choose "host with permanent network connection", sending mail is very slow, as I have to wait for it to time out on DNS requests. How can this be fixed? o When I choose "host with permanent network connection", the virtusertable does not work. I use it to re-write my outgoing username, (dsmith@ to David.Smith@), so I really want this feature. I posted this problem a while ago, and was told it was a problem with 6.4, but had been fixed in 7.0/1 (can't remember which). It still seems to be a bug in 7.2. Surely it could have been fixed by now? o The most bizarre problem: I use a masqueraded connection to the net, so I use Sendmail to re-write my domain address from the local name (machinename.djsnet) to my mail forwarding domain (ds-electronics.co.uk). This was working perfectly until I built the new DNS server. Now, when I try to send a mail, Sendmail tries to connect to my ISP and send with a rubbish domain name containing "*LOCAL*". The interesting thing about this is that it only happens if I have a working DNS zone for my local network (djsnet). If I break my DNS setup, sendmail works fine. It appears that it was only working before because my DNS setup was broken. I enclose a bounced mail. In case you're wondering: holly.djsnet is the local machine name demon.co.uk is my ISP gazpacho.demon.co.uk the name of my masqueraded machine on the internet ds-electronics.co.uk is my intended From: address - it is a mail forwarding service. TIA for any help...
From MAILER-DAEMON@ds-electronics.co.uk Thu Jun 28 11:05:22 2001 Return-Path: <MAILER-DAEMON> Received: from localhost (localhost) by holly.djsnet (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with internal id LAA17655; Thu, 28 Jun 2001 11:05:22 +0100 Date: Thu, 28 Jun 2001 11:05:22 +0100 From: Mail Delivery Subsystem <MAILER-DAEMON@ds-electronics.co.uk> Message-Id: <200106281005.LAA17655@holly.djsnet> To: dsmith@holly.djsnet MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="LAA17655.993722722/holly.djsnet" Subject: Returned mail: Data format error Auto-Submitted: auto-generated (failure) Status: RO Content-Length: 1421 Lines: 48
This is a MIME-encapsulated message --LAA17655.993722722/holly.djsnet The original message was received at Thu, 28 Jun 2001 11:05:21 +0100 from dsmith@localhost ----- The following addresses had permanent fatal errors ----- dave.smith@st.com ----- Transcript of session follows ----- ... while talking to post.mail.demon.net.:
MAIL From:<David.Smith@*LOCAL*.demon.co.uk> SIZE=70 <<< 501 <David.Smith@*LOCAL*.demon.co.uk>: domain missing or malformed 501 dave.smith@st.com... Data format error
--LAA17655.993722722/holly.djsnet Content-Type: message/delivery-status Reporting-MTA: dns; holly.djsnet Arrival-Date: Thu, 28 Jun 2001 11:05:21 +0100 Final-Recipient: RFC822; dave.smith@st.com Action: failed Status: 5.5.2 Remote-MTA: DNS; post.mail.demon.net Diagnostic-Code: SMTP; 501 <David.Smith@*LOCAL*.demon.co.uk>: domain missing or malformed Last-Attempt-Date: Thu, 28 Jun 2001 11:05:22 +0100 --LAA17655.993722722/holly.djsnet Content-Type: message/rfc822 Return-Path: <dsmith> Received: (from dsmith@localhost) by holly.djsnet (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id LAA17653 for dave.smith@st.com; Thu, 28 Jun 2001 11:05:21 +0100 Date: Thu, 28 Jun 2001 11:05:21 +0100 From: dsmith@holly.djsnet To: dave.smith@st.com Subject: test Message-ID: <20010628110521.C703@holly.djsnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i