Armin,
Could somebody help me to understand/direct why checks is working
as designed with more than internal envelope address.
Using this with a combination of in-/external envelope
dynamic_altermime_disclaimer is called for internal email as well.
sub checks {
my($self, $conn,
Armin,
Mark,
it should say something like:
# don't bother with inbound or internal-to-internal mail
(or the condition should be changed)
Changed.
Using this with a combination of in-/external envelope
dynamic_altermime_disclaimer is called for internal email as well.
That's it! But, I
List,
Could somebody help me to understand/direct why checks is working as
designed with more than internal envelope address.
Using this with a combination of in-/external envelope
dynamic_altermime_disclaimer is called for internal email as well.
sub checks {
my($self, $conn, $msginfo) =
David,
I try to get parts file path location and part size
here is my code
my($tempdir) = $msginfo-mail_tempdir;
my($mail_file_name) = $msginfo-mail_text_fn;
my $size;
if ($msginfo-mime_entity-parts 0){
for (my $i=0;$i$msginfo-mime_entity-parts;$i++){
my $subEntity =
: amavis-user@lists.sourceforge.net
Sujet: Re: [AMaViS-user] [Amavis::Custom]: get parts size and location
temporary path
Date: Tue, 27 Jan 2009 14:22:55 +0100
David,
I try to get parts file path location and part size
here is my code
my($tempdir) = $msginfo-mail_tempdir;
my($mail_file_name
David,
I have created a tool that parse the amavis temp txt file
(eg : /var/amavis/afj0siVX/email.txt) , strip attachments and
compress attachments and rebuild the mail
the temp file (/var/amavis/afj0siVX/email.txt) was replaced by a new
one
in the checks() function, a command is
}
#$ldap-unbind();
$self;
};
Message initial
De: Mark Martinec mark.martinec+ama...@ijs.si
À: amavis-user@lists.sourceforge.net
Sujet: Re: [AMaViS-user] [Amavis::Custom]: replace the entire mail using
the temporay file
Date: Mon, 26 Jan 2009 19:37:13 +0100
my($out_fh) = IO::File
David,
I really don't understand
this my function and the mail is not changed, only the original is
passed trought.
Just one information.
I'm using Postfix + amavis-milter (perhaps it change something)...
Ah yes, that explains it. The milter/amavisd interface does not currently
support
Dear
I try to get parts file path location and part size
here is my code
my($tempdir) = $msginfo-mail_tempdir; # working directory for this
process
my($mail_file_name) = $msginfo-mail_text_fn;
my $size;
if ($msginfo-mime_entity-parts 0){
for (my
Dear
I have created a tool that parse the amavis temp txt file
(eg : /var/amavis/afj0siVX/email.txt) , strip attachments and
compress attachments and rebuild the mail
the temp file (/var/amavis/afj0siVX/email.txt) was replaced by a new
one
in the checks() function, a command is
Many thanks for your information
OK il developp a such tool that rebuild the message.
Is the execution of external process system perl function working in the
custom area ?
but when my tool has rebuild the message, where i put it ? replace the
file in the working directory ?
How to notify amavis
Dear
What is the function in Amavis::Custom that help detecting that the
sender address is whitelisted or not ?
Currently, my whitelist and blacklist are stored in the LDAP database.
I think it will be a loosing time to request 2 times the LDAP database
since amavis already do the operation...
David,
I have a project using amavis in order to add auto-compress feature when
mails meet specific rules.
I would like to know what function in Amavis::Custom can be use to :
- List Mime-parts
- Extract files.
- Delete attached files
- Adding new attached files.
I can do this by
Lucas,
I would like to take this message to ask about quarantine.
In my amavis::custom, I use CC_SPAM to discard the e-mail,
but the message has been stored at disk.
These filters are developed in checks function.
Is there the way to discard the message entirely?
You could employ the
Dear
I have a prohect using amavis in order to add auto-compress feature when
mails meet specific rules.
I would like to know what function in Amavis::Custom can be use to :
- List Mime-parts
- Extract files.
- Delete attached files
- Adding new attached files.
I can do this by executing a
On Wed, Jan 7, 2009 at 6:49 PM, Mark Martinec
mark.martinec+ama...@ijs.si wrote:
David,
*** Amavis send to recipients has Passed BANNED !
Similar to my previous example, but this one shows
how to block mail as banned:
sub checks {
my($self,$conn,$msginfo) = @_;
for my $r
David,
I use Amavis::Custom in order to add my own plugin.
For testing i try to judge all mails received has infected
All mails came from Fetchmail so the connection is 127.0.0.1
i have removed 127.0.0.1 in @mynetworks attribute
In This case, all mails are forwarded to recipients instead
David,
*** Amavis send to recipients has Passed BANNED !
Similar to my previous example, but this one shows
how to block mail as banned:
sub checks {
my($self,$conn,$msginfo) = @_;
for my $r (@{$msginfo-per_recip_data}) {
# $r-add_contents_category(CC_VIRUS,0) if
super ! thanks
And what about if i just want to ban instead warn virus ?
Mark Martinec a écrit :
David,
I use Amavis::Custom in order to add my own plugin.
For testing i try to judge all mails received has infected
All mails came from Fetchmail so the connection is 127.0.0.1
i have
Many many thanks
This is very great
I fact this way is more powerfull ! no i can code many things !!
Mark Martinec a écrit :
David,
*** Amavis send to recipients has Passed BANNED !
Similar to my previous example, but this one shows
how to block mail as banned:
sub checks {
David,
And what about if i just want to ban instead warn virus ?
I'm not sure I understand the question.
If what you mean is how to label mail as banned (instead of infected),
see my other posting.
If a question is about blocking vs. sending warnings to recips vs. sending
a non-delivery
You right
your last post answers my needs.
the first needs is
To bann specific internal users sending mails trought Internet with data
stored in Openldap database server
To bann mails comming trought gateway by Geoip (countries, cities)
locations
Mark Martinec a écrit :
David,
And what
Dear my custom script will block any message passed by the custome
script (just for testing)
It seems that amavis don't care about the result of Amavis::Custom
What can i do in order to force the mail to reject the message ? how to
change final_destiny to D_DISCARD ?
Jan 3 18:09:48 pc-touzeau
Dear
I use Amavis::Custom in order to add my own plugin.
For testing i try to judge all mails received has infected
All mails came from Fetchmail so the connection is 127.0.0.1
i have removed 127.0.0.1 in @mynetworks attribute
But all mails are forwarded to recipients instead being refused
24 matches
Mail list logo