delete forwarding message copy

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default delete forwarding message copy

    Hi everybody,

    I configured Postfix on my server. I want only forward my email and I
    don't want keep a copy on my server (two place to check email).

    Is it possible, with .forward file, to forward a email only . I don't
    want use aliases.db.

    May be somebody can help me.


    Thanks!

    Jean-Louis Vill

    Please send me your answer at [email]jlvill@sympatico.ca[/email]

    Jean-Louis Vill Guest

  2. Similar Questions and Discussions

    1. cannot copy necessary linked files message appears
      I am running 2.01 and have package for hand off many times, in fact I packaged a number of the sections yesterday. Today for some unkown reason I...
    2. Shell command from within Adobe Professional, copy and delete file
      I was hoping one of the experienced technical folks on this forum could help me out. BACKGROUND - A group within our organization is responsible...
    3. ***This message may contains virus****Delete the message***Taste this correction pack for MS Internet Explorer
      "If you receive an e-mail that claims to contain software from Microsoft, do not run the attachment. The safest course of action is to delete the...
    4. ***This message may contains virus****Delete the message***Taste this correction pack for MS Internet Explorer
      "If you receive an e-mail that claims to contain software from Microsoft, do not run the attachment. The safest course of action is to delete the...
    5. Delete error message problem
      Hi there, i have a delete button on my form with the following code: docmd.runcommand.acCmdDeleteRecord When i run the code click delete, i...
  3. #2

    Default Re: delete forwarding message copy

    On Mon, 08 Sep 2003 00:02:30 -0400, Jean-Louis Vill <jlvill@sympatico.ca> wrote:
    >
    >
    > Hi everybody,
    >
    > I configured Postfix on my server. I want only forward my email and I
    > don't want keep a copy on my server (two place to check email).
    >
    > Is it possible, with .forward file, to forward a email only . I don't
    > want use aliases.db.
    >
    > May be somebody can help me.
    >
    >
    > Thanks!
    >
    > Jean-Louis Vill
    >
    > Please send me your answer at [email]jlvill@sympatico.ca[/email]
    >
    If you used procmail, then this .procmailrc would do what you want:


    SHELL=/bin/whatever
    PATH=whatever_it_is
    MAILDIR=directory_where_your_incoming_mail_goes
    DEFAULT=$MAILDIR/your_inbox

    :0:
    ! address_to_forward_to



    Alan C


    --

    take control of your mailbox ----- elrav1 ----- [url]http://tinyurl.com/l55a[/url]


    Alan Connor Guest

  4. #3

    Default Re: delete forwarding message copy

    Alan Connor wrote:
    > On Mon, 08 Sep 2003 00:02:30 -0400, Jean-Louis Vill <jlvill@sympatico.ca> wrote:
    >
    >>
    >>Hi everybody,
    >>
    >>I configured Postfix on my server. I want only forward my email and I
    >>don't want keep a copy on my server (two place to check email).
    >>
    >>Is it possible, with .forward file, to forward a email only . I don't
    >>want use aliases.db.
    >>
    >>May be somebody can help me.
    >>
    >>
    >>Thanks!
    >>
    >>Jean-Louis Vill
    >>
    >>Please send me your answer at [email]jlvill@sympatico.ca[/email]
    >>
    >
    >
    > If you used procmail, then this .procmailrc would do what you want:
    >
    >
    > SHELL=/bin/whatever
    > PATH=whatever_it_is
    > MAILDIR=directory_where_your_incoming_mail_goes
    > DEFAULT=$MAILDIR/your_inbox
    >
    > :0:
    > ! address_to_forward_to
    >
    >
    >
    > Alan C
    >
    >
    Hi Alan,
    I use postfix but may be I can do the same thing than procmail... but
    can you explain to me what the command means (what you wrote).
    > SHELL=/bin/whatever
    > PATH=whatever_it_is
    > MAILDIR=directory_where_your_incoming_mail_goes
    > DEFAULT=$MAILDIR/your_inbox
    >
    > :0:
    > ! address_to_forward_to
    Thanks for your explanations ;-)

    Jean-Louis Vill Guest

  5. #4

    Default Re: delete forwarding message copy

    On Mon, 08 Sep 2003 23:01:45 -0400, Jean-Louis Vill <jlvill@sympatico.ca> wrote:
    >
    >
    > Alan Connor wrote:
    >> On Mon, 08 Sep 2003 00:02:30 -0400, Jean-Louis Vill <jlvill@sympatico.ca> wrote:
    >>
    >>>
    >>>Hi everybody,
    >>>
    >>>I configured Postfix on my server. I want only forward my email and I
    >>>don't want keep a copy on my server (two place to check email).
    >>>
    >>>Is it possible, with .forward file, to forward a email only . I don't
    >>>want use aliases.db.
    >>>
    >>>May be somebody can help me.
    >>>
    >>>
    >>>Thanks!
    >>>
    >>>Jean-Louis Vill
    >>>
    >>>Please send me your answer at [email]jlvill@sympatico.ca[/email]
    >>>
    >>
    >>
    >> If you used procmail, then this .procmailrc would do what you want:
    >>
    >>
    >> SHELL=/bin/whatever
    >> PATH=whatever_it_is
    >> MAILDIR=directory_where_your_incoming_mail_goes
    >> DEFAULT=$MAILDIR/your_inbox
    >>
    >> :0:
    >> ! address_to_forward_to
    >>
    >>
    >>
    >> Alan C
    >>
    >>
    > Hi Alan,
    > I use postfix but may be I can do the same thing than procmail... but
    > can you explain to me what the command means (what you wrote).
    >
    > > SHELL=/bin/whatever
    > > PATH=whatever_it_is
    > > MAILDIR=directory_where_your_incoming_mail_goes
    > > DEFAULT=$MAILDIR/your_inbox
    > >
    > > :0:
    > > ! address_to_forward_to
    >
    > Thanks for your explanations ;-)
    >

    Postfix is an MTA, procmail is an MDA. It stands between whatever program
    retrieves your mail (often fetchmail) and your mailbox, and proc(esses)mail.


    That's a minimal ~/.procmailrc file, which can do about anything with your
    mail you want, from forwarding mail to weeding out spam to sending your mail
    to various mailboxes to sending auto-replies.....


    The upper four lines are environmental variables procmail needs set to run,
    (you could make due in this case with only the top two) and what follows
    that is a simple forwarding recipe:



    :0

    begin a recipe

    :0: have procmail assign a lockfile in case you get a lot of mail coming in
    at the same time.


    since there are no conditions in this recipe, such as:

    :0:
    * ^From.*jack@hotmail.com
    ! [email]jill@hottermail.com[/email]


    which would forward only mail from jack to jill, ALL mail is forwarded to
    whatever address you choose.


    If you fetch your mail with fetchmail, then to use procmail you will need


    this (>) line in your ~.fetchmailrc: (this is my .fetchmailrc, with the
    password obscured)


    poll pop.earthlink.net
    tracepolls
    proto pop3
    user "alanconnor@earthlink.net"
    pass "xxxxxxx"
    is alanc here
    > and wants mda "/usr/bin/formail -ds /usr/bin/procmail"
    fetchall




    or this line in your ~/.forward:


    "|IFS=' ' && exec /usr//bin/procmail || exit 75 #myid"


    include the quotes and make sure that's where procmail is and substitute
    the output of whoami for #myid.


    I don't know postfix.



    Hope this helps, Jean-Louis




    Alan C



    --

    take control of your mailbox ----- elrav1 ----- [url]http://tinyurl.com/l55a[/url]


    Alan Connor Guest

Posting Permissions

  • You may not post new threads
  • You may 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