[AMaViS-user] changing amavis.conf using php

2006-01-21 Thread sai
I want to change amavis.conf from a script (probably a web app written
in php). Has any one written something for this already? Is there a
utility like postconf that we can use to make life easier?

sai


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
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] dual servers and dual sendmail

2006-01-21 Thread bart
Hi
I am trying to run amavisd on external server.
This is my configuration.

server A - dual sendmail setup
 cut thishost-rc.mc

define(`MAIL_HUB',  `esmtp:[server_B_IP]')dnl  Forward all local mail to amavisd
define(`SMART_HOST',`esmtp:[server_B_IP]')dnl  Forward all other mail to amavisd
define(`ESMTP_MAILER_ARGS',`TCP $h 10024')dnl  To tcp port 10024 instead of 25

  cut  thishost-tc.mc
 
DAEMON_OPTIONS(`Addr=0.0.0.0, Port=10025, Name=MTA-TX')


server B - amavisd setup

$forward_method = 'smtp:*:*';
$notify_method = $forward_method;
$inet_socket_port = [10024,10026];
@inet_acl = qw(127.0.0.1 [::1] server_A_IP);

-- end

I have problem with local configuration error.

Server A logs

Jan 21 15:18:33 bc1 sm-mta-tx[17326]: k0LEIXGm017326: from=[EMAIL PROTECTED], 
size=2011, class=0, nrcpts=1, bodytype=8BITMIME, proto=ESMTP, daemon=MTA-TX, 
relay=bc2 [server_B_IP]
Jan 21 15:18:33 bc1 sm-mta-tx[17328]: k0LEIXGm017326: SYSERR(root): mydomain.pl 
config error: mail loops back to me (MX problem?)
Jan 21 15:18:33 bc1 sm-mta-rx[17329]: k0LEIXko017329: bc1.mydomain.pl 
[server_A_IP] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-RX
Jan 21 15:18:33 bc1 sm-mta-tx[17328]: k0LEIXGm017326: to=[EMAIL PROTECTED], 
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=32011, relay=mydomain.pl 
[server_A_IP], dsn=5.3.5, stat=Local configuration error
Jan 21 15:18:33 bc1 sm-mta-tx[17328]: k0LEIXGm017326: k0LEIXGm017328: DSN: 
Local configuration error
Jan 21 15:18:33 bc1 sm-mta-rx[17321]: k0LEI2IN017215: to=[EMAIL PROTECTED], 
delay=00:00:30, xdelay=00:00:02, mailer=esmtp, pri=121556, relay=[server_B_IP] 
[server_B_IP], dsn=2.0.0, stat=Sent


Server B logs

Jan 21 15:03:30 bc2 amavis[30516]: (30516-09) Passed CLEAN, [XX.18.211.XXX] 
[EMAIL PROTECTED] - [EMAIL PROTECTED], mail_id: mz0Be789NyTV, Hits: -1.14, 
1944 ms


I think that there is something wrong with line
Jan 21 15:18:33 bc1 sm-mta-tx[17328]: k0LEIXGm017326: to=[EMAIL PROTECTED], 
delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=32011, relay=mydomain.pl 
[server_A_IP], dsn=5.3.5, stat=Local configuration error
because it usualy looks like to=[EMAIL PROTECTED] and in above configuraton 
is should look like
to=[EMAIL PROTECTED] or to=[EMAIL PROTECTED]


Do you have idea what is wrong?



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] changing amavis.conf using php

2006-01-21 Thread Rich Marriner
If I recall there is a webmin module that allows you to configure some 
if not most of the amavis settings.  I don't know if this would help you 
or not since it isn't PHP.



sai wrote:


I want to change amavis.conf from a script (probably a web app written
in php). Has any one written something for this already? Is there a
utility like postconf that we can use to make life easier?

sai
 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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] amavis-stats-0.1.21

2006-01-21 Thread Dale Walsh

For those interested, amavis-stats-0.1.21 has been released.

http://downloads.topicdesk.com/amavis_stats/amavis-stats-0.1.21.tar.gz.

It includes fixes for SUSE and fixes when maia mailguard patches are  
applied to amavisd-new.


-- Dale




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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/