10-28-2008
Disable Outgoing Mail
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 then I thought that might be a little too ugly. I then did some research and found that I could change a parameter called “DeliveryMode” to “deferred”. Apparently, this will withhold outgoing email. From there, I believe I could just create a cron job that would rm the contents of /var/spool/mqueue every couple of hours or so.
Can you tell me if this would thoroughly prevent email from going out? Or if there is a better way to do this?
The thought also occurred to me that I could alter outgoing mail so that ALL of it is directed to /dev/null or to a dummy email address (which is valid, but is really just another way to route to /dev/null). Is there a way to do this? Possibly using some config of the /etc/mail/aliases file?
Thank you very much for your assistance,
Rosko
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi.
I need to set up sendmail so that it can send mail to a mail relay.
I have never touched sendmail before so I am not sure how to do this. All incoming mail is directed to a different server - this is just to enable me to get mail out.
Running Solaris 8 on Sparc.
Many thanks,
... (6 Replies)
Discussion started by: warrend
6 Replies
2. 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
3. AIX
Hi All,
How do I disable inbound mail for AIX 5.3 server? I just need the outbound mail. It's using the native sendmail program.
Thank you! (1 Reply)
Discussion started by: itik
1 Replies
4. Shell Programming and Scripting
Hi All,
I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:(
Thanks,
Rico (1 Reply)
Discussion started by: carnegiex
1 Replies
5. 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
6. 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
7. Red Hat
Hi all Expertise,
I have following issue to solve,
SSL / TLS Renegotiation DoS (low) 222.225.12.13
Ease of Exploitation Moderate
Port 443/tcp
Family Miscellaneous
Following is the problem description:------------------
Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 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. Solaris
Hi Gurus;
I had 2 interface.
eth1 : 10.x.x.x
eth2 : 30.x.x.x
My default out is 10.x.x.x
Now, I need to connect to public SFTP Server
If I use sftp user@public IP.
I can not connect.
because my out is 10.x.x.x
But I telnet it:
telnet -z 30.x.x.x <public IP - sftp server>... (5 Replies)
Discussion started by: Mujakol
5 Replies
LEARN ABOUT DEBIAN
kuvert_submit
KUVERT_SUBMIT(1) User Commands KUVERT_SUBMIT(1)
NAME
kuvert_submit - MTA wrapper for mail submission to kuvert(1)
SYNOPSIS
kuvert_submit [sendmail-options] [recipients...]
DESCRIPTION
Kuvert_submit submits an email either directly to sendmail(8) or enqueues it for kuvert(1) for further processing. kuvert_submit should be
called by your MUA instead of your usual MTA to enable kuvert to intercept and process the outgoing mails. Please see your MUA's
documentation about how to override the MTA to be used.
Kuvert_submit transparently invokes "/usr/sbin/sendmail" directly if it cannot find a ~/.kuvert configuration file, or if the -bv option is
given. Otherwise, it enqueues the email in the queue directory specified in the configuration file. If that fails or if the configuration
file is invalid, kuvert_submit prints an error message to STDERR and terminates with exit code 1. On successful submission, kuvert_submit
terminates with exit code 0.
Kuvert_submit also logs messages to syslog with the facility "mail".
OPTIONS
If it runs the MTA directly then kuvert_submit passes all options through to /usr/sbin/sendmail. Otherwise, it ignores all options except
-f and -t (and -bv which triggers a direct sendmail pass-through).
-f <emailaddress>
Sets the envelope sender. Kuvert_submit passes this on to kuvert.
-t Tells an MTA to use the recipients in the mail instead of any commandline arguments. If -t is not given then kuvert_submit passes the
recipients from the commandline on to kuvert.
FILES
~/.kuvert
The configuration file read by kuvert and kuvert_submit. If not present, kuvert_submit calls /usr/sbin/sendmail directly.
~/.kuvert_queue
The default queue directory.
SEE ALSO
kuvert(1)
AUTHOR
Alexander Zangerl <az@snafu.priv.at>
COPYRIGHT AND LICENCE
copyright 1999-2008 Alexander Zangerl <az@snafu.priv.at>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
Mail 2009-03-16 KUVERT_SUBMIT(1)