SE11 Sendmail SmartHost with AuthInfo

Thread Tools Search this Thread
Operating Systems Solaris SE11 Sendmail SmartHost with AuthInfo
# 1  
Old 09-06-2011
Data SE11 Sendmail SmartHost with AuthInfo


I am trying to configure sendmail on my Solaris Express 11 box to relay mail through a SmartHost which requires authentication.

Anyone able to setting up such a scenario? Sendmail is complaining that authinfo.m4a is missing, which to my noob understanding, is a sendmail-macro?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

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 and are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. HP-UX

Sendmail on HP-UX?

Hello, our email server is HP-UX 11.31 and is running Sendmail and Cyrus-IMAP. We need to implement mail routing based on domain, for only a specific small group of domains. It sounds like /etc/mail/mailertable is the file where we put the routing information for each domain. I found this nice... (2 Replies)
Discussion started by: lupin..the..3rd
2 Replies

3. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

4. Solaris

How to change SMTP or smarthost

HI, I am new to unix . How to change the SMTP or smarthost in SUN OS unix . Please help me .... thanks in advance (1 Reply)
Discussion started by: julirani
1 Replies

5. Red Hat

sendmail help

Dear All how the root user i.e root@localhos.localdomain can be masqueraded in sendmail i want to masquerade the above to say Regards and thanks in advance (3 Replies)
Discussion started by: surfer24
3 Replies

6. UNIX for Advanced & Expert Users


Hi, Someone hacked into my computer a while back and turned me into a spambot.. I stopped the mailque and cleared it out and everything appeared to be fine, but now I am noticing that if I try to run sendmail, it just hangs.. and I am wondering, does anyone have any knowledge on sendmail and... (2 Replies)
Discussion started by: patrick99e99
2 Replies

7. UNIX for Dummies Questions & Answers


hi there, not sure if this has been discussed but can't seem to find any thread relating to my question. :confused: i have a AIX server and i'm writing some scripts. inside my script i'm using sendmail/ mailx to send out my output. but it seems i'm having some difficulties sending out. ... (9 Replies)
Discussion started by: lweegp
9 Replies

8. Programming


hi, i am using sendmail function to send the mail for mail client. when i am sending mime content with attaching with body for the images. the image is not displaying in the mail box. all the mime content stuff is displaying. all the headers are proper. hope the reply for this (0 Replies)
Discussion started by: nagineni
0 Replies

9. UNIX for Dummies Questions & Answers


Am runnning sendmail on a Linux box that has connection to 2 ISP. I use on ISP to send external email. How do i restrict sendmail to using the link to my email isp even when i have set my default gateway to my nonemail isp on the linux box? (0 Replies)
Discussion started by: skykay
0 Replies

10. UNIX for Dummies Questions & Answers

Using sendmail

I have AIX5.1 I was asked to set up a cron script to send a email containing a CSV file regularly to to a user from the AIX box .I have set up cron scripts for sure but I am not sure of using sendmail. I am not sure how to do this Or even how to send a email from it using sendmail which I believe... (4 Replies)
Discussion started by: rocker40
4 Replies
Login or Register to Ask a Question
sendmail(4)							   File Formats 						       sendmail(4)

sendmail,, - sendmail configuration files SYNOPSIS
/etc/mail/ /etc/mail/ DESCRIPTION
The and files are the configuration files for sendmail(1M). Starting with version 8.12 of sendmail, which was shipped with version 9 of the Solaris operating system, two configuration files are used for submission and transmission of mail, instead of only, as before. These are: Remains the principal sendmail configuration file. Used for the Mail Transmission Agent (MTA). Used for the Mail Submission Program (MSP). The MSP is used to submit mail messages. Unlike the MTA, it does not run as an SMTP daemon. The MSP does not require root privileges, thus the two-file model provides better security than the pre-sendmail 8.12 model, in which the MSP ran as a daemon and required root privileges. In the default sendmail configuration, sendmail uses, as indicated in ps(1) output. In ps output, you will observe two sendmail invocations, such as the ones below: /usr/lib/sendmail -Ac -q15m /usr/lib/sendmail -bd -q15m The first indicates the use of, with the client queue (/var/spool/clientmqueue) being checked--and, if needed, flushed--every 15 minutes. The second invocation runs sendmail as a daemon, waiting for incoming SMTP connections. As shipped, and, in particular,, are appropriate for most environments. Where a knowledgeable system administrator needs to make a change, he should use the following procedures. For 1. Change directories to the directory that contains the source files for the configuration files. # cd /etc/mail/cf/cf 2. Create a copy of the sendmail file for your system. # cp `hostname`.mc 3. Edit `hostname`.mc. Make changes suitable for your system and environment. 4. Run make to generate the configuration file. # /usr/bin/make `hostname`.cf 5. Copy the newly generated file to its correct location. # cp `hostname`.cf /etc/mail/ 6. Restart the sendmail service. # svcadm restart sendmail You must restart sendmail for file changes to take effect, as indicated in step 6. Steps 4 - 6 can be automated. See Automated Rebuilding of Configuration Files below. For 1. Change directories to the directory that contains the source files for the configuration files. # cd /etc/mail/cf/cf 2. Create a copy of the submit file for your system. # cp submit-`hostname`.mc 3. Edit submit-`hostname`.mc. Make changes suitable for your system and environment. 4. Run make to generate the configuration file. # /usr/bin/make submit-`hostname`.cf 5. Copy the newly generated file to its correct location. # cp submit-`hostname`.cf /etc/mail/ You do not need to restart sendmail for changes to to take effect. Steps 4 and 5 can be automated. See Automated Rebuilding of Configuration Files below. Enabling Access to Remote Clients The sendmail(1M) man page describes how the config/local_only property can be set to true or false to disallow or allow, respectively, access to remote clients for unmodified systems. Setting values for the following properties for the service instance svc:/network/smtp:sendmail results in automated (re)building of con- figuration files: path_to_sendmail_mc path_to_submit_mc The values for these properties should be strings which represent the path name of the .mc files referred to in steps 2 and 3 of both pro- cedures above. Recommended values are: /etc/mail/cf/cf/`hostname`.mc /etc/mail/cf/cf/submit-`hostname`.mc Each property, if set, results in the corresponding .mc file being used to (re)build the matching .cf file when the service is started. These properties persist across upgrades and patches. To prevent a patch or upgrade from clobbering your .cf file, or renaming it to .cf.old, you can set the desired properties instead. FILES
/etc/mail/cf/README Describes sendmail configuration files. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmr | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
make(1S), ps(1), sendmail(1M), svcadm(1M), attributes(5) System Administration Guide: Network Services SunOS 5.11 8 May 2008 sendmail(4)

Featured Tech Videos