Re: [AMaViS-user] Amavis Crashes on Solaris x86

2010-09-14 Thread Ihsan Dogan
Hello Mark,

On 09/13/10 15:42, Ihsan Dogan wrote:

 A detailed log may narrow down the problem area. If the crash
 occurs within SpamAssassin, that would be: $sa_debug=1;
 along with $log_level 3 or more (preferably 5).

 Ok, I'll try that.

I've changed sa_debug to 1 and log_level to 5. This are the last log 
entries before the crash:

Sep 13 22:04:22 ocswchzrhse01 amavis[3003]: [ID 702911 mail.info] 
(03003-02) SA dbg: rules: running rawbody_eval tests; score
so far=14.435
Sep 13 22:04:22 ocswchzrhse01 amavis[3003]: [ID 702911 mail.info] 
(03003-02) SA dbg: rules: ran eval rule __MIME_QP == go
t hit (1)
Sep 13 22:04:22 ocswchzrhse01 amavis[3003]: [ID 702911 mail.info] 
(03003-02) SA dbg: rules: running full tests; score so far=14.435
Sep 13 22:04:22 ocswchzrhse01 amavis[3003]: [ID 702911 mail.info] 
(03003-02) SA dbg: rules: running full_eval tests; score so far=14.435
Sep 13 22:04:22 ocswchzrhse01 amavis[3003]: [ID 702911 mail.info] 
(03003-02) SA dbg: dns: entering helper-app run mode
Sep 13 22:04:23 ocswchzrhse01 amavis[2957]: [ID 702911 mail.info] 
Net::Server: 2010/09/13-22:04:23 Server closing!
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) SpamControl: rundown_child on SpamAssassin done
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) child_finish_hook: invoking DESTROY methods
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) Amavis::TempDir DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) TempDir removal: empty tempdir is being removed: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220417-03004
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) rmdir_recursively: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220417-03004, excl=
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) rmdir_recursively: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220417-03004/parts, excl=0
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) Amavis::Cache DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) SpamControl: rundown_child on SpamAssassin done
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) child_finish_hook: invoking DESTROY methods
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) Amavis::TempDir DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) TempDir removal: empty tempdir is being removed: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220412-03001
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) rmdir_recursively: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220412-03001, excl=
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) rmdir_recursively: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220412-03001/parts, excl=0
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) Amavis::Cache DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) SpamControl: rundown_child on SpamAssassin done
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) child_finish_hook: invoking DESTROY methods
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) Amavis::TempDir DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) TempDir removal: empty tempdir is being removed: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220419-03005
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) rmdir_recursively: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220419-03005, excl=
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) rmdir_recursively: 
/opt/csw/var/amavisn/tmp/amavis-20100913T220419-03005/parts, excl=0
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) Amavis::Cache DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3003]: [ID 702911 mail.debug] 
(03003-02) SpamControl: rundown_child on SpamAssassin done
Sep 13 22:04:23 ocswchzrhse01 amavis[3003]: [ID 702911 mail.debug] 
(03003-02) child_finish_hook: invoking DESTROY methods
Sep 13 22:04:23 ocswchzrhse01 amavis[3003]: [ID 702911 mail.debug] 
(03003-02) Amavis::Cache DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3004]: [ID 702911 mail.debug] 
(03004-01) Amavis::DB::SNMP DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3005]: [ID 702911 mail.debug] 
(03005-01) Amavis::DB::SNMP DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3001]: [ID 702911 mail.debug] 
(03001-02) Amavis::DB::SNMP DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3003]: [ID 702911 mail.debug] 
(03003-02) Amavis::DB::SNMP DESTROY called
Sep 13 22:04:23 ocswchzrhse01 amavis[3003]: [ID 702911 mail.debug] 
(03003-02) LMTP 421 4.3.2 Service shutting down, closing channel
Sep

Re: [AMaViS-user] Amavis Crashes on Solaris x86

2010-09-13 Thread Ihsan Dogan
Hello Mark,

On 09/07/10 15:49, Mark Martinec wrote:

 Is this reproducible by submitting the same problematic message?
 Better still, reproducible using a command line spamassassin?

No, unfortunately not.

 A detailed log may narrow down the problem area. If the crash
 occurs within SpamAssassin, that would be: $sa_debug=1;
 along with $log_level 3 or more (preferably 5).

Ok, I'll try that.

 It seems the crash occurs while attempting to extend the
 process' virtual memory (the _morecore). Could it be that the
 swap space is too small? Or perhaps we are dealing with a
 runaway regular expression.

Oh, this might be the Actually, this might be an issue with VmWare's 
memory balloon driver. I'll try first to disable the vmmemctl driver.



Ihsan

-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org


[AMaViS-user] Amavis Crashes on Solaris x86

2010-09-05 Thread Ihsan Dogan
Hello,

I've got a problem on a Solaris x86 host (running within VmWare).
Recently, Amavis crashes very (core dumps) very offen and I can't find a
reason why.

A backtrace of the core dump:
#0  0xfeb25302 in t_splay () from /lib/libc.so.1
#1  0x09a21d30 in ?? ()
#2  0xfebfe000 in _sys_cldlist () from /lib/libc.so.1
#3  0x08047590 in ?? ()
#4  0xfeb25032 in _morecore () from /lib/libc.so.1
#5  0x09a27d80 in ?? ()
#6  0x0090 in ?? ()
#7  0x09a21c98 in ?? ()
#8  0xfebfe000 in _sys_cldlist () from /lib/libc.so.1
#9  0x6048 in ?? ()
#10 0x080475b8 in ?? ()
#11 0xfeb24edb in realfree () from /lib/libc.so.1
#12 0x09a21d38 in ?? ()
#13 0x09a21ca0 in ?? ()
#14 0x08060e08 in ?? ()
#15 0xfefa86a0 in ?? () from /opt/csw/lib/i386/libperl.so.5.10.1
#16 0x0078 in ?? ()
#17 0x0079 in ?? ()
#18 0x09a21ca0 in ?? ()
#19 0x09a21d18 in ?? ()
#20 0x080475d4 in ?? ()
#21 0xfeee5ed7 in Perl_safesysrealloc ()
   from /opt/csw/lib/i386/libperl.so.5.10.1

Running Amavisd-new 2.6.4 with Perl 5.10 and Spamassassin 3.3.1.




Ihsan

-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org


[AMaViS-user] amavisd-new-2.6.3: Solaris package available

2009-04-25 Thread Ihsan Dogan
Hello,

I've updated the package to 2.6.3 and it's available on OpenCSW.
-- http://www.opencsw.org/packages/amavisd_new



Ihsan

-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] ANNOUNCE: amavisd-new-2.6.3 released

2009-04-25 Thread Ihsan Dogan
Am 22.4.2009 2:59 Uhr, Mark Martinec schrieb:

 Version 2.6.3 of amavisd-new has been released, it is available at:
 
   http://www.ijs.si/software/amavisd/amavisd-new-2.6.3.tar.gz


-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Converting TNEF - HTML (feature request)

2009-04-19 Thread Ihsan Dogan
Hello Mark,

Am 3.4.2009 18:46 Uhr, Mark Martinec schrieb:

  There are many people sending e-mails with Microsoft's proprietary
TNEF
  format, which most of the e-mail clients can't read.
 
  Would it be possible to implement the converting functionality to
  amavis, that TNEF mails would be converted to HTML?
 
  Currently this is only possible through invoking an external program
  from amavisd, using the existing hook for altermime (but supplying
  some other program or script instead). Although amavisd can take
  a message apart, there is currently no provision to replace some part
  and reassemble the message.

I would really appreciate it, if you could implement this.

It would probably help others, where users are sending TNEF mails.




Ihsan

-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
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] Converting TNEF - HTML (feature request)

2009-03-30 Thread Ihsan Dogan
Hello,

There are many people sending e-mails with Microsoft's proprietary TNEF
format, which most of the e-mail clients can't read.

Would it be possible to implement the converting functionality to
amavis, that TNEF mails would be converted to HTML?




Ihsan

-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
___
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] Converting TNEF automatically to MIME on the mailserver

2008-12-12 Thread Ihsan Dogan
Hello,

This might be slightly off topic here, but are there any comfortable
ways with to convert TNEF to MIME directly on the mail server?




Ihsan

-- 
ih...@dogan.ch  http://blog.dogan.ch/

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] remove_existing_spam_headers - per user

2008-11-25 Thread Ihsan Dogan
Hello Martin,

Am 24.11.2008 18:22 Uhr, Mark Martinec schrieb:

 Is it possible to set remove_existing_spam_headers per user and not only
 globally?
 
 Not without changing code. I consider it an administrator setting.

If I will send you a parcel of delicious Swiss chocolate, will the
chocolate have a positive influence on your decision?

 It would not be too much work to make it into a per-recipient
 setting. Code section that removes them would need to be
 moved from add_forwarding_header_edits_common to
 sub add_forwarding_header_edits_per_recip, its clustering key
 should be made aware of it, and some @*_maps list of lookup
 tables would need to be added and queried.

I would really appreciate it, if you could implement it in amavis.



Greetings from Switzerland,
Ihsan

-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] dkim: public key not available

2008-11-19 Thread Ihsan Dogan
Hello,

I was trying to setup dkim and I'm running into problem. I've generated
the key with amavisd genrsa /path/to/key.pem and put this into the
configuration file:

$enable_dkim_signing = 1;
dkim_key('dogan.ch',»··· 'abc',
'/opt/csw/var/amavisn/db/dkim/dogan.ch.key.pem');

When I run amavisd testkeys I'm getting this error:
TESTING: abc._domainkey.dogan.ch   = invalid (public key: not
available)

Any idea what's going wrong here?




Ihsan

-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] DKIM: SMTP-AUTH not signed

2008-11-19 Thread Ihsan Dogan
Hello,

DKIM works for me so far. If I send an e-mail through the webmail
interface, the E-Mail is signed.
If I send an e-mail with a regular client, which is authenticated with
SMTP-AUTH, the mail is not signed.

Is it possible to catch these mails as well?





Ihsan


-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] DKIM: SMTP-AUTH not signed

2008-11-19 Thread Ihsan Dogan
Hello Mark,

Am 19.11.2008 13:11 Uhr, Mark Martinec schrieb:

 DKIM works for me so far. If I send an e-mail through the webmail
 interface, the E-Mail is signed.
 If I send an e-mail with a regular client, which is authenticated with
 SMTP-AUTH, the mail is not signed.
 Is it possible to catch these mails as well?

 'originating' flag must be on to permit DKIM signing.

Ok.

[...]

 A more general way of turning up the 'originating' flag is through a
 policy bank, e.g.:

 $inet_socket_port = [10024,10026];

 $interface_policy{'10026'} = 'ORIGINATING';

 $policy_bank{'ORIGINATING'} = {  # mail originating from our users
   originating = 1,
 # force MTA conversion to 7-bit before DKIM signing
 # to avoid later conversions, destroying signature:
   smtpd_discard_ehlo_keywords = ['8BITMIME'],
 };

 Any mail which MTA will pass to a filter on port 10026 (but not on 10024)
 will now be eligible for DKIM signing. This is useful for mail submitted
 from authenticated roaming clients which have foreign IP addresses.


 pickupfifo  n   -   n   60  1   pickup
   -o content_filter=amavisfeed:[127.0.0.1]:10026

I would prefer this solution more, but SASL authenticated mail is
normally not handled by pickup. Is there a way, to put the 'originating'
flag to SASL authenticated mails?



Ihsan

-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] DKIM: SMTP-AUTH not signed

2008-11-19 Thread Ihsan Dogan
Hello Martin,

Am 19.11.2008 15:10 Uhr, Mark Martinec schrieb:

 Any mail which MTA will pass to a filter on port 10026 (but not on 10024)
 will now be eligible for DKIM signing. This is useful for mail submitted
 from authenticated roaming clients which have foreign IP addresses.

 See also:
   http://marc.info/?l=postfix-usersm=122658465804423
 
 pickupfifo  n   -   n   60  1   pickup
   -o content_filter=amavisfeed:[127.0.0.1]:10026
 I would prefer this solution more, but SASL authenticated mail is
 normally not handled by pickup. Is there a way, to put the 'originating'
 flag to SASL authenticated mails?
 
 Just follow the combined advise from mouss and me in the
 referenced Postfix thread, it covers mail from SASL authenticated
 and from local networks.

I'm sorry, I haven't read carefully enough.

I've set that up, but something is not working right:

Nov 19 16:20:25 bender postfix/smtpd[27979]: [ID 197553 mail.info]
NOQUEUE: filter: RCPT from mx1.cnd-ag.ch[82.197.176.19]:
mx1.cnd-ag.ch[82.197.176.19]: Client host triggers FILTER
amavisauth:[127.0.0.1]:10026; from=[EMAIL PROTECTED]
to=[EMAIL PROTECTED] proto=ESMTP helo=mx1.cnd-ag.ch

Nov 19 16:20:25 bender postfix/smtpd[27979]: [ID 197553 mail.info]
NOQUEUE: filter: RCPT from mx1.cnd-ag.ch[82.197.176.19]:
mx1.cnd-ag.ch[82.197.176.19]: Client host triggers FILTER
amavisfeed:[127.0.0.1]:10024; from=[EMAIL PROTECTED]
to=[EMAIL PROTECTED] proto=ESMTP helo=mx1.cnd-ag.ch

When I receive an e-mail, it seems that it triggers on both, but it
selects amavisfeed.

If a mail comes in through SMTP-AUTH it goes also throught amavisfeed.

I've did this settings:

smtpd_client_restrictions =

check_client_access pcre:/etc/postfix/filter_outbound

permit_mynetworks

permit_sasl_authenticated

check_client_access pcre:/etc/postfix/filter_inbound


I've disabled the content_filter for that.

I have to admit, that I'm using permit_sasl_authenticated on different
places:
smtpd_recipient_restrictions = permit_sasl_authenticated,
smtpd_helo_restrictions = permit_sasl_authenticated,
smtpd_sender_restrictions = permit_sasl_authenticated,




Ihsan


-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] DKIM: SMTP-AUTH not signed

2008-11-19 Thread Ihsan Dogan
Hello,

Am 19.11.2008 17:59 Uhr, Mark Martinec schrieb:

 If a mail comes in through SMTP-AUTH it goes also throught amavisfeed.

 I've did this settings:

 smtpd_client_restrictions =
 check_client_access pcre:/etc/postfix/filter_outbound
 permit_mynetworks
 permit_sasl_authenticated
 check_client_access pcre:/etc/postfix/filter_inbound
 
 So far so good. Within smtpd_client_restrictions the filter_outbound
 will apply if mail is from mynetworks or is sasl_authenticated.

It was my mistake. I'm normally using the Submission port, which is not
covered here. DKIM signing through the regular smtp port works fine now.

For the submission port, I've added this to master.cf:
submission inet n   -   n   -   -   smtpd
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o content_filter=amavisauth:[127.0.0.1]:10026

Mark, thank you very much for your help.




Ihsan

-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] external decoder for .tar

2007-12-14 Thread Ihsan Dogan
Hello,

I would like to use /usr/bin/tar as an external decoder for tar files
and added this to the config file:

['tar',  \do_tar,   ['tar'] ],

Unfortunately it does not work and I've got this error:

Dec 14 14:06:01 z-lahmacun amavis[15569]: [ID 702911 mail.warning]
(15569-01) (!)Decoding of p006 (USTAR tar archive extended format)
failed, leaving it unpacked: Undefined subroutine
Amavis::Unpackers::do_tar called at (eval 58) line 250.

I think I did something wrong, but I can't see what exactly.




Ihsan


-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/
http://ihsan.dogan.ch/

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] external decoder for .tar

2007-12-14 Thread Ihsan Dogan
Am 14.12.2007 14:45 Uhr, Henrik Krohns schrieb:

 Dec 14 14:06:01 z-lahmacun amavis[15569]: [ID 702911 mail.warning]
 (15569-01) (!)Decoding of p006 (USTAR tar archive extended format)
 failed, leaving it unpacked: Undefined subroutine
 Amavis::Unpackers::do_tar called at (eval 58) line 250.

 I think I did something wrong, but I can't see what exactly.
 
 It's right there in the example config file..
 
 ['tar',  \do_pax_cpio,'tar'],

I tried that already:

Dec 14 14:56:24 z-lahmacun amavis[15811]: [ID 702911 mail.warning]
(15811-01) (!)Decoding of p004 (USTAR tar archive extended format)
failed, leaving it unpacked: do_pax_cpio: exit 1 tar: /dev/rmt/0: No
such file or directory at (eval 58) line 1322.

Is it possible, that amavis expects GNU tar?



Ihsan
-- 
[EMAIL PROTECTED]   http://blog.dogan.ch/
http://ihsan.dogan.ch/

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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/