Clarifying sendmail configuration - sendmail-client offline


 
Thread Tools Search this Thread
Operating Systems Solaris Clarifying sendmail configuration - sendmail-client offline
# 1  
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
# 2  
Old 04-14-2016
I think:
mail/mailx execs to sendmail in submit mode. If there is no sendmail client daemon running, it connects via port 25 to to the main sendmail daemon (MTA).
q1) mailx uses submit.cf but does not use clientmqueue.
q2) yes, by means of DNS MX and A/AAAA records, the MTA can connect to them via port 25.
# 3  
Old 04-16-2016
Quote:
Originally Posted by MadeInGermany
I think:
mail/mailx execs to sendmail in submit mode. If there is no sendmail client daemon running, it connects via port 25 to to the main sendmail daemon (MTA).
q1) mailx uses submit.cf but does not use clientmqueue.
q2) yes, by means of DNS MX and A/AAAA records, the MTA can connect to them via port 25.
Hi MadeinGermany,

Thanks for your reply.

Quote:
q1) mailx uses submit.cf but does not use clientmqueue.
Do you mean that mailx direclty send to the sendmail MTA daemon (without going to the clientmqueue) ?

Regards,
Noob
# 4  
Old 04-16-2016
Yes I think so. It execs to sendmail in submit mode. There is no need to spool the mail because it runs in the foreground.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question