10-13-2010
Try looking for /etc/mail/aliases
create a line that looks like:
Quote:
recipient: <tab> recipient, |/usr/bin/myprocess
remember that myprocess had to process all the lines of the email including the header records.
I like to keep the email in the recipient mailbox as well so that the original email is still available if debugging is required.
run 'newaliases' after editing the file.
Last edited by jgt; 10-13-2010 at 08:58 PM..
Reason: typo
10 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
hi I did not received any such email for account activation nor i am able to see any status in my profile.
Am i missing anything?? :confused:
Please help
Appreciated. (0 Replies)
Discussion started by: bhush782003
0 Replies
2. UNIX for Advanced & Expert Users
Hi,
I tried running mailx command like this:
sadm@bioinfo-z:~$ mailx foobar@gmail.com
Subject: testgmail
Some content.
.
EOT
As you can see although it is successfuly executed.
But still I can't receive email at my foobar@gmail.com
account.
What is the cause? (9 Replies)
Discussion started by: monkfan
9 Replies
3. UNIX for Dummies Questions & Answers
hi
I have a bit of a problem i need help with.
I have a script that runs no problems when i run it manually. as soon as i stick in
tester: /app/scripts/run.pl
into /etc/aliases & try to run it by sending a mail it doesnt work.
the output files are owned by daemon, which i dont like & think... (7 Replies)
Discussion started by: jojo77
7 Replies
4. Forum Support Area for Unregistered Users & Account Problems
I have tried to register and got a message saying an email would be sent but no email has turned up. Could you try again please? (1 Reply)
Discussion started by: lookingfor help
1 Replies
5. UNIX for Advanced & Expert Users
hi..
I have the porblem where the email was sent but not received by users.. The message as below:-
Dec 16 11:42:04 isp postfix/smtp: A80042B4B: to=<user_name@example.com.my>,
relay=smtp.example.com.my:25, delay=890, delays=0.17/0.02/31/859, dsn=2.0.0,
status=sent (250 2.0.0 Ok: queued... (1 Reply)
Discussion started by: bh_hensem
1 Replies
6. Shell Programming and Scripting
Hi expert
I wish to start a shell script when I receive an email.
I modified the aliases file and I add this string
as400nag: "|/home/nag-script/startstop/AS400-Boot.sh
The solution works .
When the as400nag user receive an email the
/home/nag-script/startstop/AS400-Boot.sh starts .but... (3 Replies)
Discussion started by: emi65
3 Replies
7. Forum Support Area for Unregistered Users & Account Problems
I have tried to register today with the username BatterBits, but have not received the activation email
I do not live in any of the restricted countries - unless the UK has suddenly become a threat!
I'd be grateful if you would assist.
many thanks
Ian (2 Replies)
Discussion started by: unregistered
2 Replies
8. Shell Programming and Scripting
Hello Guys,
Here is the requirement!!
I want to check the mail with attachment received or not through unix scripting.
And send an notification email when mail with attachment already received.
Any thoughts on this is much appreciated!!
Regards,
Harry (0 Replies)
Discussion started by: dharry2017
0 Replies
9. Shell Programming and Scripting
Hi Guys,
I am stuck in between and seeking help here.
Requirement: A script that will run every morning which will connect to Mysql database and run the query to inform us about the holidays (it will also check if there were any holidays during last 2 business days). So the three queries are... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
10. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
LEARN ABOUT DEBIAN
formmailtest
formmailtest(1) General Commands Manual formmailtest(1)
NAME
formmailtest - attempt to use formmail to relay to a DSBL-complaint host
SYNOPSIS
formmailtest <url> [<spoof recipient>]
DESCRIPTION
formmailtest attempts to connect to the specified host and uses several different to attempt to relay through the FormMail script located
at <url>. It can do more tests if the normal recipient for that FormMail script is provided as <spoof recipient>, but it can quite often
relay without.
Tests are done with both GET and POST to attempt to bypass any firewall/httpd.conf/.htaccess pseudo-security.
In the tests described below, DOMAIN is the section of <spoof recipient> after the @ sign, USER is the section before, and DASHDOMAIN is
DOMAIN after all periods have been replaced by dashes.
Tests:
recipient=listme@dsbl.org
recipient=dsbl.org!listme
realname=&email=
Cc: listme@dsbl.org&recipient=()
realname=)
Cc: listme@dsbl.org (&recipient=()
recipient=listme%dsbl.org@DOMAIN
recipient=dsbl.org!listme@DOMAIN
recipient=listme@dsbl.org(DOMAIN
recipient=<listme@dsbl.org>DOMAIN
realname=&email=0c: listme@dsbl.org&recipient=DOMAIN
realname=)0c: listme@dsbl.org (&email=&recipient=DOMAIN
recipient=listme@dsbl.org(USER@DASHDOMAIN
recipient=<listme@dsbl.org>USER@DASHDOMAIN
AUTHOR
Ian Gulliver <ian@penguinhosting.net>
SEE ALSO
dsbl.conf(5), spamtrap(1)
2002-04-03 formmailtest(1)