Professional Web Applications Themes

Delete email - crons job - Linux / Unix Administration

Hi on my domain, I have a fack email account to catch spam emails. Is there a way I can run a cons job that will automatically delete all emails in this account. I don't really know anything about a crons job. Thanks in advance...

  1. #1

    Default Delete email - crons job

    Hi on my domain, I have a fack email account to catch spam emails. Is
    there a way I can run a cons job that will automatically delete all
    emails in this account. I don't really know anything about a crons
    job.

    Thanks in advance

    Terry Guest

  2. #2

    Default Re: Delete email - crons job

    In article <googlegroups.com>,
    "Terry" <net> wrote:
     

    Write a script that does what you want. Then add a cron job that runs
    the script at the times you want. "man 5 crontab" will show you the
    syntax of a crontab entry.

    Make sure your script doesn't depend on environment variables set by
    your .profile, since this isn't executed automatically by cron.

    --
    Barry Margolin, mit.edu
    Arlington, MA
    *** PLEASE post questions in newsgroups, not directly to me ***
    *** PLEASE don't copy me on replies, I'll read them in the group ***
    Barry Guest

  3. #3

    Default Re: Delete email - crons job

    On 2006-01-28, Terry wrote: 

    First, write a csript that does the deletion.

    Second, make a crontab file ('man 5 crontab' for the format).

    Third, install the crontab file ('crontab <FILENAME>').

    --
    Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
    Shell Scripting Recipes: | My code in this post, if any,
    A Problem-Solution Approach | is released under the
    2005, Apress | GNU General Public Licence
    Chris Guest

  4. #4

    Default Re: Delete email - crons job

    Terry wrote: 

    Put up a procmail filter and route them to /dev/null

    It's pretty easy and doented ad nauseum if you google it.
    base60 Guest

Similar Threads

  1. Script to delete email from an account
    By Terry in forum PERL Modules
    Replies: 2
    Last Post: February 1st, 08:48 PM
  2. Delete form - Post data to a table and delete uponsubmit.
    By FusionRed in forum Coldfusion - Getting Started
    Replies: 3
    Last Post: July 28th, 01:27 PM
  3. Delete everything before the in an email
    By b0x3r in forum Macromedia ColdFusion
    Replies: 6
    Last Post: March 9th, 11:20 PM
  4. Replies: 0
    Last Post: August 31st, 04:13 PM
  5. Delete key doesn't delete when datagrid is bound to a disconnected table
    By Fred Zolar in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: April 1st, 07:47 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139