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
dsmith@ds-electronics.co.uk wrote:
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.
Mmm, I would be very surprised if it does, what makes you think so?
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?
Square brackets around the smarthost or ip [], avoids DNS lookups.
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.
Well, this ain't sendmail setup:) Check if you've filled in the domains correctly, you may have forgotten to put a dot behind the entries: FQDN must have one dot. Unqualified should not have one.
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
-- 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/faq and the archives at http://lists.suse.com
-- - Cheers, Joost van der Lugt
* Joost van der Lugt (jvdl@sirius.com) [010629 12:13]: ->dsmith@ds-electronics.co.uk wrote: ->> ->> 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. -> ->Mmm, I would be very surprised if it does, what makes you think so? -> If he hasn't taken out the -bd switch in the arguments for starting Sendmail. This will leave him open to problems of an open port that accepts connections. By taking the -bd switch out..it will run as a daemon but it will only sendmail..not accept any other kind of connections. -- Ben Rosenberg mailto:ben@whack.org ----- The only argument for the superiority of Windows over UNIX is that General Protection Fault outranks Colonel Panic.
Ben Rosenberg wrote:
* Joost van der Lugt (jvdl@sirius.com) [010629 12:13]: ->dsmith@ds-electronics.co.uk wrote: ->> ->> 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. -> ->Mmm, I would be very surprised if it does, what makes you think so? ->
If he hasn't taken out the -bd switch in the arguments for starting Sendmail. This will leave him open to problems of an open port that accepts connections. By taking the -bd switch out..it will run as a daemon but it will only sendmail..not accept any other kind of connections.
It still shouldn't be an open relay, that's all turned off by default. (and yes Ben, sent you some extra copies too...you're welcome:)
-- Ben Rosenberg mailto:ben@whack.org ----- The only argument for the superiority of Windows over UNIX is that General Protection Fault outranks Colonel Panic.
-- 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/faq and the archives at http://lists.suse.com
-- - Cheers, Joost van der Lugt
* Joost van der Lugt (jvdl@sirius.com) [010629 13:54]: -> ->It still shouldn't be an open relay, that's all turned off by default. -> ->(and yes Ben, sent you some extra copies too...you're welcome:) -> How could I have done that since Mutt only has an address in the To: field..I didn't hit , + g for group. ;) Yeah, well..I was talking about people coming and in changing things to make it an open relay....no need to have it keep port 25 open if it's not accepting connections..just relaying for localhost :) -- Ben Rosenberg mailto:ben@whack.org ----- The only argument for the superiority of Windows over UNIX is that General Protection Fault outranks Colonel Panic.
On Fri, Jun 29, 2001 at 02:44:12PM -0700, Ben Rosenberg wrote:
Yeah, well..I was talking about people coming and in changing things to make it an open relay....no need to have it keep port 25 open if it's not accepting connections..just relaying for localhost :)
Damn list automatically replying to sender instead of list.... :-) I need to have sendmail listening on port 25 since my ISP delivers mail via SMTP. Also, this machine will eventually act as a mail relay for my LAN, not just localhost (although that's not implemented yet).
Stupid list automatically replying to author not list... :-) On Fri, Jun 29, 2001 at 12:12:40PM -0700, Joost van der Lugt wrote:
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.
Mmm, I would be very surprised if it does, what makes you think so?
Yast says "Anti-spam measures not available in deferred delivery mode" or something similar. Also, I tried telnetting to port 25, and it will relay mail without question.
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?
Square brackets around the smarthost or ip [], avoids DNS lookups.
Thanks, will try that.
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.
Well, this ain't sendmail setup:)
Check if you've filled in the domains correctly, you may have forgotten to put a dot behind the entries: [snip]
Since all my other domain lookups (nslookup, ping, ssh, etc.) work fine, I was thinking that it's not a problem with the DNS setup. ATM, I'm leaning towards a problem with my resolv.conf; I've got some things to try first, but if that doesn't work, I'll be back... Thanks for your help...
participants (3)
-
Ben Rosenberg
-
dsmith@ds-electronics.co.uk
-
Joost van der Lugt