LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2004, 11:50 AM   #1
MartijnBeekhuis
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: SlackWare
Posts: 2

Rep: Reputation: 0
SendMail Headache ! (& sleepless nights as well ;-))


Hi There,

i hope i ask a descent question here. i spent the last 5 days almost full time (and beyond) searching forums, doc's faq's the lot . but i can't get it right

i got a clean slackware 9.1 install with of course sendmail and bind defined at install

now, i have myhost.provider.nl AND mydomain.net coming out at my internet ip. now at my private network i decided to name the new slackware machine as following
sandcastle as hostname and mydomain.net as domain name (during installation (that would be the netconfig part)).
now when i send a test mail the following happens:
it is coming from root@sandcastle.mydomain.net
the other side smtp server can (of course) not resolve this domain name and therefor bounces the mail.

the most bizzare thing is that by coincidence i sent a test message from a clean redhat install, wich is by the way totally named incorrectly , namely, myredhat.provider.nl wich is totally wrong, but that message arrives properly ! if i look in the header i can see root@myredhat.provider.nl (myhost.provider.nl) <- CORRECT!

this is really driving me nuts, and totally lost in bind / dns documentation wich is a whole other quest (for next weekend probably :-) )

today i tried the following:
i edited my slackware box's resolv.conf with nameserver myredhat
now it sends out most mail, but the delivering mailservers that explicitly verify the sending domain (or perhaps run old software?) still bounce the mail
i can send to hotmail, but not to my company for example. the bouncing message states the same problem as above, could not resolve myhost.mydomain.net

ARGH!
i already tried MASQUERADE_ALL WITH all envelope statements using mc and m4 etc. but in the end i always seem to replace all with the original files !!

Hoping to have posted a descent question..

i'll have my breakdown now :-)
 
Old 03-22-2004, 11:56 AM   #2
MartijnBeekhuis
LQ Newbie
 
Registered: Mar 2004
Location: Netherlands
Distribution: SlackWare
Posts: 2

Original Poster
Rep: Reputation: 0
thinking wrong direction?

did i perhaps overrule that masquerade thing to soon?

on second thought, this should not really be that big a problem (?)

i must be able to run myhost with whatever localdomain name i specify during install, and instruct SENDMAIL how to send mail out with what names and such.

or not ?

i Guess this is where the PLEASE HELP part should be ;-)

T.I.A. & Regards,
Martijn Beekhuis
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail + restrictive iptables = headache flp Linux - Security 5 09-09-2004 06:35 PM
my sendmail/mailman headache htm Linux - Networking 4 05-13-2004 07:23 AM
KDE & Neverwinter Nights LizardMan Linux - General 31 06-04-2003 07:11 PM
Sendmail /etc/mail/virtusertable headache! katana Solaris / OpenSolaris 4 12-29-2002 12:21 AM
FYI: O'Reilly, DNS&BIND & Sendmail unSpawn Linux - Networking 3 06-06-2001 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration