Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th September 2010, 10:34
Brasse Brasse is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual mail ubuntu10.04,badh spam

I've installed a virtual mail system according to:
http://www.howtoforge.com/virtual-us...l-ubuntu-10.04

Everything except quota and squirrelmail.
I have a lot(1-3 per day) of false-positives in my spam quarantine folder, and 90% of those are because of bad header. (most bad header senders uses Outlook, no suprises there.)

I dont want to quarantine bad header mails at all, i want them delivered to the recipients mail box!
It would be ok to tag bad header mails in the subject, but definetley no quarantine.

Settings in < /etc/amavis/conf.d/20-debian_defaults >
Code:
$final_virus_destiny      = D_DISCARD;  # (data not lost, see virus quarantine)
$final_banned_destiny     = D_REJECT;   # D_REJECT when front-end MTA
$final_spam_destiny       = D_DISCARD;
$final_bad_header_destiny = D_PASS;     # False-positive prone (for spam)
Settings in < /etc/amavis/conf.d/21-ubuntu_defaults >
Code:
$final_virus_destiny      = D_DISCARD; # (defaults to D_BOUNCE)
$final_banned_destiny     = D_DISCARD;  # (defaults to D_BOUNCE)
$final_spam_destiny       = D_DISCARD;  # (defaults to D_REJECT)
$final_bad_header_destiny = D_PASS;  # (defaults to D_PASS), D_BOUNCE suggested
i have not really understood what file is used: 21-ubuntu_defaults or 20-debian_defaults?

And how do i make the bad header mails find there way to the recipient instead of quarantine?


BTW, thanks for a very good guide, i really appreciate you guys taking your time to set up theese guides!
Reply With Quote
Sponsored Links
  #2  
Old 16th September 2010, 11:56
Brasse Brasse is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found another problem. It does not work as SMTP-relay. Except when someone tries to send to a mail account in our domain

Lets call our domain companyx.se .
So when someone on the outside(lets say user@hotmail.com) selects SMTP-server companyx.se and send a mail to:
user@gmail.com
The user will recieve an error saying: relay access denied
However if someone send a mail from the outside (user@hotmail.com) with SMTP: companyx.se to my account on company.x (brasse@companyx.se) the mail will arrive.

In other words, our server relays mails if they are sent to an account in our domain, but not if sent to an account outside our domain.


All this is tried without any authentication to the SMTP-server.

How can i deny ALL SMTP access without proper authtentication?
Reply With Quote
  #3  
Old 17th September 2010, 16:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by Brasse View Post
I found another problem. It does not work as SMTP-relay. Except when someone tries to send to a mail account in our domain

Lets call our domain companyx.se .
So when someone on the outside(lets say user@hotmail.com) selects SMTP-server companyx.se and send a mail to:
user@gmail.com
The user will recieve an error saying: relay access denied
However if someone send a mail from the outside (user@hotmail.com) with SMTP: companyx.se to my account on company.x (brasse@companyx.se) the mail will arrive.

In other words, our server relays mails if they are sent to an account in our domain, but not if sent to an account outside our domain.


All this is tried without any authentication to the SMTP-server.

How can i deny ALL SMTP access without proper authtentication?
That is how it's supposed to be for users that don't authenticate.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 27th September 2010, 13:29
Brasse Brasse is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Is there no way to fix this bad-header thing?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig 3 some users cannot send email to outside Rockblade Installation/Configuration 7 29th April 2010 02:40
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 22:06
421 Unexpected failure Lizard King Installation/Configuration 20 7th July 2009 21:43
Help configure Postfix to use alt port 465 or 587 BoloMarkIII Installation/Configuration 10 16th March 2009 18:57
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 13:16


All times are GMT +2. The time now is 20:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.