Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 8th, 2004, 08:16 AM
uskulkarni uskulkarni is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 uskulkarni User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need urgent help on sendmail

Dear All

I am running a DNS and Sendmail on my internal linux behind of Linux Firewall (Red Hat Linux 7.3).(sendmail for internal organization mailing itself).

I can send and received mail within internal network but not able to send mail to yahoo and hotmail (unable to send to internet).

Following is the my current configuration :-

Internal Sendmail (Linux) : 192.168.1.131 including FQDN DNS is sat.ctccomm.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.)

/etc/mail/acess
192.168.1.131 RELAY
192.168.1.0/24 OK
192.168.1.100 RELAY (windows client)

/etc/mail/local-host
sat.ctccomm.com

/etc/resolv.conf
nameserver 192.168.1.131
nameserver sat.ctccomm.com

ISP - Linux Router - 192.168.1.98

I want to send outgoing mail through linux router (internal sendmail forward outoging mail to linux router and router will forward to internet).

I tried to configure the say way but not able to send outgoing mail.

Can anybody help out me to resolve this problem. Exactly what i need to do in internal sendmail and Linux Router.

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

Regards
Uday Kulkarni

Reply With Quote
  #2  
Old December 9th, 2004, 06:54 PM
zerogravity zerogravity is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 5 zerogravity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
in /etc/mail/sendmail.mc make sure that your config reads

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

there is a nice little paragraph in there about that....

after you change that then do

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

and restart sendmail then try to send mail. if that fails post the tail of your maillog so I can see what is wrong

Reply With Quote
  #3  
Old December 10th, 2004, 12:49 AM
uskulkarni uskulkarni is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 uskulkarni User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile

[QUOTE=zerogravity]in /etc/mail/sendmail.mc make sure that your config reads

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

DAEMON_OPTIONS(`Port=smtp,Addr=192.168.1.131, Name=MTA') (192.168.1.131 is sendmail ip)

after you change that then do
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

I had run the above command while configuring the sendmail and my sendmail is working fine internally I can send and receive mail internally.

I want to send mail to Internet (yahoo/hotmail etc.)

My log :- (while i'm trying to sendmail from windows client using ms outlook).

Dec 10 17:34:42 yokohoma ipop3d[20264]: pop3 service init from 192.168.1.100
Dec 10 17:34:42 yokohoma ipop3d[20264]: Login user=uday host=[192.168.1.100] nmsgs=0/0
Dec 10 17:34:42 yokohoma ipop3d[20264]: Logout user=uday host=[192.168.1.100] nmsgs=0 ndele=0
Dec 10 17:34:46 yokohoma sendmail[20263]: iBAC4eq20261: to=<meuday79@yahoo.com>, ctladdr=<uday@sateri.com> (504/504), delay=00:00:05, xdelay=00:00:05, mailer=esmtp, pri=31871, relay=mx1.mail.yahoo.com. [64.157.4.78], dsn=5.6.0, stat=Data format error
Dec 10 17:34:46 yokohoma sendmail[20263]: iBAC4eq20261: iBAC4kq20263: DSN: Data format error
Dec 10 17:34:46 yokohoma sendmail[20263]: iBAC4kq20263: to=<uday@sateri.com>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31971, dsn=2.0.0, stat=Sent
Dec 10 17:35:01 yokohoma ipop3d[20272]: pop3 service init from 192.168.1.100
Dec 10 17:35:01 yokohoma ipop3d[20272]: Login user=uday host=[192.168.1.100] nmsgs=1/1
Dec 10 17:35:02 yokohoma ipop3d[20272]: Logout user=uday host=[192.168.1.100] nmsgs=0 ndele=1

sendmail server : yokohoma.sateri.com (192.168.1.131)
uday is username.

Thanking you for consideration. Your help will more appreciate me.

Reply With Quote
  #4  
Old December 10th, 2004, 08:04 AM
zerogravity zerogravity is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 5 zerogravity User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
try putting th dnl in front of that in the config file anyway. just to try, I do not have my option set like that I just have the dnl in front and I can send mail to you fine.

Also I see no DNS entry for yokohoma.sateri.com as your mail server.

A dig mx sateri.com just replied with sateri.com and I was unable to resolve yokohoma.sateri.com

so make sure you have a mx for yokohoma in your dns entry for that domain.

Reply With Quote
  #5  
Old December 11th, 2004, 03:53 AM
uskulkarni uskulkarni is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 uskulkarni User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
$TTL 86400
@ IN SOA yokohoma.sateri.com. hostmaster.sateri.com. (
5 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)

@ IN NS yokohoma.sateri.com.
@ IN MX 10 yokohoma.sateri.com.
IN A 192.168.1.131

localhost IN A 127.0.0.1
loghost IN CNAME localhost

yokohoma IN A 192.168.1.131
smtp IN CNAME yokohoma
pop3 IN CNAME yokohoma


Reverse Lookup :-
IN NS yokohoma.sateri.com
131 IN PTR yokohoma.sateri.com.

Note : I do not yet register my domain in Internet.
Is it required to register my domain in any domain hosted company. If yes...then which global ip needs to map with my domain name. As our ISP provde 8 global ip and 1 global ip is already assign to our linux router. 7 global are regmaining where are not using for any acvitity...should I use one of that ip or directly use linux router ip for domain register.

As per my experience outgoing mail do not require to register any domain in internet.

But still you help will more appreciate me.
regs
uday.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > need urgent help on sendmail


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway