LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2003, 12:54 PM   #1
idscypher
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Sendmail wierd!


Hi all just a small problem i know that is something verry easy to resolve but cant see it know

right,
have all configured on pine the system everything ok.
can recieve emails from the outside to my system (with domain).
sending an email to myself on the system also works.

but cant send emails to the outside...

not blocking smtp 25 telnet etc

any ideias
tkz all
 
Old 09-15-2003, 02:16 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Check out masquerade and masquerade_all option in the sendmail.mc configuration file. That should get you started.

Cheers--
Charles
 
Old 09-15-2003, 02:39 PM   #3
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 457

Rep: Reputation: 41
Any diagnostics? A simple one: "cat <some text file>|mail -v <outside address>". It might give some hints.
 
Old 09-15-2003, 03:03 PM   #4
idscypher
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
following the advise of fsbooks give me this error

cat a.txt|mail -v my@hotmail.com
hotmail.com: Name server timeout
my@hotmail.com... Transient parse error -- message queued for future delivery
my@hotmail.com... queued

well server timeout wierd

cnjohnson
checking our advice tkz

any idea?
 
Old 09-15-2003, 07:31 PM   #5
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
If I am not mistaken, at the very least, you will need a line in your sendmail.mc file like this:

define(`SMART_HOST',`smtp.yourisp.com')

or

define(`SMART_HOST',`mail.yourisp.com')

You will also need something like:

MASQUERADE_AS(`yourisp.com. ')dnl
MASQUERADE_AS(yourisp.com)dnl

and

FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl

Lots to look at and tweak!

Cheers--
Charles
 
Old 09-16-2003, 02:31 AM   #6
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 457

Rep: Reputation: 41
You do have a good nameserver set up, yes?

what happens when you type: "dig mx hotmail.com"

or alternatively: "nslookup -querytype=MX hotmail.com"

Also, do you have any firewall rrules regarding port 53: domain server. People tend to be so concened with security these days that I have heard of people blocking their own domain server.
 
Old 09-16-2003, 05:38 AM   #7
idscypher
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
did the

dig mx hotmail.com
nslookup -querytype=MX hotmail.com

the output is ok cheking dns (53) also checking the sendmail.mc

tkz all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Wierd permissions NNP Debian 3 08-10-2005 11:53 AM
This is wierd.... Post Modern Linux - Software 1 10-17-2004 07:51 PM
really wierd problem mrchin Linux - Newbie 6 09-01-2004 05:33 PM
** WIERD STUFF Sendmail running But NOT installed Hacker maybe? ** DropHit Linux - Security 15 06-14-2004 12:32 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 12:47 PM


All times are GMT -5. The time now is 02:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration