Re: [AMaViS-user] local sendmail command.

2008-04-09 Thread Mark Martinec
Andrew,

 What would be the proper way to include programs that do use sendmail,
 instead of SMTP to be included in MYNETS scan?

Add 0.0.0.0/8 to a @mynetworks list, or do what Gary suggests.


amavisd-new-2.4.5 release notes:

- for the purpose of looking up client IP address in @mynetworks_maps,
  treat unknown/unavailable IP address as 0.0.0.0;  this allows treating
  directly submitted mail on the MTA host (not submitted through SMTP)
  as coming from IP address 0.0.0.0 (i.e. This Network - according to
  RFC 1700);

  Note that this is indistinguishable from other reasons when IP address
  is not made available to amavisd, e.g. when smtp_send_xforward_command
  option in Postfix smtp service is not enabled, which is why the default
  setting of @mynetworks does not include a 0.0.0.0/8 network to prevent
  unintentionally loading a MYNETS policy bank.

  One should add 0.0.0.0/8 to a @mynetworks list only when XFORWARD is known
  to work and if some software on the MTA host is submitting its mail to MTA
  directly, e.g. through a sendmail command, and MYNETS policy bank loading
  is needed for proper processing of such mail;


Mark

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] local sendmail command.

2008-04-07 Thread Gary V
On 4/6/08, Andrew Nady wrote:
 On April 6, 2008, mouss wrote:
   with postfix,
   # cat master.cf
   ...
   pickupfifo  n   -   n   60  1   pickup
   -o content_filter=
   ...
  
   will skip the filter for mail submitted using the (postfix) sendmail
   command
  
  
 
  a word of caution: only use this if you fully trust mail submitted via
  sendmail. if you have a web application or users using the sendmail
  command, then you should not skip filtering.

 Hmm,
 What would be the proper way to include programs that do use sendmail, instead
 of SMTP to be included in MYNETS scan?

 Thank for your input.

 --
 How much net work could a network work, if a network could net work?


Create another policy bank (with the same substance as your MYNETS
policy bank if desired). See example:
http://www200.pair.com/mecham/spam/bypassing.html#11

-- 
Gary V

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] local sendmail command.

2008-04-06 Thread mouss
mouss wrote:
 Andrew Nady wrote:
   
 Hi,
 I am having some difficulties with programs that use postfix's or other 
 MTA's sendmail command to send out email as oppose to SMTP connection.
 The sendmail triggered email gets marked as SPAM, and I have no idea as to 
 how to trick amavis to not check the emails originating with a sendmail 
 command on the localhost.
   
 


 with postfix,
 # cat master.cf
 ...
 pickupfifo  n   -   n   60  1   pickup
 -o content_filter=
 ...

 will skip the filter for mail submitted using the (postfix) sendmail command

   

a word of caution: only use this if you fully trust mail submitted via 
sendmail. if you have a web application or users using the sendmail 
command, then you should not skip filtering.




-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] local sendmail command.

2008-04-06 Thread mouss
Andrew Nady wrote:
 Hi,
 I am having some difficulties with programs that use postfix's or other 
 MTA's sendmail command to send out email as oppose to SMTP connection.
 The sendmail triggered email gets marked as SPAM, and I have no idea as to 
 how to trick amavis to not check the emails originating with a sendmail 
 command on the localhost.
   


with postfix,
# cat master.cf
...
pickupfifo  n   -   n   60  1   pickup
-o content_filter=
...

will skip the filter for mail submitted using the (postfix) sendmail command


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] local sendmail command.

2008-04-06 Thread Andrew Nady
On April 6, 2008, mouss wrote:
  with postfix,
  # cat master.cf
  ...
  pickup    fifo  n       -       n       60      1       pickup
      -o content_filter=
  ...
 
  will skip the filter for mail submitted using the (postfix) sendmail
  command
 
   

 a word of caution: only use this if you fully trust mail submitted via
 sendmail. if you have a web application or users using the sendmail
 command, then you should not skip filtering.

Hmm,
What would be the proper way to include programs that do use sendmail, instead 
of SMTP to be included in MYNETS scan?

Thank for your input.

-- 
How much net work could a network work, if a network could net work?

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] local sendmail command.

2008-04-05 Thread Andrew Nady
Hi,
I am having some difficulties with programs that use postfix's or other 
MTA's sendmail command to send out email as oppose to SMTP connection.
The sendmail triggered email gets marked as SPAM, and I have no idea as to 
how to trick amavis to not check the emails originating with a sendmail 
command on the localhost.

Thanks.
-- 
How much net work could a network work, if a network could net work?

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/