Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Using autoresponse
- Date: Wed, 14 Feb 2007 12:14:35 +0900
- From: SM <somamedia@??>
- Subject: Re: [tlug] Using autoresponse
- References: <453a1de50702122045v62d98c33lf6ee61d899023e7f@example.com> <20070213105506.e0195b22.godwin.stewart@example.com> <45D1977C.5060300@example.com> <20070213123028.2dccee80.godwin.stewart@example.com> <45D1C3EF.9020504@example.com> <20070213160133.14536de0.godwin.stewart@example.com>
The company that I work for imports products (food, drinks, etc..) and the idea is to introduce these goods just to people that is really interested, we take many security measures in our server, newsletters and the follow up of campaigns are very important for our business, also in Japan the law about collecting personal information is getting very strict;
I haven't found someone to do the Job for Us, in the meantime I'm trying to learn a little about all this, one option seems to be using procmail and sendmail on my server i found this script and I'm testing it:
#logging - in case you want to troubleshoot (uncomment by deleting #)
#LOGFILE=$HOME/procmail.log
#VERBOSE=yes#shell - otherwise, nothing will happen when we call formail
SHELL=/bin/bash#begin example_info section
:0 h
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: infobot_reply
* ^Subject:.*example_info.*
| (formail -rt -A"Precedence: junk (autoreply)"\
-A"X-Loop: infobot_reply" ; \
cat $HOME/example_info.txt) | $SENDMAIL -t
#end example_info section#begin error handling section - NOTE: this section always goes at the end
:0 h
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: infobot_reply
* ^Subject:.*
| (formail -rt -A"Precedence: junk (autoreply)"\
-A"X-Loop: infobot_reply" ; \
cat $HOME/error_notice.txt) | $SENDMAIL -t
#end error handling section#begin catch_bucket
:0
/dev/null
#end catch_bucketalso I have to execute this echo "\"|/usr/bin/procmail -f-\"" > /home/infobot/.forward; chown infobot.users /home/infobot/.forwardI hope I won't mess up anything on the server
- Follow-Ups:
- Re: [tlug] Using autoresponse
- From: Stephen J. Turnbull
- References:
- [tlug] Using autoresponse
- From: SM
- Re: [tlug] Using autoresponse
- From: Godwin Stewart
- Re: [tlug] Using autoresponse
- From: Sigurd Urdahl
- Re: [tlug] Using autoresponse
- From: Godwin Stewart
- Re: [tlug] Using autoresponse
- From: Sigurd Urdahl
- Re: [tlug] Using autoresponse
- From: Godwin Stewart
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Building a new box
- Next by Date: Re: [tlug] Using autoresponse
- Previous by thread: Re: [tlug] Using autoresponse
- Next by thread: Re: [tlug] Using autoresponse
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links