EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: mikeali on Tuesday 23 August 2011, 01:37:16 am



Title: how to configure smtp proxy?
Post by: mikeali on Tuesday 23 August 2011, 01:37:16 am
hello everyone,

after 2 months trying to learn the endian firewall community software, still i haven't been able to get the smtp proxy to work to get the spam filter to work.

can someone please help me to get the smtp proxy working for me?

currently I have added port 25 under both "port forwarding" and "outgoing traffic" so i can send and receive emails.

when i turn on the smtp under proxy no email can be send and receive

under smtp proxy i have the following settings:

configuration:

green = transparent mode
red = active
filter mail for spam is checked

black & whitelists:
no settings were added here

incoming domains:
my email server domain (xyz.com) Mailserver ip (local ip address of my email server)

mailing routing:
no settings were added here

advanced:
no settings were added here


Title: Re: how to configure smtp proxy?
Post by: mikeali on Tuesday 23 August 2011, 05:01:26 am
i'm also getting the following under smtp logs on every incoming email:

Connection refused)" or "(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)" status.


Title: Re: how to configure smtp proxy?
Post by: mikeali on Tuesday 23 August 2011, 05:24:39 am
The workaround I found is to run sa-update once and then use the restartsmtpscan.py script again. now spam filter for smtp (amavis) is running - but nowi can't send and receive emails when remove the port forwarding for smtp


Title: Re: how to configure smtp proxy?
Post by: jeremycald on Wednesday 31 August 2011, 02:11:35 am
I'm glad to hear I'm not the only one experiencing this.  I upgraded hardware and decided to do a fresh install.  After setting up the efw the firewall began doing the same thing as mentioned above and I did notice the following in the logs (thank you devs for the Live Logs)


SMTP Pro.. 2011-08-30 12:07:00 amavis[22790]: Using primary internal av scanner code for ClamAV-clamd
SMTP Pro.. 2011-08-30 12:07:00 amavis[22790]: Creating db in /var/amavis/db/; BerkeleyDB 0.26, libdb 4.3
SMTP Pro.. 2011-08-30 12:07:00 amavis[22790]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run "sa-update"?
SMTP Pro.. 2011-08-30 12:07:00 amavis[22790]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run "sa-update"?

And of course when checking the system status page amavis is not running.  I'm going to try this and see what I get.



Title: Re: how to configure smtp proxy?
Post by: kilimanj99 on Sunday 02 October 2011, 05:10:10 pm
I'm having a similiar problem. My AMAVIS is running but it seems like nothing is passing through the smtp proxy. I can send and recieve without issue.

I set the following
GREEN = Transparent, (tried active too)
RED = inactive (tried active)

I put a bypass from <my mail server> because I was not able to send email without it. If im correct this should only bypass outbound from my mail server, not inbound.

I also added all my incoming domains

nothing else was configured. Am I missing something?

to test I set tag and mark down to 0 to try to tag everything but that didnt work, nothing was tagged.

Also checked the logs and didnt see anything passing

Checked the graphs and 0 messages sent and received.