[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how execute command on every mail received



Right, I didn't read an email carefully. Sorry about that.

Try some MTA(e. g. Postfix)+procmail

That's what I used to text notifications about new mail to my
cellphone.

On Tue, Jun 15, 2010 at 06:22:14PM +0800, paragasu wrote:
> On Tue, Jun 15, 2010 at 5:59 PM, Patryk Cisek <patryk@debian.org> wrote:
> 
> > Try ssmtp.
> >
> > On Tue, Jun 15, 2010 at 05:43:57PM +0800, paragasu wrote:
> > > On Tue, Jun 15, 2010 at 5:40 PM, Erwan David <erwan@rail.eu.org> wrote:
> > >
> > > > On Tue, Jun 15, 2010 at 11:33:47AM CEST, paragasu <paragasu@gmail.com>
> > > > said:
> > > > > Hi all,
> > > > >
> > > > > I wonder if there is a simple SMTP deamon.
> > > > > This deamon will execute a specific command on every email received.
> > > > >
> > > > > I have a PHP program that will parse the email and
> > > > > send SMS to specific mobile phone number thereafter.
> > > > >
> > > > > please advice.
> > > > >
> > > > > Thanks
> > > >
> > > > You may do this with a pipe transport in postfix.
> > > >
> > > > Note however that you must be extra careful for dealing with spams and
> > > > errors...
> > > >
> > > >
> > > > --
> > > > Erwan
> > > >
> > > >
> > > > --
> > > > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > > > with a subject of "unsubscribe". Trouble? Contact
> > > > listmaster@lists.debian.org
> > > > Archive:
> > [🔎] 20100615094034.GC20719@trusted-logic.com">http://lists.debian.org/[🔎] 20100615094034.GC20719@trusted-logic.com
> > > >
> > > >
> > > Hi Erwan,
> > >
> > > Since i only listen to 1 specific email address.
> > > I guess i can do something like firewall etc.
> > >
> > > paragasu.
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> > Archive:
> > [🔎] 20100615095940.GC24506@meriadoc.test-lan.net">http://lists.debian.org/[🔎] 20100615095940.GC24506@meriadoc.test-lan.net
> >
> >
> Hi Erwan,
> 
> AFAIK, ssmtp is for sending email.
> I don't think i can use that
> 
> paragasu


Reply to: