Author Topic: avastrelay switches  (Read 6735 times)

0 Members and 1 Guest are viewing this topic.

bbell2000

  • Guest
avastrelay switches
« on: September 25, 2004, 03:52:21 PM »
When I try to run avast relay with the following switches, everything works fine:

switches="--server-ip 192.168.2.66:725 --client-ip 192.168.2.66:825 --avast-interface /var/run/avast4mailscanner.sock --log-file /var/log/avast4/avastrelay --user avrelay --timeout 60 --remote-clients

But when I add the following, avastrelay won't start

--notify-sender --from-address postmaster

The log says it started and there's a pid in /var/run, but there is no listener on port 725 and the avastd log says:

    error: 'avast4file[28953]': can't initialize avast! engine: No such file or directory

I've also tried --from-address postmaster@theotherbell.com and got the same results.

How do I configure avastrelay to notify the sender that their mail has been rejected?

Dublin

  • Guest
Re:avastrelay switches
« Reply #1 on: September 27, 2004, 11:05:00 AM »
I have no problems with your switches. Check your firewall if port 723 is enable.
Also look for the 400.vps file in the directory defined in /etc/avastengine.conf file. It may be the cause why the avast! engine can't be initialized.

bbell2000

  • Guest
Re:avastrelay switches
« Reply #2 on: October 22, 2004, 02:45:32 AM »
I don't understand why I would need to have port 723 open on my firewall.

At the moment, I have port 25 open on my firewall.  The firewall forwards port 25 traffic to a server on the internal lan where qmail is listening on port 25.  After blacklist checking, that qmail "gateway" relays mail to port 725 (avastrelay) and virus free mail is relayed to port 825 (another qmail that handles mailbox delivery).

Dublin

  • Guest
Re:avastrelay switches
« Reply #3 on: October 25, 2004, 09:41:28 AM »
I'm sorry. A little misunderstanding.