Sponsored Content
Operating Systems Solaris Clarifying sendmail configuration - sendmail-client offline Post 302970600 by javanoob on Friday 8th of April 2016 02:28:32 PM
Old 04-08-2016
Clarifying sendmail configuration - sendmail-client offline

Hi all,

I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.

In my current configuration,
  • the sendmail-client is disabled.
  • Both submit.cf and sendmail.cf are left as default untouch
  • I do not specified any mailhost in my host file.
Code:
 
 -bash-3.2$ svcs -a | grep sendmail
disabled       Feb_27   svc:/network/sendmail-client:default
online         Feb_27   svc:/network/smtp:sendmail

However, on doing a

Code:
 
 echo abc | mailx -v -s "test" test@testabc.com

I can still see my mailx sending mail to a local port (local sendmail daemon), before actually being forwarded out to the mailserver "testabc.com"


q1) if my sendmail-client is disabled, does mailx still use submit.cf in anyway and does it still push the mail to /var/spool/clientmqueueor it is send directly to the local sendmail daemon (listen at port 25) ?

does 1 send to port 25 1st and upon failure, goes into clientmqueue or it is another way round ?

q2) if I do not set a mailhost, and neither do I set any configuration in sendmail.cf, is it still normal to have the local sendmail daemon send out to the right mailserver "testabc.com" ? -- does that means it done a DNS lookup for mx record of "testabc.com" ?


Regards,
Noob
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sendmail configuration problems

First of all, Happy Holidays,Merry Xmas, Happy Hanakah, Happy Kwanzaa, Happy Mid Winter Festival, etc.(Forgive me if I left your holiday out) Anyway, here is my situation. I am setting up an email server at the job, and Sendmail is not cooperating. The error that I get on my RedHat 7.3 Dell... (5 Replies)
Discussion started by: Jody
5 Replies

2. HP-UX

Sendmail configuration - help needed

System is running HP-UX11 I need to configure sendmail, to send to a mail server of ours... Any help would be appreciated.... I will be using mailx (2 Replies)
Discussion started by: frustrated1
2 Replies

3. AIX

sendmail configuration

I am in the process of setting up a new AIX 5.2 machine. I am not normally an AIX admin so please excuse if this is a dumb question.... this being that I need to alter the sendmail config. I can easily diff the default sendmail.cf with an existing server's file and see where to make the changes I... (2 Replies)
Discussion started by: nzaixer
2 Replies

4. Linux

basic sendmail configuration

hi just i want someone to guide me through the basic configurations of sendmail "a local network" just i want to let user1@domain.com send e-mail to user2@domain.com Thanks in advance (1 Reply)
Discussion started by: a_elhoseeny
1 Replies

5. UNIX for Dummies Questions & Answers

Fresh sendmail configuration

I have a requirement to enable sendmail in all the servers in our lab. This is required in lots of cases like e-mail the server owner if any hardware error and if any application problems and so. Here my part is to confirm that it is possible to send e-mail to the system user from the server.e-mail... (2 Replies)
Discussion started by: testbedengr
2 Replies

6. AIX

AIX sendmail configuration

I want to configure sendmail on AIX 4 and 5 to send emails to a windows SMTP proxy server for distribution. Mail would be going from AIX to Windows but any return emails would be sent not AIX but to a default Windows return address. What variables in the AIX sendmail.cf file would need to be... (1 Reply)
Discussion started by: rahe
1 Replies

7. Emergency UNIX and Linux Support

Sendmail Configuration

Hi, We have a standalone Solaris 10 Server (no DNS is configured) from which we want email alerts to be triggered when there is any breaches in the disk utilization threshold levels. we would like to achieve this mailing through sendmail. Can any one explain the procedure to do so..??? ... (1 Reply)
Discussion started by: EmbedUX
1 Replies

8. Shell Programming and Scripting

sendmail configuration.

Hi All, I need to configure mail functionality which enable us to send mail to outside company network. I just came to know that we have to configure outbound mail host/relaying mail in sendmail.cf file. Can someone suggest me on what to change in sendmail.cf, what information is required... (0 Replies)
Discussion started by: ace_friends22
0 Replies

9. HP-UX

Sendmail Configuration

Hi All, Need help !. I am configuring SMTP server details in my sendmail.cf My SMTP server details are like MAC234.ad.compname.com, and i have configured my sendmail.cf with this address. But mail address is something like user1@compname.com. Now when i run the sendmail command, i get... (6 Replies)
Discussion started by: chpsam
6 Replies

10. HP-UX

Sendmail FAX configuration

I've been trying to send FAXs from an HP_UX server using sendmail via an Esker FAX server. However if I try to include FAX configuration details in the receipient address it fails. See following string for general format... (1 Reply)
Discussion started by: JohnMair
1 Replies
praliases(1)							   User Commands						      praliases(1)

NAME
praliases - display system mail aliases SYNOPSIS
praliases [-C configfile] [-f aliasfile] [key] DESCRIPTION
The praliases utility displays system mail aliases. When no key is given, praliases displays the current system aliases, one per line, in no particular order. The form is key:value. If a key is given, only that key is looked up and the appropriate key:value is displayed if found. OPTIONS
The following options are supported: -C configfile Specifies a sendmail configuration file. -f aliasfile Reads the specified file aliasfile instead of the default sendmail system aliases file. OPERANDS
The following operands are supported: key A specific alias key to look up. EXIT STATUS
The following exit values are returned: 0 Successful operation. >0 An error occurred. FILES
/etc/mail/aliases Default sendmail system aliases file /etc/mail/aliases.db Database versions of the /etc/mail/aliases file /etc/mail/aliases.dir Database versions of the /etc/mail/aliases file /etc/mail/aliases.pag /etc/mail/sendmail.cf Default sendmail configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ SEE ALSO
mailq(1), newaliases(1M), sendmail(1M), attributes(5) SunOS 5.10 29 Mar 2004 praliases(1)
All times are GMT -4. The time now is 05:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy