EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Sunday 24 November 2024, 04:41:00 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Get the new Updates directly from Endian
HERE
14261
Posts in
4377
Topics by
6517
Members
Latest Member:
Sandro
Search:
Advanced search
EFW Support
Development
Contribute Your Customisations & Modifications
recipient verification for relaying mail
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: recipient verification for relaying mail (Read 14726 times)
shiveringmonkey
Jr. Member
Offline
Posts: 1
recipient verification for relaying mail
«
on:
Saturday 28 June 2008, 12:48:31 pm »
Hello everyone, this is my first post to this forum, although I have been Using EFW for years now. I thought I'd finally contribute something...
I use Endian Firewall's SPAM filtering because I don't want to go through the hassle of setting up spamassassin, amavis, etc. manually. I set up my filtering on my EFW, and then set the smart host, and relay mail back to my mail server that my clients connect to. I run EFW on a 650 MHz machine with 312 Mb of RAM. I found that most of the spam that I receive is destined to bogus users. This really creates a cpu, memory, and disk access load on my old hardware. To get around this, I set the following in the smtpd_recipient_restrictions section of my /etc/postfix/main.cf file:
reject_unverified_recipient,
What this does is checks the relay host for the user in it's local users database, and if it isn't there, the mail is rejected at the SMTP level
BEFORE
it ever hits amavis/clamav/spamd. I found that this reduces CPU and memory utilization by about 40% on my system, and decreases my load average from about 2.5 to less than 1.
It would be nice if this were included in the web interface, but it's a pretty easy hack to decrease server load.
Hope it helps someone,
Bear
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com