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
Digest::BubbleBabble(3pm)				User Contributed Perl Documentation				 Digest::BubbleBabble(3pm)

NAME
Digest::BubbleBabble - Create bubble-babble fingerprints SYNOPSIS
# Create a fingerprint of a simple string. use Digest::BubbleBabble qw( bubblebabble ); my $fingerprint = bubblebabble( Digest => "Pineapple" ); # Create a fingerprint of a SHA-1 hash. use Digest::SHA qw( sha1 ); $fingerprint = bubblebabble( Digest => sha1("hello") ); DESCRIPTION
Digest::BubbleBabble takes a message digest (often generated by either of the MD5 or SHA-1 message digest algorithms) and creates a fingerprint of that digest in "bubble babble" format. Bubble babble is a method of representing a message digest as a string of "real" words, to make the fingerprint easier to remember. The "words" are not necessarily real words, but they look more like words than a string of hex characters. Bubble babble fingerprinting is used by the SSH2 suite (and, consequently, by Net::SSH::Perl, the Perl SSH implementation) to display easy- to-remember key fingerprints. The key (a DSA or RSA key) is converted into a textual form, digested using Digest::SHA, and run through bubblebabble to create the key fingerprint. USAGE
Digest::BubbleBabble conditionally exports one function called bubblebabble; to import the function you must choose to import it, like this: use Digest::BubbleBabble qw( bubblebabble ); bubblebabble( Digest => $digest ) Currently takes only one pair of arguments, the key of which must be Digest, the value of which is the actual message digest $digest. You should generate this message digest yourself using either Digest::MD5 of Digest::SHA. Returns the bubble babble form of the digest. SEE ALSO
The BubbleBabble specification is available at: http://web.mit.edu/kenta/www/one/bubblebabble/spec/jrtrjwzi/draft-huima-01.txt LICENSE
Digest::BubbleBabble is free software; you may redistribute it and/or modify it under the same terms as Perl itself. AUTHOR &; COPYRIGHTS Benjamin Trott, cpan@stupidfool.org Except where otherwise noted, Digest::BubbleBabble is Copyright 2001 Benjamin Trott. All rights reserved. perl v5.14.2 2012-01-21 Digest::BubbleBabble(3pm)