LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 12-11-2004, 01:49 AM   #1
uskulkarni
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
need urgent help on linux sendmail


Hello

I am running a DNS and Sendmail on my internal linux behind of Linux Firewall(Router) (Red Hat Linux 7.3).

I can send and received mail within internally network but uable to send mail to yahoo and hotmail (unale to send Internet).

Following is the my current configuration :-
Internal Sendmail (Linux) : 192.168.1.131 including FQDN DNS is yokohoma.sateri.com (so dns is working fine.) and mx record.
I had test using telnet 192.168.1.131 25 from client and from server. and set querytype=mx.(working fine.)

Following is the my sendmail.mc configuration :-
define(`SMART_HOST',`smjet.com')
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.131, Name=MTA')dnl
MAILER(local)
MAILER(smtp)
MAILER(procmail)dnl
Cwlocalhost.localdomain
Cwsateri.com
FEATURE(always_add_domain)dnl
FEATURE(masquerade_entire_domain)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
MASQUERADE_AS('sateri.com')dnl
MASQUERADE_DOMAIN(sateri.com)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl

Note : smjet.com is the ISP DNS Server.

/etc/mail/acess
192.168.1.131 RELAY (192.168.1.131 is the ip of internal sendmail server)
192.168.1. OK

/etc/mail/local-host
yokohoma.sateri.com

/etc/resolv.conf
nameserver 192.168.1.131
nameserver yokohoma.sateri.com

ISP - Linux Router - 192.168.1.98 --- eth0 is the internal LAN --------- eth1 is staitc IP (provided by ISP).

What I need to talk with ISP. What firewall rules i need to put in iptables.

Can anybody help out me to resolve this problem.

Please give a solution for this. Your help will more appreciate me.

Regards
Uday
 
Old 12-11-2004, 03:02 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 58
Welcome to LQ.

From your server can you get connected to your ISPs mail server with:
telnet smjet.com 25
 
Old 12-15-2004, 07:39 AM   #3
pushgopi
LQ Newbie
 
Registered: Dec 2004
Location: chennai
Posts: 2

Rep: Reputation: 0
Hi,

I got the same problem once
for that give your server ip in the relay. It will work .
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Configuration ( Urgent Help Required) taimoor111 Linux - Networking 2 11-10-2004 12:22 PM
Sendmail Configuration ( Urgent Help Required) taimoor111 Linux - Software 1 11-10-2004 02:10 AM
URGENT!!! Nead Help sendmail genie Linux - Networking 5 01-05-2004 04:19 AM
User Unknow at SendMail ??? URGENT Help ??? freddata Linux - Software 0 03-27-2003 10:15 PM
urgent! Please help (about sendmail or something else) nutecinc Linux - Security 4 01-08-2003 02:21 PM


All times are GMT -5. The time now is 08:52 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration