QMail Help


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers QMail Help
# 1  
Old 02-21-2005
QMail Help

My company is running qmail on our Unix server. I would like to run a MySQL script whenever an email was sent to a specific email address. I don't want to have to check every email that comes in, so I was thinking that the script would run when the message arrives at the specific mailbox. Is there anyway to do this? If so, what is the best way to write the script (i.e., language, from the shell command line, a specific file)? Thanks.
-Cam
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Qmail

hi all, i want to install Qmail but i don't from where can i get the package , and also if one know source that can explain qmail kindly tell me about it (3 Replies)
Discussion started by: linux_land
3 Replies

2. UNIX for Dummies Questions & Answers

qmail bounce

Hello, i seem to be facing a strange problem. I send my emails via qmail (on linux) and all the emails gets delivered to the recipient's inbox and bounces back to the sender's address and well. This happens irrespective of the recipient's email domain (gmail, yahoo, hotmail...). We recently... (0 Replies)
Discussion started by: pradeeptg
0 Replies

3. UNIX and Linux Applications

QMail spam

we had an emergency situation and had to rebuild a qmail server last night. Email now that is designated as spam gets stuck in a loop and we get a ndr. I would like for email not destined for a valid account or classified as spam be deleted rather then forwarded on to our exchange server. ... (1 Reply)
Discussion started by: egrotjahn
1 Replies

4. SuSE

qmail question - about addressbook(All)

I have installed qmail on SuSe linux box with mysql.Qmail is running fine and has no problem.Now I want to develop sonme new features by integrating our ERP with qmail.For that I have to enter more information about employee in Qmail Addressbook.I am attaching screenshot which is describing present... (0 Replies)
Discussion started by: thetakan
0 Replies

5. UNIX and Linux Applications

Qmail and duplicate

hello, I have a qmail server on Freebsd that is sending periodic duplicate emails. I dug around and found out that when connecting to the server through a telnet session everything goes good until i send the DATA command, type a message and enter the "." it takes like 5 minutes to get the 250 ok... (4 Replies)
Discussion started by: mike171562
4 Replies

6. Gentoo

Gentoo and Qmail

Hello all, I want to create a qmail to just forward messages to a valid smtp over the internet, so I can use mutt to send messages as well as recieving them. Is there an easy way of doing this? My SMTP server requires authentication. Thanks a lot. (2 Replies)
Discussion started by: Zarnick
2 Replies

7. Solaris

Qmail - possible?

Hi guys, Could you please advice me as im a new guy into Solaris ...is it possible to have qmail up and running on Solaris 10 and do you know where i can find some documentation on downloading and configuring - qmail? thank you guys vladi, (2 Replies)
Discussion started by: saveka
2 Replies

8. Solaris

Qmail on Solaris 9

I want to configure Qmail on my server (v240/SPARC 1GHz/1GB RAM /2x36GB HDD). Anybody help me where to download, and how to configure Qmail on Sol9. Thanks in advanced, Tinh (1 Reply)
Discussion started by: tinhlx
1 Replies

9. UNIX for Dummies Questions & Answers

Qmail Configuration

hey, plz tell me someone how to configure qmail in redhat linux 9.0. (1 Reply)
Discussion started by: raj_shivage
1 Replies

10. UNIX for Dummies Questions & Answers

QMail

Where I can find information about QMail with OpenBSD??? (1 Reply)
Discussion started by: vieiramail
1 Replies
Login or Register to Ask a Question
ftpmail(1)						      General Commands Manual							ftpmail(1)

NAME
ftpmail - FIFO-based Perl script for sending email based on proftpd TransferLog SYNOPSIS
ftpmail [ --help ] [ --fifo fifo-path ] [ --from email-address ] [ --log xferlog-file ] [ --recipient email-address ] [ --subject email- subject ] [ --smtp-server server-address ] [ --attach-file ] [ --auth smtp-auth-info-file ] [ --ignore-users regex-pattern ] [ --watch- users regex-pattern ] DESCRIPTION
ftpmail is a Perl script designed to read ProFTPD's TransferLog log entries, watching for uploads, and to send an automatic email notifica- tion when uploads occur. To use ftpmail , you configure your proftpd daemon to write its TransferLog to a FIFO; the ftpmail program is a FIFO reading program which then processes those log messages. OPTIONS
--help Display a short usage description, including all available options. --attach-file If used, this will cause a copy of the uploaded file to be included, as an attachment, in the generated email. --auth smtp-auth-info-file Configures the path to a file containing SMTP authentication information. The configured file should look like this: user username password password --fifo fifo-path Indicates the path to the FIFO to which proftpd is writing its TransferLog. That is, this is the path that you used for the TransferLog directive in your proftpd.conf. This parameter is REQUIRED. --from email-address Specifies the email address to use in the From email header. This parameter is REQUIRED. --ignore-users regex-pattern Specifies a Perl regular expression. If the uploading user name matches this regular expression, then an email notification is NOT sent; otherwise, an email is sent. --log xferlog-path Since this script reads the TransferLog using FIFOs, the actual TransferLog file is not written by default. Use this option to write the normal TransferLog file, in addition to watching for uploads. --recipient email-address Specifies an email address to which to send an email notification of the upload. This option can be used multiple times to specify multiple recipients. AT LEAST ONE recipient is REQUIRED. --smtp-server server-address Specifies the SMTP server to which to send the email. This parameter is REQUIRED. --subject subject Specify a custom Subject email header for the email sent. The default Subject is: User '$user' uploaded file '$file' via FTP --watch-users regex-pattern Specifies a Perl regular expression. If the uploading user name matches this regular expression, then an email notification is sent; otherwise, no email is sent. FILES
/var/log/xferlog AUTHORS
ProFTPD is written and maintained by a number of people, full credits can be found on http://www.proftpd.org/credits.html SEE ALSO
proftpd(8), xferlog(5) Full documentation on ProFTPD, including configuration and FAQs, is available at http://www.proftpd.org/ For help/support, try the ProFTPD mailing lists, detailed on http://www.proftpd.org/lists.html Report bugs at http://bugs.proftpd.org/ March 2011 ftpmail(1)