LinuxQuestions.org
Review your favorite Linux distribution.
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 11-14-2013, 07:07 AM   #16
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by TenTenths View Post
Post the line that begins
Code:
DS
from your sendmail.cf
# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

######################################################################
######################################################################
#####
##### SENDMAIL CONFIGURATION FILE
#####
##### built by root@GAIDL-5001.gai.net on Wed Nov 13 17:58:48 IST 2013
##### in /etc/mail
##### using /usr/share/sendmail-cf/ as configuration include directory
#####
######################################################################
#####
##### DO NOT EDIT THIS FILE! Only edit the source .mc file.
#####
######################################################################
######################################################################

##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ #####
##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ #####
##### setup for linux #####
##### $Id: linux.m4,v 8.13 2000/09/17 17:30:00 gshapiro Exp $ #####



-- VISUAL -- 1,1 Top
# envelope sender rewriting
#
SEnvFromSMTP
R$+ $: $>PseudoToReal $1 sender/recipient common
R$* :; <@> $@ list:; special case
R$* $: $>MasqSMTP $1 qualify unqual'ed names
R$+ $: $>MasqEnv $1 do masquerading


#
# envelope recipient rewriting --
# also header recipient if not masquerading recipients
#
SEnvToSMTP
R$+ $: $>PseudoToReal $1 sender/recipient common
R$+ $: $>MasqSMTP $1 qualify unqual'ed names
R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2

#
# header sender and masquerading header recipient rewriting
#
SHdrFromSMTP
R$+ $: $>PseudoToReal $1 sender/recipient common
R:; <@> $@ list:; special case

# do special header rewriting
R$* <@> $* $@ $1 <@> $2 pass null host through
R< @ $* > $* $@ < @ $1 > $2 pass route-addr through
R$* $: $>MasqSMTP $1 qualify unqual'ed names
R$+ $: $>MasqHdr $1 do masquerading


#
# relay mailer header masquerading recipient rewriting
#
SMasqRelay
1723,1 95%
#
# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

######################################################################
######################################################################
#####
##### SENDMAIL CONFIGURATION FILE
#####
##### built by root@GAIDL-5001.gai.net on Wed Nov 13 17:58:48 IST 2013
##### in /etc/mail
##### using /usr/share/sendmail-cf/ as configuration include directory
#####
######################################################################
#####
##### DO NOT EDIT THIS FILE! Only edit the source .mc file.
#####
######################################################################
######################################################################

##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ #####
##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ #####
##### setup for linux #####
##### $Id: linux.m4,v 8.13 2000/09/17 17:30:00 gshapiro Exp $ #####



##### $Id: local_procmail.m4,v 8.22 2002/11/17 04:24:19 ca Exp $ #####


##### $Id: no_default_msa.m4,v 8.2 2001/02/14 05:03:22 gshapiro Exp $ #####

##### $Id: smrsh.m4,v 8.14 1999/11/18 05:06:23 ca Exp $ #####

##### $Id: mailertable.m4,v 8.25 2002/06/27 23:23:57 gshapiro Exp $ #####

##### $Id: virtusertable.m4,v 8.23 2002/06/27 23:23:57 gshapiro Exp $ #####

##### $Id: redirect.m4,v 8.15 1999/08/06 01:47:36 gshapiro Exp $ #####

##### $Id: always_add_domain.m4,v 8.11 2000/09/12 22:00:53 ca Exp $ #####

##### $Id: use_cw_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $ #####


##### $Id: use_ct_file.m4,v 8.11 2001/08/26 20:58:57 gshapiro Exp $ #####


##### $Id: local_procmail.m4,v 8.22 2002/11/17 04:24:19 ca Exp $ #####

##### $Id: access_db.m4,v 8.27 2006/07/06 21:10:10 ca Exp $ #####

##### $Id: blacklist_recipients.m4,v 8.13 1999/04/02 02:25:13 gshapiro Exp $ #####

##### $Id: accept_unresolvable_domains.m4,v 8.10 1999/02/07 07:26:07 gshapiro Exp $ #####


##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ #####

# level 10 config file format
V10/Berkeley

# override file safeties - setting this option compromises system security,
# addressing the actual file configuration problem is preferred
# need to set this before any file actions are encountered in the cf file
#O DontBlameSendmail=safe

# default LDAP map specification
# need to set this now before any LDAP maps are defined
#O LDAPDefaultSpec=-h localhost

##################
# local info #
##################

# my LDAP cluster
# need to set this before any LDAP lookups are done (including classes)
#D{sendmailMTACluster}$m

Cwlocalhost
# file containing names of hosts for which we receive email
Fw/etc/mail/local-host-names

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM

# host/domain names ending with a token in class P are canonical
CP.

# "Smart" relay host (may be null)
DS192.168.0.125


# operators that cannot be in local usernames (i.e., network indicators)
CO @ % !

# a class with just dot (for identifying canonical names)
C..

# a class with just a left bracket (for identifying domain literals)
C[[

# access_db acceptance class
C{Accept}OK RELAY


C{ResOk}OKR


# Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains

# arithmetic map
Karith arith
# macro storage map
Kmacro macro
# possible values for TLS_connection in access map
C{Tls}VERIFY ENCR





# dequoting map
Kdequote dequote

# class E: names that should be exposed as from this host, even if we masquerade
# class L: names that should be delivered locally, even if we have a relay
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
C{E}root
C{w}localhost.localdomain



# my name for error messages
DnMAILER-DAEMON


# Mailer table (overriding domains)
Kmailertable hash -o /etc/mail/mailertable.db

# Virtual user table (maps incoming users)
Kvirtuser hash -o /etc/mail/virtusertable.db

CPREDIRECT

# Access list database (for spam stomping)
Kaccess hash -T<TMPF> -o /etc/mail/access.db

# Configuration version number
DZ8.14.4


###############
# Options #
###############

# strip message body to 7 bits on input?
O SevenBitInput=False

# 8-bit data handling
#O EightBitMode=pass8

# wait for alias file rebuild (default units: minutes)
O AliasWait=10

# location of alias file
O AliasFile=/etc/aliases

# minimum number of free blocks on filesystem
O MinFreeBlocks=100

# maximum message size
#O MaxMessageSize=0

# substitution for space (blank) characters
O BlankSub=.

# avoid connecting to "expensive" mailers on initial submission?
O HoldExpensive=False

# checkpoint queue runs after every N successful deliveries
#O CheckpointInterval=10

# default delivery mode
O DeliveryMode=background

# error message header/file
#O ErrorHeader=/etc/mail/error-header

# error mode
#O ErrorMode=print

# save Unix-style "From_" lines at top of header?
#O SaveFromLine=False

# queue file mode (qf files)
#O QueueFileMode=0600

# temporary file mode
O TempFileMode=0600

# match recipients against GECOS field?
#O MatchGECOS=False

# maximum hop count
#O MaxHopCount=25

# location of help file
O HelpFile=/etc/mail/helpfile

# ignore dots as terminators in incoming messages?
#O IgnoreDots=False

# name resolver options
#O ResolverOptions=+AAONLY

# deliver MIME-encapsulated error messages?
O SendMimeErrors=True

# Forward file search path
O ForwardPath=$z/.forward.$w:$z/.forward

# open connection cache size
O ConnectionCacheSize=2

# open connection cache timeout
O ConnectionCacheTimeout=5m

# persistent host status directory
#O HostStatusDirectory=.hoststat

# single thread deliveries (requires HostStatusDirectory)?
#O SingleThreadDelivery=False

# use Errors-To: header?
O UseErrorsTo=False

# log level
O LogLevel=9

# send to me too, even in an alias expansion?
#O MeToo=True

# verify RHS in newaliases?
O CheckAliases=False

# default messages to old style headers if no special punctuation?
O OldStyleHeaders=True

# SMTP daemon options
O DaemonPortOptions=Name=MTA

# SMTP client options
#O ClientPortOptions=Family=inet, Address=0.0.0.0

# Modifiers to define {daemon_flags} for direct submissions
#O DirectSubmissionModifiers

# Use as mail submission program? See sendmail/SECURITY
#O UseMSP

# privacy flags
O PrivacyOptions=authwarnings,novrfy,noexpn,restrictqrun

# who (if anyone) should get extra copies of error messages
#O PostmasterCopy=Postmaster

# slope of queue-only function
#O QueueFactor=600000

# limit on number of concurrent queue runners
#O MaxQueueChildren

# maximum number of queue-runners per queue-grouping with multiple queues
#O MaxRunnersPerQueue=1

# priority of queue runners (nice(3))
#O NiceQueueRun

# shall we sort the queue by hostname first?
#O QueueSortOrder=priority

# minimum time in queue before retry
#O MinQueueAge=30m

# how many jobs can you process in the queue?
#O MaxQueueRunSize=0

# perform initial split of envelope without checking MX records
#O FastSplit=1

# queue directory
O QueueDirectory=/var/spool/mqueue

# key for shared memory; 0 to turn off, -1 to auto-select
#O SharedMemoryKey=0

# file to store auto-selected key for shared memory (SharedMemoryKey = -1)
#O SharedMemoryKeyFile

# timeouts (many of these)
#O Timeout.initial=5m
O Timeout.connect=1m
#O Timeout.aconnect=0s
#O Timeout.iconnect=5m
#O Timeout.helo=5m
#O Timeout.mail=10m
#O Timeout.rcpt=1h
#O Timeout.datainit=5m
#O Timeout.datablock=1h
#O Timeout.datafinal=1h
#O Timeout.rset=5m
#O Timeout.quit=2m
#O Timeout.misc=2m
#O Timeout.command=1h
O Timeout.ident=0
#O Timeout.fileopen=60s
#O Timeout.control=2m
O Timeout.queuereturn=5d
#O Timeout.queuereturn.normal=5d
#O Timeout.queuereturn.urgent=2d
#O Timeout.queuereturn.non-urgent=7d
#O Timeout.queuereturn.dsn=5d
O Timeout.queuewarn=4h
#O Timeout.queuewarn.normal=4h
#O Timeout.queuewarn.urgent=1h
#O Timeout.queuewarn.non-urgent=12h
#O Timeout.queuewarn.dsn=4h
#O Timeout.hoststatus=30m
#O Timeout.resolver.retrans=5s
#O Timeout.resolver.retrans.first=5s
#O Timeout.resolver.retrans.normal=5s
#O Timeout.resolver.retry=4
#O Timeout.resolver.retry.first=4
#O Timeout.resolver.retry.normal=4
#O Timeout.lhlo=2m
#O Timeout.auth=10m
#O Timeout.starttls=1h

# time for DeliverBy; extension disabled if less than 0
#O DeliverByMin=0

# should we not prune routes in route-addr syntax addresses?
#O DontPruneRoutes=False

# queue up everything before forking?
O SuperSafe=True

# status file
O StatusFile=/var/log/mail/statistics

# time zone handling:
# if undefined, use system default
# if defined but null, use TZ envariable passed in
# if defined and non-null, use that info
#O TimeZoneSpec=

# default UID (can be username or userid:groupid)
O DefaultUser=8:12

# list of locations of user database file (null means no lookup)
O UserDatabaseSpec=/etc/mail/userdb.db

# fallback MX host
#O FallbackMXhost=fall.back.host.net

# fallback smart host
#O FallbackSmartHost=fall.back.host.net

# if we are the best MX host for a site, try it directly instead of config err
O TryNullMXList=True

# load average at which we just queue messages
#O QueueLA=8

# load average at which we refuse connections
[root@GAIDL-5001 mail]# vim sendmail.cf

O DefaultUser=8:12

# list of locations of user database file (null means no lookup)
O UserDatabaseSpec=/etc/mail/userdb.db

# fallback MX host
#O FallbackMXhost=fall.back.host.net

# fallback smart host
#O FallbackSmartHost=fall.back.host.net

# if we are the best MX host for a site, try it directly instead of config err
O TryNullMXList=True

# load average at which we just queue messages
#O QueueLA=8

# load average at which we refuse connections
#O RefuseLA=12

# log interval when refusing connections for this long
#O RejectLogInterval=3h

# load average at which we delay connections; 0 means no limit
#O DelayLA=0

# maximum number of children we allow at one time
#O MaxDaemonChildren=0

# maximum number of new connections per second
#O ConnectionRateThrottle=0

# Width of the window
#O ConnectionRateWindowSize=60s

# work recipient factor
"sendmail.cf" 1841L, 58592C 389,1 20%
 
Old 11-14-2013, 07:10 AM   #17
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
I just noticed this:Which MTA are you actually using?

I do believe that CentOS 6, like RHEL 6, uses postfix as the default MTA.
I have stopped postfix service now.
still cant send.
any log file which is required to see plz lemme know.
 
Old 11-14-2013, 07:13 AM   #18
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by sachin.davra View Post
I have stopped postfix service now.
You might have stopped postfix, but did you install sendmail and sendmail-cf?
 
1 members found this post helpful.
Old 11-14-2013, 07:18 AM   #19
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by sachin.davra View Post
Code:
# "Smart" relay host (may be null)
DS192.168.0.125
First I asked for the just the DS line, not your whole config.
Second, you were told in my first reply:

Quote:
Originally Posted by TenTenths View Post
Look in your sendmail.cf
Look for the lines:
Code:
# "Smart" relay host (may be null)
DS
Put the hostname of your relay host after the DS
If you are using an IP put it in []
Restart sendmail
See that bit: If you are using an IP put it in [] which you didn't do.

Good luck with solving this problem if you can't be bothered to do what's suggested.
 
3 members found this post helpful.
Old 11-14-2013, 07:54 AM   #20
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
First I asked for the just the DS line, not your whole config.
Second, you were told in my first reply:



See that bit: If you are using an IP put it in [] which you didn't do.

Good luck with solving this problem if you can't be bothered to do what's suggested.

now i am getting below given error.

Nov 14 19:11:18 GAIDL-5001 sendmail[18067]: rAEDfIqh018067: from=<root@GAIDL-5001.gai.net>, size=1376, class=0, nrcpts=1, msgid=<201311141341.rAEDfIUl018066@GAIDL-5001.gai.net>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Nov 14 19:11:18 GAIDL-5001 sendmail[18066]: rAEDfIUl018066: to=sachin.davra@global-analytics.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31110, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (rAEDfIqh018067 Message accepted for delivery)
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018067: to=<sachin.davra@global-analytics.com>, ctladdr=<root@GAIDL-5001.gai.net> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=121376, relay=192.168.0.125, dsn=5.1.2, stat=Host unknown (Name server: 192.168.0.125: host not found)
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018067: rAEDfIqh018069: DSN: Host unknown (Name server: 192.168.0.125: host not found)
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018069: to=<root@GAIDL-5001.gai.net>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32622, dsn=2.0.0, stat=Sent
 
Old 11-14-2013, 08:16 AM   #21
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
please use code tags for code, configs , errors and 'thi8ngs like that'
example

[code]
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018067: to=<sachin.davra@shamed.com>, ctladdr=<root@GAIDL-5001.gai.net> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=121376, relay=192.168.0.125, dsn=5.1.2, stat=Host unknown (Name server: 192.168.0.125: host not found)
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018067: rAEDfIqh018069: DSN: Host unknown (Name server: 192.168.0.125: host not found)
[/code]


Code:
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018067: to=<sachin.davra@shamed.com>, ctladdr=<root@GAIDL-5001.gai.net> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=121376, relay=192.168.0.125, dsn=5.1.2, stat=Host unknown (Name server: 192.168.0.125: host not found)
Nov 14 19:11:18 GAIDL-5001 sendmail[18069]: rAEDfIqh018067: rAEDfIqh018069: DSN: Host unknown (Name server: 192.168.0.125: host not found)
what do you think "Name server: 192.168.0.125: host not found"
might mean?

I think it means that the name server can't resolve 192.168.0.125
did you rebuild the config after correcting sendmail.mc to read
Code:
define('SMART_HOST', '[192.168.0.125]')dnl
???

confirm with

Code:
grep "^DS" sendmail.cf
( assumes you are in the same directory as sendmail.cf )
you should see
Code:
DS[192.168.0.125]
 
Old 11-14-2013, 08:26 AM   #22
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
confirm with

Code:
grep "^DS" sendmail.cf
( assumes you are in the same directory as sendmail.cf )
you should see
Code:
DS[192.168.0.125]
[/QUOTE]



Hi,

I entered like you told
define('SMART_HOST', '[192.168.0.125]')dnl

but when i rebuilt it
and check like grep "^DS" sendmail.cf
[root@GAIDL-5001 mail]# grep "^DS" sendmail.cf
DS
[root@GAIDL-5001 mail]#
 
Old 11-14-2013, 08:48 AM   #23
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
I think this is my fault


Code:
define(`SMART_HOST', `[RELAY_HOST_IP]')dnl
note the backticks ` and single quotes '

Code:
define(`SMART_HOST', `[192.168.0.125]')dnl
rebuild the config



and please, use code tags!
 
Old 11-14-2013, 09:09 AM   #24
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
you are telling
define(`SMART_HOST', `[192.168.0.125]')dnl

I did
define('SMART_HOST', '[192.168.0.125]')dnl

Still i dont understand what is the difference b/w them.

What can i try to get it work
 
Old 11-14-2013, 09:20 AM   #25
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
Quote:
Originally Posted by sachin.davra View Post
you are telling
define(`SMART_HOST', `[192.168.0.125]')dnl

I did
define('SMART_HOST', '[192.168.0.125]')dnl

Still i dont understand what is the difference b/w them.

What can i try to get it work
then I can't help you

I wish you luck....
 
2 members found this post helpful.
Old 11-14-2013, 09:22 AM   #26
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Firerat View Post
then I can't help you

I wish you luck....
Thnx for your effort.

---------- Post added 11-14-13 at 08:53 PM ----------

plz tell any logs, from where you could know the root cause of the issue.
 
Old 11-14-2013, 09:58 AM   #27
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by sachin.davra View Post
Thnx for your effort.

---------- Post added 11-14-13 at 08:53 PM ----------

plz tell any logs, from where you could know the root cause of the issue.
Spell out your words. And you have been told (repeatedly) in this thread how to solve the problem, but don't seem to want to do what's suggested. Since that's the case, no one here is going to be able to help you.

I suggest you go back to the beginning of this thread, and CAREFULLY read the replies, and UNDERSTAND them.
 
1 members found this post helpful.
Old 11-14-2013, 10:13 AM   #28
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Sendmail has its logs in /var/log folder. Check the logs.
 
Old 11-14-2013, 10:17 AM   #29
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Quote:
Originally Posted by TenTenths View Post
I must be "old-school", I've never bothered with sendmail.mc You're prefectly right though, your method does make more sense.
My method will make more sense for the OP who does not much know about the files and how to edit them and what the options are meant to be for. Someone with enough experience should be fine editing sendmail.cf manually. I have myself edited it manually for smart host options.
 
Old 11-15-2013, 12:35 AM   #30
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linuxlover.chaitanya View Post
Sendmail has its logs in /var/log folder. Check the logs.
I edited sendmail.mc and rebuilt it after addding smart host, then i restarted sendmail service. but when i open sendmail.cf i dont see my relay host entry in that file. if i add it mannually in sendmail.cf and then i restart the service. still it doesn't work. if you require any logs to check wht is the issue. plz lemme know. i will post that..
 
  


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
Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found eliassal Linux - Server 15 11-04-2010 01:09 AM
Sendmail Configuration Linuxadmn Linux - Newbie 1 11-26-2007 09:14 PM
Sendmail configuration JailBreak Linux - Networking 2 09-05-2007 08:48 AM
Sendmail Configuration arshad Red Hat 3 12-14-2003 12:11 AM
Sendmail Configuration TheDude074 Linux - General 1 08-07-2003 08:41 PM

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

All times are GMT -5. The time now is 06:44 PM.

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