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
FROZEN-BUBBLE-EDITOR(6) 				  The Frozen-Bubble Level editor				   FROZEN-BUBBLE-EDITOR(6)

NAME
frozen-bubble-editor - a level editor for Frozen Bubble SYNOPSIS
frozen-bubble-editor [OPTION]... DESCRIPTION
This editor lets you manipulate level-sets, in which you can add, remove and modify levels thanks to a mouse-oriented interface (there are also many interesting keyboard shortcuts). The interface is very straightforward: click on the written planches on the left an right parts of the screen to perform the relevant actions, and on the level area to change the bubble color; use the "void" bubble (or right-click) to remove a bubble. OPTIONS
-h, --help show command-line options summary -fs, --fullscreen start in fullscreen mode -lsFILENAME, --levelsetFILENAME directly start with the specified levelset name -lNUMB, --levelNUMB directly start the level number NUMB -cb, --colourblind use special bubbles for colourblind people KEY SHORTCUTS
The following key shortcuts are available during level edition: F1 displays the help dialog p, h, left previous level n, l, right next level up first level down last level a append level i insert level d delete level ] move level right [ move level left j jump to level (after j, enter level number, then Return) o open levelset s save levelset f toggle fullscreen q, Escape quit During dialogs, you may use Return to accept and Escape to cancel. AUTHOR
Written by Kim Joham and David Joham <[k|d]joham at yahoo.com>. Integration work by Guillaume Cottenceau <guillaume.cottenceau at free.fr>. This manual page was written by Guillaume Cottenceau. Visit official homepage: http://www.frozen-bubble.org/ SEE ALSO
frozen-bubble(6) COPYRIGHT
Copyright (C) 2002, 2003 Kim Joham and David Joham <[k|d]joham at yahoo.com>. This is Free Software; this software is licensed under the GPL version 2, as published by the Free Software Foundation. There is NO war- ranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. FBE
February 2, 2003 FROZEN-BUBBLE-EDITOR(6)