List Info

Thread: Re: How to send message to another account




Re: How to send message to another account
country flaguser name
Czech Republic
2007-03-05 07:36:09
Thank you for you advice!

I haven`t tested it yet, but it probably won`t work because
of infinite 
loop of refiltering.

mail->postfix->maildrop -> maildroprc ->
sendmail anotheraccount -> 
maildroprc ->sendmail anotheraccount -> maildroprc
-> sendmail 
anotheraccount....

And if i use "cc", this message obviously wouldn't
be *forwarded*, just 
*copied* to another account, wouln't it true?

Thank you!

Vladimir


mouss napsal(a):
> Sam Varshavchik wrote:
>   
>> Vladimir Dvorak writes:
>>
>>     
>>> Could you direct me how can I send message with
some header to 
>>> another mail account?
>>>       
>> if (/^Someheader: somevalue/)
>> {
>>    cc "| sendmail anotheraccount"
>> }
>>
>>
>> anotheraccount's maildrop recipe does need to be
aware of forwarded 
>> mail, and filter it accordingly.
>>     
>
> and mail filtering should be disabled for resubmited
mail. there's no 
> point to refilter again, nor to pollute whatever
bayesian db you use...
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Courier-maildrop mailing list
> Courier-maildroplists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/courie
r-maildrop
>
>   


-- 
 Vladimir Dvorak
 UNIX/Linux 
 * VDSOFT.ORG                 email: dvorakvvdsoft.org    *
 * tel: (+420) 602 944 941    web:   http://www.vdsoft.org *


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-maildrop mailing list
Courier-maildroplists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courie
r-maildrop

Re: How to send message to another account
country flaguser name
France
2007-03-05 17:05:05
Vladimir Dvorak wrote:
> Thank you for you advice!
>
> I haven`t tested it yet, but it probably won`t work
because of infinite 
> loop of refiltering.
>
> mail->postfix->maildrop -> maildroprc ->
sendmail anotheraccount -> 
> maildroprc ->sendmail anotheraccount ->
maildroprc -> sendmail 
> anotheraccount....
>   

This is getting off topic, but it would be bad to stop the
thread at 
this point. further discussion should go to the postfix ML.

You can disable filtering for mail submitted using the
sendmail command. 
In postfix, you just put "-o content_filter="
under the 'pickup' service 
in master.cf. warning: this really disables filtering for
all mail 
submitted using the 'sendmail' command. should be ok except
if you have 
untrusted programs running on the box (open web forms).



> And if i use "cc", this message obviously
wouldn't be *forwarded*, just 
> *copied* to another account, wouln't it true?
>   
you can indeed use cc to copy to another mail file, provided
maildrop 
has permission to do so. if using a single uid/gid virtual
store, this 
is trivial, but setuid may be enough.


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-maildrop mailing list
Courier-maildroplists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courie
r-maildrop

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )