procmail
[Top] [All Lists]

Forwarding til mobile-phone

1999-05-13 16:13:50
Hi!

I've got a problem! ..

I'm using procmail to forward the From: and Subject: .. But the SMS that shows up, contains my own email-address (fox(_at_)nowhere(_dot_)dk)

This is very annoying, it's almost impossible to guess who's sending you email :o)

My .forward looks like this:

"|IFS=' '&&p=/usr/local/bin/procmail&&test -f $p&&exec $p -f-||exit 75#whatever"

And my .procmailrc looks like this:

:0 c
* !^TOpostmaster
* !^TOcisco
  | echo 'You have mail' ;formail -X FROM: \
    -X Subject: | $SENDMAIL XXXXXXXX(_at_)gsm1800(_dot_)telia(_dot_)dk
:0
/var/spool/mail/fox

And finally (maybe this can help) when it goes in the mailq it looks like this:

nowhere:/usr/home/fox$mailq
                Mail Queue (1 request)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
AAA00351*       0 Fri May 14 00:41 fox
                                   XXXXXXXX(_at_)gsm1800(_dot_)telia(_dot_)dk
nowhere:/usr/home/fox$


I hope you can help me :o)

--
-Rene Joergensen alias [fox]

<Prev in Thread] Current Thread [Next in Thread>