Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th January 2013, 13:56
stealthy stealthy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix UPGRADED: Virtual Users And Domains With Postfix, Courier, MySQL And Squirrel

I have followed Falko's tutorial http://www.howtoforge.com/virtual-us...l-ubuntu-12.10 .

The interestting part was to have user quotas.

Then, without a though I ran apt-get upgrade and this upgraded my patched Postfix. Ooops.

Now, every time I restart Postfix, I get these warnings that "....warning: /etc/postfix/main.cf: unused parameter: virtual_overquota_bounce=yes....."

I am afraid I messed up the quota patch. Any suggestions?
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2013, 09:36
suntribe suntribe is offline
Junior Member
 
Join Date: Dec 2012
Location: Zagreb
Posts: 14
Thanks: 2
Thanked 1 Time in 1 Post
Default

I had the same scenario and at the end, I decided to go without the quota... I simply removed those unrecognized parameters from main.cf Postfix config file and now everything is working...
Reply With Quote
  #3  
Old 21st January 2013, 11:55
stealthy stealthy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

Quote:
Originally Posted by suntribe View Post
I had the same scenario and at the end, I decided to go without the quota... I simply removed those unrecognized parameters from main.cf Postfix config file and now everything is working...
Same here. The setup still works. I guess I could go back, recompile the old version....... DON'T FIX IT IF AIN'T BROKE!
Reply With Quote
  #4  
Old 27th January 2013, 01:23
stealthy stealthy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does this setup really work? That's a good question.

I see a header in the received emails that says X-Virus-Scanned: Debian amavisd-new at stupid.domain.com

I don't see any headers with reference to SPAM, spam score, SpamAssassin. So I am NOT convinced that SA is running properly.

More so because yesterday I received a spam message that shouldn't have gotten through at all.

Would anyone here have a suggestion how to add the SpamAssassin headers into the messages and make sure that SA works?

Thanks!
Reply With Quote
  #5  
Old 27th January 2013, 02:42
stealthy stealthy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you want to force the X-SPAM headers, you need to edit /etc/amavis/conf.d/50-user
by adding this line:
Code:
@local_domains_acl = ( "." );
And this is how it looks in the email message headers:
Code:
X-Virus-Scanned: Debian amavisd-new at my.awesome.tld
X-Spam-Flag: NO
X-Spam-Score: -1.1
X-Spam-Level:
X-Spam-Status: No, score=-1.1 tagged_above=-9999 required=6.31
	tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1] autolearn=ham

Last edited by stealthy; 27th January 2013 at 02:53.
Reply With Quote
  #6  
Old 27th January 2013, 02:51
stealthy stealthy is offline
Junior Member
 
Join Date: Jan 2013
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
 
Thumbs up

Here is excerpt from my mail.info log, a message I tried sending to myself with some common spam words (like pharma):

Code:
Jan 27 09:42:58 myhostname amavis[6658]: (06658-01) Blocked SPAM {DiscardedInbound,Quarantined}, [198.143.169.10]:58187 [198.143.169.10] <csyztdc+nnk0hw@guerrillamail.com> -> <name@myhostname.tld>, quarantine: z/spam-zRf-0a_2SC1x.gz, Queue-ID: 4FF02276FB, Message-ID: <7917653c03af8d127e23bd6fe9edae0aed22@guerrillamail.com>, mail_id: zRf-0a_2SC1x, Hits: 6.393, size: 1617, dkim_sd=better:guerrillamail.com, 1938 ms
Jan 27 09:42:58 myhostname postfix/smtp[6705]: 4FF02276FB: to=<name@myhostname.tld>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.3, delays=2.3/0.07/0.02/1.9, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=06658-01 - spam)
Thumbs up!

I still need to learn more about using SpamAssassin.
Reply With Quote
Reply

Bookmarks

Tags
postfix, quota

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
Postfix courier mysql squirrelmail deco5003 Server Operation 3 30th August 2011 10:58
Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Debian Lenny volkan Installation/Configuration 27 27th September 2009 17:38
Virtual User CentOS Postfix & Courier w/ mailstore on SMB Share(NAS) fetch failure... AlyK HOWTO-Related Questions 1 20th July 2009 16:15
V Users & Domains w/ Postfix, Courier, etc. w/ mailstore on Win-SMB Share(NAS) HELP! AlyK HOWTO-Related Questions 3 22nd June 2009 16:26
ISPCONFIG and Virtual Users And Domains With Postfix, Courier And MySQL QuikSoft Installation/Configuration 5 6th December 2006 18:01


All times are GMT +2. The time now is 06:46.


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