SMTP Server - dump email

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications SMTP Server - dump email
# 1  
Old 09-08-2011
SMTP Server - dump email

Background:
I am replicating a set of servers into a "bubble" for testing. Those systems cannot be aware they are in a "bubble" so I must replicate all external services. I have successfully replicated most of those services except SMTP. I would like to configure an SMTP server that collects all email and effectively dumps it so I can review it later.

Setup:
I have a Solaris 10u9 setup with "Sendmail 8.14.4+Sun/8.14.4" currently listening on port 25 (this was setup by default). It will accept email but it never stays in the queue because any mail to be relayed is bounced back. I would like to receive the email and either have it sit in a queue or preferably be able to dump it to a text file.

Question:
a) Can I setup sendmail to accept all mail and silently queue it?
b) Is there a debug SMTP daemon for Solaris that will serve this same purpose?

---------- Post updated at 05:02 PM ---------- Previous update was at 02:31 PM ----------

It is in the /etc/mail/sendmail.cf file. The default setting is

O DeliveryMode=background

Change it to "queue" and restart sendmail. Also check the "-q30m" setting.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

[Template] Send SMTP email with Visual Basic Script (vbs) from Command Prompt using CDO

This is a script in visual basic that basically sends an email from an existing account, in this case the example is provided for live.com. It uses CDO (Collaboration Data Objects). All you need to do is replace the fields with the proper information. The email is send from Command Prompt... (0 Replies)
Discussion started by: Tribe
0 Replies

2. Ubuntu

Any way we can create an SMTP server and use any scripting language to read emails from that server

Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies

3. Shell Programming and Scripting

bash dump raw email body txt from Maildir

I'm setting up a cronjob that will hopefully dump the contents of a email delivered to Maildir/new/ to /home/user/raw.txt (and then delete that email) I could manually remove the bottom line of the raw email, then place the contents in the next line up in the /home/user/raw.txt, but it seems to... (5 Replies)
Discussion started by: unclecameron
5 Replies

4. AIX

Enable send email through smtp - exchange on AIX 6.1

Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies

5. UNIX for Dummies Questions & Answers

Dump eMail image to directory

Hello everyone! I'm new and very happy to be here! Trying to create a quick idea: I want to take images sent to an eMail address on my domain (pics@mywebsite.com), and copy them into a directory. There will then be a page that displays those images. How could I go about this? I'm a script... (6 Replies)
Discussion started by: Diesel.
6 Replies

6. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

7. UNIX for Dummies Questions & Answers

telnet smtp and email in batch

I can do the following steps on my UNIX box interactively, but cannot send an email with a script. Can someone help? I need to send an email or some other notification when a cron job fails. telnet xx.yy.zz.ww 25 helo mail from: 123@123.com rcpt to: my@email.net data subject: email test... (1 Reply)
Discussion started by: ejaggers
1 Replies

8. Solaris

Shell script to send email alert for core dump

Friends, I am in search for a shell script that is capable of running as a cronjob and have to send out an email when ever there is a CORE DUMP. Please post the hints to achieve my goal. Thanks in advance. (1 Reply)
Discussion started by: rtatineni
1 Replies

9. UNIX for Dummies Questions & Answers

Send email using Exchange as SMTP

Hi. I have a Tru64 Unix V5.1 server that I would like to send emails using an exchange server we have on the same network as the smtp of this machine. What are the requirements/configuration that I need to do in order to make this possible. We are planning on emailing error messages and such from... (2 Replies)
Discussion started by: fidodido
2 Replies
Login or Register to Ask a Question
BUBBLES(1p)						User Contributed Perl Documentation					       BUBBLES(1p)

NAME
bubbles - DNSSEC-Tools Rollrec Simple GUI Display SYNOPSIS
bubbles [options] <rollrec-file> DESCRIPTION
bubbles gives a simple display of the roll status of a set of zones listed in a rollrec file. In contrast, blinkenlights gives a detailed display of the roll status of a set of zones. bubbles gives very little control over rollerd, the way blinkenlights does. bubbles can halt rollerd's execution only. A rollrec file contains one or more rollrec records. These records are used by the DNSSEC-Tools rollover utilities (rollerd, etc.) to describe zones' rollover states. Each zone's rollrec record contains such information as the zone file, the rollover phase, and logging level. rollrec files are text files. When bubbles starts, a window is created that has "bubbles" for each zone with a rollrec record in the given rollrec file. (Clicking on a bubble doesn't do anything.) By default, all zones with a display flag set on will be shown in the bubbles window. Options may be given to modify this behavior. The zone bubbles are color-coded according to roll-over state. The default colors are: * green: not in roll-over * yellow: in ZSK roll-over * red: in KSK roll-over These colors may be specified by the user via command-line options. In building the bubble window, bubbles window defaults to creating a square window. This may be overridden by specifying the number of columns, using the -columns option. OPTIONS
bubbles supports the following options. -columns columns This option allows the user to specify the number of columns to be used in the Button Window. -kskcolor color Set the bubble color for zones that are performing KSK roll-overs. -zskcolor color Set the bubble color for zones that are performing ZSK roll-overs. -noncolor color Set the bubble color for zones that are not in roll-over. -ignore-display Ignore the rollrec display flag and display every zone in the rollrec file. -interval wait-time Interval between checks of the rollrec file. By default, wait-time is given in minutes. This can be adjusted by specifying one of the following time-unit suffixes. * s - seconds * m - minutes * h - hours Examples: * -interval 24 - 24 minutes * -interval 24s - 24 seconds * -interval 24m - 24 minutes * -interval 24h - 24 hours -no-filter This option turns off name filtering when bubbles presents a file-selection dialog for choosing a new rollrec file. If this option is not given, then the file-selection dialog will only list regular files with a suffix of .rrf. -showksk Show the zones that are performing KSK roll-overs. -shownonrolls Show the zones that are not in roll-over. -showrolls Show the zones that are performing either type of roll-over. -showzsk Show the zones that are performing ZSK roll-overs. -help Give a usage message and exit. -Version Displays the version information for bubbles and the DNSSEC-Tools package. REQUIREMENTS
bubbles is implemented in Perl/Tk, so both Perl and Perl/Tk must be installed on your system. KNOWN ISSUES
The following are known issues. These will be resolved in the fullness of time. o Segmentation violation on exit. This problem occurs on Mac OS X 10.4.9-10.4.11 with Perl 5.8.6; however, it does not occur on Mac OS X 10.5.8 with Perl 5.8.8. COPYRIGHT
Copyright 2009-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. AUTHOR
Wayne Morrison, tewok@tislabs.com SEE ALSO
lsroll(1) blinkenlights(8), rollchk(8), rollerd(8) rollinit(8), rollrec-editor(8) rollset(8), Net::DNS::SEC::Tools::rollrec(3) file-rollrec(5) perl v5.14.2 2012-06-21 BUBBLES(1p)