April 20, 2024, 07:13:38 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: sendmail problem in local lan  (Read 7487 times)

Offline sekhar_vrc

  • Linux Noob !
  • *
  • Posts: 18
sendmail problem in local lan
« on: January 22, 2005, 03:44:51 AM »
Dear sir

                   I have installed sendmail on redhat linux 9.0
and modified sendmail.mc to do the relay from 192.168.0.1

but it always says that message is queued.

i.e the message will remailn in the queue but is not getting delivered.

******/var/log/mailllog         is enclosed for your reference

Jan 22 08:51:14 pc1 sendmail[12089]: alias database /etc/aliases rebuilt by rootJan 22 08:51:14 pc1 sendmail[12089]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
Jan 22 08:51:14 pc1 sendmail[12101]: starting daemon (8.12.8): SMTP+queueing@01:00:00
Jan 22 08:51:14 pc1 sm-msp-queue[12110]: starting daemon (8.12.8): queueing@01:00:00
Jan 22 08:54:25 pc1 sendmail[12160]: j0M3OPN4012160: from=tnk, size=36, class=0, nrcpts=1, msgid=<200501220324.j0M3OPN4012160@pc1.chandra.com>, relay=tnk@localhost
Jan 22 08:54:25 pc1 sendmail[12160]: j0M3OPN4012160: to=chandra@192.168.0.1, delay=00:00:00, mailer=esmtp, pri=30025, dsn=4.4.3, stat=queued
~
**********mailq -v output is enclosed below

               /var/spool/mqueue (11 requests)
-----Q-ID----- --Size-- -Priority- ---Q-Time--- --------Sender/Recipient--------j0M21FIb001164      769     750441 Jan 22 07:31 <tnk@192.168.0.1>
                 (host map: lookup (192.168.0.1): deferred)
                                                <tnk@192.168.0.1>
j0M1lrId000935     1800     751602 Jan 22 07:17 MAILER-DAEMON
                 (host map: lookup (192.168.0.1): deferred)
                                                <tnk@192.168.0.1>
j0M1lrIe000935     1809     751611 Jan 22 07:17 MAILER-DAEMON
                 (host map: lookup (192.168.0.1): deferred)
                                                <tnk@192.168.0.1>
j0M1lrIa000935     2579     752380 Jan 22 07:17 MAILER-DAEMON
                 (host map: lookup (192.168.0.1): deferred)
                                                <tnk@192.168.0.1>
j0M1lrIb000935     2666     752467 Jan 22 07:17 MAILER-DAEMON
                 (host map: lookup (192.168.0.1): deferred)
                                                <tnk@192.168.0.1>
j0M1lrIc000935     2667     752468 Jan 22 07:17 MAILER-DAEMON
                 (host map: lookup (192.168.0.1): deferred)
                                                <tnk@192.168.0.1>
j0LJGjPx002577      724     930441+Jan 22 00:46 <tnk@192.168.0.1>
                 (host map: lookup (192.168.0.1): deferred)
                                                <chandra@192.168.0.1>
"mailq.txt" 36L, 1786C                                        1,3-17        Top

***********************

from windows machine 192.168.0.2 i am able to send the mail to machine 192.168.0.1
i.e my sendmail server. but the messages are getting queued but not getting delivered.

********* /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
#localhost.localdomain          RELAY
#localhost                      RELAY
#127.0.0.1                      RELAY
192.168.0.1                     RELAY


******** /etc/mail/sendmail.mc the sendmail relay server ip address entry is as follows.
DAEMON_OPTIONS(`Port=smtp,Addr=192.168.0.1, Name=MTA')dnl


Please guide me
sekhar

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
sendmail problem in local lan
« Reply #1 on: April 16, 2005, 05:32:59 AM »
Please please check, whether ur pop3d/imapd is running.

If really stuck i suggest u to start all over again. That's faster than cracking ur head :)