04-27-2010
Outbound email re-direct
Bump...
Sendmail may not offer the functionality I need. Does anyone have any experience or suggestions for managing outbound emails in a test environment?
Issue recap:
- Test environment is sending test emails (alerts and todo-notifications)
- Application pulls the user list from a live LDAP directory so the email addresses are real
- Need to leave mail functionality enabled to verify the emails are being generated and sent
- Need to redirect all outbound emails to a test mailbox rather than to the listed recipients
Thanks.
edit by scottn: bump OK!
Last edited by Scott; 04-27-2010 at 12:46 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok so i have this script and I dont know how to have the output go to a file and then email that file to someone.
#!/bin/ksh
print "AL"
print "AM"
print "AN"
print "RL\n"
nawk '/PROD/ {print $3, $2}' /home/user/switch_listtest | sort -k1,2
print "End of Report"
Thank you in... (2 Replies)
Discussion started by: llsmr777
2 Replies
2. UNIX for Advanced & Expert Users
I have a software product that tags all outbound emails which I am trying to remove. Does anyone know how to do this using qmail?
I also have spam assassin running, I have a feeling it is possible to modify a subject using a rules file? Anyone know?
Thanks for any advice.
xian (1 Reply)
Discussion started by: r0sc0
1 Replies
3. HP-UX
I have several HP/UX nodes running Sendmail 8.13 ...some work fine, some don't.
When an Email is coming in, the 'DATA' command never ends. The other side of the connection gets to the point where it enters the '.' on a line by itself, but sendmail doesn't accept it...if fact it keeps on holding... (8 Replies)
Discussion started by: john_exonets
8 Replies
4. UNIX and Linux Applications
Does anyone know what's Sendmail outgoing email rate? e.g. 1000 outgoing email per minutes. If so, can we modify it?
Thanks.
:) (1 Reply)
Discussion started by: sunmagic2003
1 Replies
5. Debian
Hi ,
I'm using sendmail command to send a email.
To send a email sendmail taking 3minutes to complete the process.
Is there any configuration needs to be done in server or another solution is there to resolve this issue.
Thanks in Advance.
Regards
Latika (1 Reply)
Discussion started by: latika
1 Replies
6. Red Hat
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
7. Shell Programming and Scripting
Hi guys,
been scratching round the forums and my mountain of resources.
Maybe I havn't read deep enough
My question is not how sed edits a stream and outputs it to a file, rather something like this below:
I have a .txt with some text in it :rolleyes:
abc:123:xyz
123:abc:987... (7 Replies)
Discussion started by: the0nion
7 Replies
8. AIX
Hi everyone,
I'm trying to send an email on unix using sendmail command. For setting the priority to high I use:
X-Priority: 1
And it works on HP but when I tried it on AIX the email is sent but no priority!!
Anyone can help me
Thanks in advance,
Hiposh (3 Replies)
Discussion started by: hiposh
3 Replies
9. UNIX for Advanced & Expert Users
Hi All,
Sorry, for the double posting. Don't know how to move to a different forum.
I am very new to Unix. I have a test server running FreeBSD 10.1 and SendMail 8.14.9.
I need to filter incoming emails based on the sender's email address or domain and forward them to another address on a... (1 Reply)
Discussion started by: simplemind
1 Replies
10. Shell Programming and Scripting
Hi, Here is my script to send out emails.
#!/bin/ksh
{
print "From: Prod@`hostname`.mycomp.com"
print "To: me@mycomp.com"
print "MIME-Version: 1.0"
print "Content-Type: text/html"
print "Subject: Usage Report"
print ""
print... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT DEBIAN
amc-mailing
AMC-MAILING(1) Auto Multiple Choice AMC-MAILING(1)
NAME
AMC-mailing - mail PDF annotated completed answer sheets to students
SYNOPSIS
auto-multiple-choice mailing [--xmlargs args.xml] --projet project-dir --students-list students-list.csv [--list-encoding encoding]
--email-column col --sender sender-email --subject subject --text email-body [--debug file.log]
[transport arguments...]
DESCRIPTION
The command AMC-mailing.pl sends by email the PDF annotated completed answer sheets to the students. Email addresses are taken from the
students list file.
--projet project-dir
Gives the project directory.
--students-list students-list.csv
sets the students list file name.
--list-encoding encoding
selects an encoding for file students-list.csv (default is utf-8).
--email-column col
sets the name of the column containing the email addresses of the students in the students list file.
--sender sender-email
sets the sender email.
--subject subject
sets the subject of the emails to send.
--text email-body
sets the body text of the emails to send.
--transport transport
sets the transport to use. transport may be sendmail or SMTP.
--debug file.log
gives a file to fill with debugging information.
TRANSPORT ARGUMENTS
Depending on the value used for argument transport, the following arguments can be added:
Transport sendmail
--sendmail-path path
sets the path to the sendmail command (defaults to /usr/sbin/sendmail).
Transport SMTP
--smtp-host host
sets the SMTP hostname (defaults to smtp).
--smtp-port port
sets the port to use (default value is 25).
ARGUMENTS IN A XML FILE
To avoid encoding problems, one can place some arguments in a XML file and use the --xmlargs file.xml argument as the first command
argument. Here is an exemple of such a file:
<?xml version="1.0" encoding="UTF-8"?>
<arguments>
<arg>--sender</arg><arg>Bienvenue <paamc@passoire.fr></arg>
<arg>--text</arg><arg>Voila votre copie corrigee</arg>
<arg>--subject</arg><arg>QCM</arg>
</arguments>
AUTHORS
Alexis Bienvenue <paamc@passoire.fr>
Main author
Jean Berard
Translation from French
Georges Khaznadar
Translation from French
COPYRIGHT
Copyright (C) 2008-2012 Alexis Bienvenue
This document can be used according to the terms of the GNU General Public License, version 2 or later.
Auto Multiple Choice 1.1.1 06/19/2012 AMC-MAILING(1)