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
XltBubbleButton(3X)													       XltBubbleButton(3X)

NAME
XltBubbleButton - The BubbleButton widget class SYNOPSIS
#include <Xlt/BubbleButton.h> DESCRIPTION
BubbleButton is a sub-class of PushButton and inherits all of PushButton's functionality. Next paragraph Next paragraph Classes BubbleButton inherits behavior and resources from Core, Primitive, Label, and PushButton classes. The class pointer is XltBubbleButtonWidgetClass. The class name is XltBubbleButton. New Resources The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, remove the XmN or XmC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, remove the Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A). XltBubbleButton Resource Set Name Class Type Default Access ------------------------------------------------------------------------ XltNbubbleString XltCBubbleString XmString dynamic CSG XltNshowBubble XltCShowBubble Boolean True CSG XltNdelay XltCDelay int 1000 CSG XltNmouseOverString XltCMouseOverString XmString NULL CSG XltNmouseOverPixmap XltCMouseOverPixmap Pixmap None CSG XltNbubbleDuration XltCBubbleDuration int 0 CSG XltNbubbleString The string displayed in the bubble. XltNbubbleDuration If the pointer remains within the button for this long, the bubble will be un-posted. If this value is zero, the bubble remains posted as long as the pointer is in the button. This resource is new as of release 5.0.5. XltNshowBubble Used to enable/disable showing the bubble. XltNdelay The time to wait before displaying the bubble. XltNmouseOverString If not NULL and the labelType is XmSTRING, this is the string shown when the pointer is in the window. XltNmouseOverPixmap If not None and the labelType is XmPIXMAP, this is the pixmap shown when the pointer is in the window. Inherited Resources Host inherits behavior and resources from the following superclasses. For a complete description of each resource, refer to the man page for that superclass. PushButton Resource Set Name Class Type Default Access --------------------------------------- Behavior XltBubbleButton behavior is described below: Virtual Bindings The bindings for virtual keys are vendor specific. For information about bindings for virtual buttons and keys, see VirtualBindings(3X). RELATED INFORMATION
XmPushButton(3X), XltCreateBubbleButton(3X), XltBubbleButton(3X)