Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
Jean-Louis Vill #1
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
-
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... -
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... -
***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... -
***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... -
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... -
Alan Connor #2
Re: delete forwarding message copy
On Mon, 08 Sep 2003 00:02:30 -0400, Jean-Louis Vill <jlvill@sympatico.ca> wrote:
If you used procmail, then this .procmailrc would do what you want:>
>
> 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]
>
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
-
Jean-Louis Vill #3
Re: delete forwarding message copy
Alan Connor wrote:
Hi Alan,> 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
>
>
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).
Thanks for your explanations ;-)> SHELL=/bin/whatever
> PATH=whatever_it_is
> MAILDIR=directory_where_your_incoming_mail_goes
> DEFAULT=$MAILDIR/your_inbox
>
> :0:
> ! address_to_forward_to
Jean-Louis Vill Guest
-
Alan Connor #4
Re: delete forwarding message copy
On Mon, 08 Sep 2003 23:01:45 -0400, Jean-Louis Vill <jlvill@sympatico.ca> wrote:
>
>
> Alan Connor wrote:> Hi Alan,>> 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
>>
>>
> 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 herefetchall> and wants mda "/usr/bin/formail -ds /usr/bin/procmail"
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



Reply With Quote

