01-23-2002
what version of Sendmail ?
If it is the default with solaris 8 - then you should find a /etc/mail/sendmail.cf file - make a copy of it, vi the original and add the mail relay name in either the DH or DR line. Then insure that the start up script in /etc/rc2.d or /etc/rc3.d is removed. If you don't want the system to accept mail don't start Sendmail. Email will still go out to the relay.
Example:
# who I send unqualified names to (null means deliver locally)
DRsmtp.womnet.com
# who gets all local email traffic ($R has precedence for unqualified names)
DHsmtp.womnet.com
FYI - if your system is running sendmail and is connected to the internet (and not protected by a firewall) there is a possibility that a spammer can use your system as a relay. This is why you don't start sendmail on boot unless the system is the mail relay.
Last edited by thehoghunter; 01-23-2002 at 06:02 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
G'day,
I've a solaris 9 box that I want to configure so that users can send out mails to internet. How can I do it? Can someone pls list me the steps or direct me to a detailed website.
Thanks in advance. (1 Reply)
Discussion started by: Albert J.
1 Replies
2. UNIX for Dummies Questions & Answers
I have a Solaris 2.6 server running sendmail (Version 8.9.3p2). It actually receives email and runs the sendmail process. I need to configure it so that it continues to receive email, but disable its ability to send email out. My initial ideas was to just rename the mail and mailx binaries. But... (0 Replies)
Discussion started by: Rosko
0 Replies
3. UNIX and Linux Applications
Does anyone know what's Sendmail outgoing email rate? e.g. 1000 outgoing email per minutes. If so, can we modify it?
Thanks.
:) (1 Reply)
Discussion started by: sunmagic2003
1 Replies
4. Solaris
Hello,
ENVIRONMENT:
OS: Solaris 10
Sendmail: 8.13.8+Sun
BACKGROUND:
We had a user account that was compromised and was used as a relay. She sent out (or would have if we didn't kill sendmail) ~10K emails alerting people they just won $75K.
The target for this spam was everyone internal... (1 Reply)
Discussion started by: avikb
1 Replies
5. UNIX for Dummies Questions & Answers
I'm using Debian 5.0.4, exim4 and mutt.
I would like all outgoing mail sent by any/all users CC (not BCC) to a specified e-mail account.
(I do have it working for BCC using 'unseen'.)
I have spent hours of searching/reading/testing how and have not been able to find out how.
I have seen it... (0 Replies)
Discussion started by: mewbie
0 Replies
6. Red Hat
Hi Guys,
I want to setup sendmail using my username and password on my ISP to be able to send out messages.
I'm using Linux. So far, what I've done is modified the sendmail.mc with the following changes:
define(`SMART_HOST',`myispsmtpoutgoingserver')
FEATURE(authinfo)dnl
In my... (0 Replies)
Discussion started by: adshocker
0 Replies
7. UNIX for Dummies Questions & Answers
I have a Solaris box that I need to enable outgoing email from alarm purposes. How do I do that so the command echo "test this email" | mailx test@address.com will go through?
---------- Post updated at 02:24 PM ---------- Previous update was at 02:04 PM ----------
Needed to open port 25/smtp... (1 Reply)
Discussion started by: SIFT3R
1 Replies
8. UNIX for Advanced & Expert Users
Hello, I'm configuring sendmail on an AIX 7.1 server (bos.net.tcp.client 7.1.1.15).
I've gotten sendmail to send mail through our Novell GroupWise server, so that mail from a user on the server appears to come from their GroupWise account, and replies to the email would go to their GroupWise... (0 Replies)
Discussion started by: eyebeam
0 Replies
9. UNIX for Dummies Questions & Answers
I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client.
Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies
10. Proxy Server
PHP mail() function doesn't work.
Nor does sendmail:
loaded system configuration file /etc/msmtprc
ignoring user configuration file /home/xi/.msmtprc: No such file or directory
falling back to default account
using account default from /etc/msmtprc
host = xsi
port = 25
proxy host = (not... (1 Reply)
Discussion started by: Xcislav
1 Replies
System Administration Commands etrn(8)
NAME
etrn - start mail queue run
SYNOPSIS
etrn [-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 pro
cessing 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 connections to their ser
vice 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 option is supported:
-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
No environment variables are used.
FILES
/etc/mail/sendmail.cf sendmail configuration file
SEE ALSO
sendmail(1M), RFC 1985.
CAVEATS
Not all SMTP servers support ETRN.
CREDITS
Leveraged from David Muir Sharnoff's expn.pl script. Chris
tian von Roques added support for args and fixed a couple of
bugs.
AVAILABILITY
The latest version of etrn is available in the contrib
directory of the sendmail distribution through anonymous ftp
at ftp://ftp.sendmail.org/ucb/src/sendmail/.
AUTHOR
John T. Beck <john@beck.org>