Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: text to phone, from mail

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,149
    Blog Entries
    15

    Default Re: text to phone, from mail

    Quote Originally Posted by a59303
    Carlos,

    I understand, I misspoke. That is right, I wanted to trigger mail, or
    some sort of mailer. I thought though that before I try to learn
    procmail (it looks fairly complex) I was looking for a more ready-made
    solution. It turns out that there is a plugin in evolution that allows
    you to configure to some extent the notification of receipt. But not
    any events (scripts).
    Reading the pages related to procmail gave me a better idea of what I
    was looking for, and so, I found mail-notification... I think I'm going
    to try that.

    Thanks,

    a5'

    Hi
    I use postfix and just relay out via gmail, there is a little
    configuration work with main.cf, sasl_passwd and master.cf.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 9:48, 5 users, load average: 0.10, 0.08, 0.06
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  2. #12
    Join Date
    May 2012
    Location
    Northeast US
    Posts
    116

    Default Re: text to phone, from mail

    Thanks for the input. Installing mail-notification didn't work, so I may work on the procmail idea.

    a5'

  3. #13
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: text to phone, from mail

    On 2012-06-04 13:16, a59303 wrote:
    >
    > Thanks for the input. Installing mail-notification didn't work, so I
    > may work on the procmail idea.


    Procmail alone will not be enough, it assumes you have a "normal" mail
    setup, where normal means "a la unix". Ie, an MTA (postfix), MUA not
    involved (evolution), a fetcher if it is a client installation (fetchmail)...

    In that setup procmail is a "simple" method to classify incoming email.
    Believe me, it is simple, but can be complicated ad infinitum. Incoming
    mail is sent to different folders based on patterns, but instead of a
    folder a filter program can be used... and that's the case, you need
    trigger a program. Or the email can be sent somewhere else.

    If your desktop is running, filtering software would do. Perhaps
    thunderbird can do it.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  4. #14
    Join Date
    May 2012
    Location
    Northeast US
    Posts
    116

    Default Re: text to phone, from mail

    Quote Originally Posted by robin_listas View Post
    On 2012-06-04 13:16, a59303 wrote:

    Procmail alone will not be enough, it assumes you have a "normal" mail
    setup, where normal means "a la unix". Ie, an MTA (postfix), MUA not
    involved (evolution), a fetcher if it is a client installation (fetchmail)...

    In that setup procmail is a "simple" method to classify incoming email.
    Believe me, it is simple, but can be complicated ad infinitum.
    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

    That is more or less what I was afraid of. I had not actually gotten to the point of filtering the mail, the idea was just to get an alert, starting small. So I think that procmail might be overkill at this point. Doesn't evolution have similar things (facilities to receive,check,and send mail) built-in though, I mean, they are necessary functions for mail?

    Also, it appears that procmail is already installed. I didn't specify that at installation (embarrassed at wasting peoples time and not knowing what I am running). Although I do not have anything in /var/spool/mail nor do I have a $HOME/.procmailrc.

    If your desktop is running, filtering software would do. Perhaps
    thunderbird can do it.
    I do and maybe it can...What I find confusing is that I seem to have two systems (at least) to check and send mail, not that its an issue or anything, but it leads me to wonder what, if anything, does that for evolution. That is fetch and send mail. I am going to continue to look at the evolution mailing lists, maybe I will find something there.

    Thanks for all the help,

    a5'



    I checked yast>/etc/sysconfig >mail

    Unless I am misunderstanding, I have postfix and sendmail running and configured.

    Code:
    less /etc/sysconfig/mail
    yields:

    Code:
    ## Path:        Network/Mail/General
    ## Description: Basic general MTA configuration
    ## Type:        yesno
    ## Default:     yes
    ## Config:      postfix,sendmail
    #
    # If you don't want to let SuSEconfig generate your
    # configuration file, set this to no
    #
    MAIL_CREATE_CONFIG="yes"
    ## Path:                Network/Mail/General
    ## Description:
    ## Type:        string
    ## Default:     ""
    ## Config:      postfix
    ## ServiceReload:       sendmail,postfix
    #
    # From:-Line in email and News postings
    # (otherwise the FQDN is used)
    FROM_HEADER=""
    
    
    ## Type:        yesno
    ## Default:     no
    ## Config:      postfix
    #
    # Set this to "yes" if mail from remote should be accepted
    # this is necessary for any mail server.
    # If set to "no" or empty then only mail from localhost
    # will be accepted.
    #
    SMTPD_LISTEN_REMOTE="no"
    
    
    ## Type:        yesno
    ## Default:     no
    #
    # Set this to "yes" if the yast2 mail module must not
    # start with the wizard for asking the 
    # configuration type of the mail server.
    #
    SKIP_ASK="no"
    
    
    ## Type:        string(standard,advanced,undef)
    ## Default:     undef
    #
    # This variable contains the type of the mail server configuration.
    #
    CONFIG_TYPE="standard"
    /etc/sysconfig/mail lines 1-47/47 (END)


    Code:
    procmail -version
    yields:

    Code:
    procmail v3.22 2001/09/10
        Copyright (c) 1990-2001, Stephen R. van den Berg    <srb@cuci.nl>
        Copyright (c) 1997-2001, Philip A. Guenther        <guenther@sendmail.com>
    
    
    Submit questions/answers to the procmail-related mailinglist by sending to:
        <procmail-users@procmail.org>
    
    
    And of course, subscription and information requests for this list to:
        <procmail-users-request@procmail.org>
    
    
    Locking strategies:    dotlocking, fcntl()
    Default rcfile:        $HOME/.procmailrc
    Your system mailbox:    /var/spool/mail/me
    Last edited by a59303; 04-Jun-2012 at 08:09. Reason: forgot a yields

  5. #15
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: text to phone, from mail

    On 2012-06-04 17:16, a59303 wrote:

    > That is more or less what I was afraid of. I had not actually gotten
    > to the point of filtering the mail, the idea was just to get an alert,
    > starting small. So I think that procmail might be overkill at this
    > point. Doesn't evolution have similar things (facilities to
    > receive,check,and send mail) built-in though, I mean, they are necessary
    > functions for mail?


    No idea.


    > I checked yast>/etc/sysconfig >mail
    >
    > Unless I am misunderstanding, I have postfix and sendmail running and
    > configured.


    Of course you do. And procmail too. You have a Linux system, it comes with
    it. ;-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  6. #16
    Join Date
    May 2012
    Location
    Northeast US
    Posts
    116

    Default Re: text to phone, from mail

    Quote Originally Posted by robin_listas View Post
    On 2012-06-04 17:16, a59303 wrote:

    Of course you do. And procmail too. You have a Linux system, it comes with
    it. ;-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)
    he he
    that's funny,

    well,

    thanks,

    a5'

  7. #17

    Default Re: text to phone, from mail

    You can send an SMS to your phone using googlevoice.pl, which can be found here. You'll still need to set something up to call that script when an email arrives.

  8. #18
    Join Date
    May 2012
    Location
    Northeast US
    Posts
    116

    Default Re: text to phone, from mail

    You can send an SMS to your phone using googlevoice.pl, which can be found here. You'll still need to set something up to call that script when an email arrives.
    yeah, thats the kicker currently, but I will keep it in mind

    thanks,
    a5'

  9. #19
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,109

    Default Re: text to phone, from mail

    On Sun, 03 Jun 2012 23:56:03 +0000, a59303 wrote:

    > Knurpht,
    >
    > I misspoke.
    > I was intending to send a email that would be recieved as a text. There
    > is other stuff there a FSF that looks like it might be good for this.
    > Thanks! I was intending to use the established system that verizon has
    > in place (phone_number@vtext). They just have you email that number and
    > it sends a text.


    Simple solution if the message is coming down to your system - create
    a .forward file in the user's home directory.

    The contents of the .forward file are a list of e-mail addresses to
    forward mail to.

    This assumes that the mail is actually received on the machine that has
    the .forward file set up, but assuming you have your mail server set up
    correctly, that should take care of this for you.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  10. #20
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,149
    Blog Entries
    15

    Default Re: text to phone, from mail

    Quote Originally Posted by a59303

    > You'll still need to set something up to call that script when an
    > email arrives.


    yeah, thats the kicker currently, but I will keep it in mind

    thanks,
    a5'

    Hi
    Perhaps explain a little more on what your wanting to send on what
    event... for example a log file entry 'blah' could be monitored via sec
    (simple event correlator) or an snmp alarm etc...

    Just sending something is as simple as (assuming mail is configured
    and working);
    Code:
    echo 'this is an event' | mailx -s 'sms alert' xxxxx@xxxxx
    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 1 day 3:46, 5 users, load average: 0.01, 0.02, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •