10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Not sure if this is the right place so I'm sorry if its not. I am setting up a new RHE server and trying to get sendmail to work correctly. Currently when I test sendmail I will recieve an email from (username@servermydomain.com.com) I have scoured the sendmail.cf and cannot find this anywhere.... (2 Replies)
Discussion started by: thumbelina
2 Replies
2. UNIX for Beginners Questions & Answers
Hi,
I am using sendmail.
I need to do the following: Send all internal emails to one relay, send to a particular external domain via a relay that required authentication.
Could someone please advise on configuration? I tried one possibility but it failed.
Posting "Does not work" without... (2 Replies)
Discussion started by: mojoman
2 Replies
3. Red Hat
I can send off network but can not send to anyone on network.
SitRep is this the legacy mail system at work is setup as 2 servers, one is the outbound server and /etc/aliases has a list of users to deliver the mail to another server.
for this instance we will call the 192.168.1.9(outgoing)... (4 Replies)
Discussion started by: sycomix
4 Replies
4. UNIX for Dummies Questions & Answers
We are running sendmail-8.13.4 on AIX.
I need to update the configuration and make sendmail act as a relay client only, meaning it will only be used to send mail out of the host and NOT accept mail.
Here is my client.mc config:
include(`/usr/samples/tcpip/sendmail/m4/cf.m4')... (5 Replies)
Discussion started by: c3rb3rus
5 Replies
5. Linux
Hi everybody,
for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings:
Voici mes fichiers de configuration:
-... (2 Replies)
Discussion started by: beloge2002
2 Replies
6. Shell Programming and Scripting
Hi,
I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail.
How to configure sendmail in linux?How to attach a file and send it as a mail from script?
Ahamed. (3 Replies)
Discussion started by: ahamed
3 Replies
7. AIX
Hi, folks!
I have a problem with an AIX 5.3 server running sendmail where
it is able to send messages within its own domain just fine. This
is being used for a web email service portion of a web site. However,
when it attempts to send email to any other domain -- i.e.,
hotmail.com -- it... (3 Replies)
Discussion started by: jjwood64
3 Replies
8. UNIX for Dummies Questions & Answers
Hi anyone knows how to Configuring Sendmail on /usr/lib/mail/cd on solaris 9?
i cannot find the sendmail.mc file and i not able to use m4 to compile!
Pls help Thanks
Summer (3 Replies)
Discussion started by: summerpeh
3 Replies
9. UNIX for Dummies Questions & Answers
Hello
Please someone guide me to configure sendmail.cf on AIX 5.3
The sendmail.cf version is 1.74( bos53A src/bos/usr/sbin/sendmail/sendmail.cf 1.74)
Thanks
Amruta (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies
10. UNIX for Advanced & Expert Users
hi
i edited the /etc/mail/access files with the line "yahoo.com REJECT", afterwhich i cannot send out files to the yahoo.com domain. :mad: can someone advise on how to go about configuring such that i am able to
send mail out to yahoo.com BUT block INCOMING mail from yahoo.com :confused:
i... (0 Replies)
Discussion started by: legato
0 Replies
sendmail(4) File Formats sendmail(4)
NAME
sendmail, sendmail.cf, submit.cf - sendmail configuration files
SYNOPSIS
/etc/mail/sendmail.cf
/etc/mail/submit.cf
DESCRIPTION
The sendmail.cf and submit.cf 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
sendmail.cf, as before. These are:
sendmail.cf Remains the principal sendmail configuration file. Used for the Mail Transmission Agent (MTA).
submit.cf 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 submit.cf, 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 submit.cf, 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, sendmail.cf and, in particular, submit.cf, are appropriate for most environments. Where a knowledgeable system administrator
needs to make a change, he should use the following procedures.
For sendmail.cf:
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 sendmail.mc `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/sendmail.cf
6. Restart the sendmail service.
# svcadm restart sendmail
You must restart sendmail for sendmail.cf file changes to take effect, as indicated in step 6. Steps 4 - 6 can be automated. See Automated
Rebuilding of Configuration Files below.
For submit.cf:
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.mc 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/submit.cf
You do not need to restart sendmail for changes to submit.cf 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)