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 |
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.
|
HI,
Thanks For quick reply Where i can find the sendmail log file ... Thanks Valla |
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 |
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 |
All times are GMT -5. The time now is 04:22 PM. |