LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-18-2010, 03:14 AM   #1
yentha.valla
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
Configure Sendmail in RHEL 4.6


HI,
Am on Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

I need to configure Sendmail in my Linux Server.

1. edit /etc/mail/sendmail.mc

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

2.rebuild /etc/sendmail.cf from the revised /etc/mail/sendmail.mc thus:

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

3. Edit /etc/sysconfig/sendmail


DAEMON=yes
QUEUE=1h

4.And restart sendmail
cd /etc/mail
make
service sendmail restart

5.sendmail -v abc@gmail.com

Its working but going to spam ...

and morething

am not able to send to our company id..
sendmail -v abc@rbs.com


can u explain me .. y am not able to send to this is .. shud i edit anything in our mail server ..

Thanks

valla
 
Old 10-18-2010, 04:17 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
If your system does not have a static IP address, or if the IP does not reverse resolve, then gmail may take it as spam. As to why it is not able to send mails to your office id, you should check the log files for sendmail. You should get some idea where the messages are. Are they being differed, or your remote server is not allowing your server to send messages.
 
Old 10-18-2010, 06:24 AM   #3
yentha.valla
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
HI,

Thanks For quick reply

Where i can find the sendmail log file ...


Thanks

Valla
 
Old 10-18-2010, 06:31 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Usually you can find sendmail logs under /var/log/maillog files.

More links for sendmail how tos:
http://www.redhat.com/support/resour...WTO/book1.html
http://www.softpanorama.org/Commerci..._on_rhel.shtml

http://www.vglug.info/complete-sendm...ux-open-source
 
Old 10-20-2010, 02:00 AM   #5
yentha.valla
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
HI,


I found following error while sending mail to office id ..


Oct 20 09:15:32 rofdbs3 sendmail[14744]: o9K5CZBu012442: to=<v.adiga@reyami.com>, ctladdr=<applmgr@rofdbs3.reyamidbs.com> (501/502), delay=00:02:57, xdelay=00:00:01, mailer=esmtp, pri=210301, relay=cluster8a.eu.messagelabs.com. [85.158.139.211], dsn=4.0.0, stat=Deferred: 450 Requested action aborted [7.2] 20607, please visit www.messagelabs.com/support for more details about this error message.


I can send mail to gmail account from OS level .. As i mentioned earlier its going to spam .. how to correct it..


Thanks

Valla
 
  


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
configure Sendmail on RHEL 4.6 yentha.valla Linux - Newbie 2 09-29-2010 02:19 AM
How to configure sendmail in RHEL 5 abhijeetdutta Linux - Server 1 08-31-2009 09:41 PM
rhel-sendmail krilo6by Linux - Server 1 11-30-2008 06:19 AM
Sendmail works but only after "sendmail restart" on RHEL 5 Tralobyte Linux - Server 2 06-15-2008 03:19 AM
RHEL 4 and Sendmail Corrado Red Hat 1 09-01-2005 03:25 AM

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

All times are GMT -5. The time now is 09:38 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
Open Source Consulting | Domain Registration