This is a discussion on [AMaViS-user] dual servers and dual sendmail within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hi I am trying to run amavisd on external server. This is my configuration. server A - dual sendmail setup ---- cut ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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=<apache@somedomain.com>, 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=<klient@[server_B_IP]>, 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=<klient@klientdomain.pl>, 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] <apache@somedomain.com> -> <klient@[server_B_IP]>, 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=<klient@[server_B_IP]>, 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=<klient@[127.0.0.1]> and in above configuraton is should look like to=<klient@[server_A_IP]> or to=<klient@klientdomain.pl> 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=...486&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |