Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 10:35:28 am

Login with username, password and session length

The Latest Endian Firewall is now available for download HERE
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  how to configure smtp proxy?
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: how to configure smtp proxy?  (Read 17064 times)
mikeali
Jr. Member
*
Offline Offline

Posts: 3


« 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
Logged
mikeali
Jr. Member
*
Offline Offline

Posts: 3


« Reply #1 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.
Logged
mikeali
Jr. Member
*
Offline Offline

Posts: 3


« Reply #2 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
Logged
jeremycald
Full Member
***
Offline Offline

Posts: 41


« Reply #3 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.

Logged
kilimanj99
Full Member
***
Offline Offline

Posts: 13


« Reply #4 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.

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.094 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com