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:
We have an MS Exchange server, so we are basically using sendmail on a particular AIX host to forward all email to the exchange server and let Exchange handle everything.
The above configuration works fine for sending email to recipients using:
What I also need to do is be able to send the email with only specifying the alias part and not the domain, so if I do: ** sending email to userid, omitting the @myserver.com recipient domain part
I want sendmail to append the @myserver.com in this situation where a domain is not given. Is this possible without maintaining some sort of alias/list file for every possible userid > userid@mydomain.com?
Thanks.
Last edited by c3rb3rus; 04-20-2016 at 06:26 PM..
Reason: rewrite question to be more specific
i m doing project on LAN TELEPHONY in Red Hat linux
i have files as datbase to store the user name and passeord an all other information. Now i have thin client at my college. so to access /dev/dsp for audio is not possible on server.
So i have written code which run on /base since it has... (0 Replies)
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)
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)
Hi,
I would like to change the domain name using sendmail.
For example, currently mails are sent like user@domain1.com
I would like to change it to user@domain2.com
How this can be done from HP-UX?
Your help is highly appreciated.
Thanks in advance. (0 Replies)
I need to configure an NTP daemon on a "bridge-PC" connected on 2 LANs. It is expected to read the correct time on a time server on the first LAN and behave as a server for the second LAN.
Can I do both the things with ntpd?
In other words, is ntpd able to work as client and server at the same... (3 Replies)
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)
Dear all,
We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..
kindly help ....... (4 Replies)
Seek help configuring Sendmail 8.14.4 Unix server.
Not sure if this is the correct place to post or the Unix/Linux Forums job board. Seeking help configuring sendmail 8.14.4 on my Unix server. It appears I have an open relay. I was advised I need to modify a etc/mail/dir , a command line entry... (0 Replies)
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... (3 Replies)
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
LEARN ABOUT SUNOS
etrn
etrn(1M) System Administration Commands etrn(1M)NAME
etrn - start mail queue run
SYNOPSIS
etrn [-b] [-v] server-host [client-hosts]
DESCRIPTION
SMTP's ETRN command allows an SMTP client and server to interact, giving the server an opportunity to start the processing of its queues
for messages to go to a given host. This is meant to be used in start-up conditions, as well as for mail nodes that have transient connec-
tions to their service providers.
The etrn utility initiates an SMTP session with the host server-host and sends one or more ETRN commands as follows: If no client-hosts are
specified, etrn looks up every host name for which sendmail(1M) accepts email and, for each name, sends an ETRN command with that name as
the argument. If any client-hosts are specified, etrn uses each of these as arguments for successive ETRN commands.
OPTIONS
The following options are supported:
-b System boot special case. Make sure localhost is accepting SMTP connections before initiating the SMTP session with server-
host.
This option is useful because it prevents race conditions between sendmail(1M) accepting connections and server-host
attempting to deliver queued mail. This check is performed automatically if no client-hosts are specified.
-v The normal mode of operation for etrn is to do all of its work silently. The -v option makes it verbose, which causes etrn
to display its conversations with the remote SMTP server.
ENVIRONMENT VARIABLES
No environment variables are used. However, at system start-up, svc:/network/smtp:sendmail reads /etc/default/sendmail. In this file, if
the variable ETRN_HOSTS is set, svc:/network/smtp:sendmail parses this variable and invokes etrn appropriately. ETRN_HOSTS should be of the
form:
"s1:c1.1,c1.2 s2:c2.1 s3:c3.1,c3.2,c3.3"
That is, white-space separated groups of server:client where client can be one or more comma-separated names. The :client part is optional.
server is the name of the server to prod; a mail queue run is requested for each client name. This is comparable to running:
/usr/lib/sendmail -qR client
on the host server.
EXAMPLES
Example 1: Using etrn
Inserting the line:
ETRN_HOSTS="s1.domain.com:clnt.domain.com s2.domain.com:clnt.domain.com"
in /etc/default/sendmail results in svc:/network/smtp:sendmail invoking etrn such that ETRN commands are sent to both s1.domain.com and
s2.domain.com, with both having clnt.domain.com as the ETRN argument.
The line:
ETRN_HOSTS="server.domain.com:client1.domain.com,client2.domain.com"
results in two ETRN commands being sent to server.domain.com, one with the argument client1.domain.com, the other with the argument
client2.domain.com.
The line:
ETRN_HOSTS="server1.domain.com server2.domain.com"
results in set of a ETRN commands being sent to both server1.domain.com and server2.domain.com; each set contains one ETRN command for each
host name for which sendmail(1M) accepts email, with that host name as the argument.
FILES
/etc/mail/sendmail.cf sendmail configuration file
/etc/default/sendmail Variables used by svc:/network/smtp:sendmail
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO sendmail(1M), attributes(5)
RFC 1985
NOTES
Not all SMTP servers support ETRN.
SunOS 5.10 10 Aug 2004 etrn(1M)