Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #51  
Old 6th October 2010, 23:25
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

Just be aware that when updating to ISPconfig 3.0.3 that /etc/postfix/main.cf will be changed, and that you will need to add the "custom" lines again!
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Sponsored Links
  #52  
Old 7th October 2010, 01:27
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Correct, so I would recommend to those who update to copy their main.cf to something like:
cp /etc/postfix/main.cf /etc/postfix/main.cf.custom

And after updating to the new ISPC3:
rm -rf /etc/postfix/main.cf
cp /etc/postfix/main.cf.custom /etc/postfix/main.cf
__________________
ISPC3 on Debian! It's great!
Reply With Quote
  #53  
Old 7th October 2010, 01:35
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Original post has been updated. I added a Tips & Tricks section. Basically, there were some issues with SORBS. My 71 yr old grandmother abruptly stopped being able to email me today. Apparently, her DSL reset and obtained a new dynamic IP which is blocked. So, I did some modifications to the SORBS zone that I used.

Anyway, this is a very random and I'm guessing an improbable issue for most people. But, I thought I'd post a heads up in case people complain of returned email and the reason mentioning SORBS.
__________________
ISPC3 on Debian! It's great!
Reply With Quote
  #54  
Old 7th October 2010, 16:21
drewb0y drewb0y is offline
Senior Member
 
Join Date: Sep 2010
Posts: 103
Thanks: 10
Thanked 14 Times in 7 Posts
Default

SORBS is a horrible blacklist to use. Just do a quick google search on them and you will find a hundred reasons to not use their blacklist and use some of the more reputable ones out there. I could elaborate for you but after enough digging you will see what I mean. One of our customers has a client that was using sorbs and blocking all of their emails. After a week or so of back and forth with their admin, I convinced him to quit using SORBS. Reason being SORBS blocked an entire netblock at GoDaddy because of one report on one IP address (not ours ) and would not unblock without payment.

Anyway, if your using SORBS, save yourself some headaches and just quit.
Reply With Quote
  #55  
Old 7th October 2010, 16:25
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

SORBS has been a good resource, generally, more recently. It has had a lot of problems I don't deny. And, because of the problem I noticed yesterday, I modified things and added that new advisory section to the GUIDE psot.

My guide isn't a fool proof solution sent by the Lord above. It went over a month before SORBS started causing any user on my server an issue, and it just so happened to have been me.

Again, if someone feels there's a problem with mail delivery or hears of such problems and sees SORBS in the rejection email sent to the sender of said email, I would look at the Tips and Tricks section and modify accordingly.
__________________
ISPC3 on Debian! It's great!
Reply With Quote
  #56  
Old 7th October 2010, 20:00
drewb0y drewb0y is offline
Senior Member
 
Join Date: Sep 2010
Posts: 103
Thanks: 10
Thanked 14 Times in 7 Posts
Default

I didn't mean to be too negative. I just had a bad experience with them personally. Actually hat is how I came to find ISPConfig in the first place. I needed to move email hosting for 23 domains which are currently hosted on a GoDaddy dedicated server sitting in a SORBS blocked netblock. So I just decided to move mail onto a separate machine with better software which I can have more control over. Thus debian and ISPConfig.

Your work is appreciated crypted, and if you ever make it down to Texas, I'd sure buy you a beer!
Reply With Quote
  #57  
Old 11th October 2010, 09:33
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

For some reason I'm receiveing the "Mail Statistics" email 3 times.
1 time @ 06:26 and 2 times @ 07:00

I've no clue why this is happening as it's not in the cronjob.
Any suggestion where I should start debugging?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #58  
Old 11th October 2010, 16:22
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Yeah, start with the RSYSLOG. I had that problem as well. What was wrong was that when i added /var/mail.log, it was with other items. So, it would run the mail script for each log file on rotation even though it just provided details for the mail.log.

Make sure mail.log is alone, with it's own set of details in the brackets.

My RSYSLOG for the mail.log addition is:
Code:
/var/log/mail.log
{
        rotate 7
        daily
        missingok
        notifempty
        delaycompress
        compress
        prerotate
              /usr/local/sbin/postfix_report.sh > /dev/null
        endscript
        postrotate
                invoke-rc.d rsyslog reload > /dev/null
        endscript
}
Was mail.log originally in the RSYSLOG file? If not, you might have a duplicate that needs deleted as well. I think that'd be the logrotate.conf but not 100% sure. Can figure it out if necessary.
__________________
ISPC3 on Debian! It's great!
Reply With Quote
  #59  
Old 11th October 2010, 16:45
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

This is how my /etc/logrotate.d/rsyslog looks like:

Code:
/var/log/syslog
{
        rotate 7
        daily
        missingok
        notifempty
        delaycompress
        compress
        postrotate
                invoke-rc.d rsyslog reload > /dev/null
        endscript
}

/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
        rotate 4
        weekly
        missingok
        notifempty
        compress
        delaycompress
        sharedscripts
        postrotate
                invoke-rc.d rsyslog reload > /dev/null
        endscript
}
/var/log/mail.log
{
        rotate 7
        daily
        missingok
        notifempty
        delaycompress
        compress
        prerotate
              /usr/local/sbin/postgrey_stats.sh > /dev/null
              /usr/local/sbin/postfix_report.sh > /dev/null
        endscript
        postrotate
                invoke-rc.d rsyslog reload > /dev/null
        endscript
}
I do not see anything wrong with it.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #60  
Old 11th October 2010, 18:04
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
 
Default

And you're getting it many times? Both of them many times, daily? Or, just one?

You could remove the scripts from the rsyslog and put them as crontabs around 530am. Rsyslog rotates around 6am I think, check timestamps in your log dir for gz's and stuff.

If the cronjob only sends it once, then at least it's narrowed down to rsyslog or a multiple mail.log entry elsewhere causing a loop or something.

If cronjob sends it multiple times, there's an error in the script..
__________________
ISPC3 on Debian! It's great!
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
Spamfilter policy - question about spam actions prisfeo Installation/Configuration 4 2nd February 2010 16:17
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37
complete spam protection with postfix - howto alexnz Server Operation 1 22nd June 2006 14:06
Howto let procmail move spam to folder? oversight HOWTO-Related Questions 9 1st May 2006 15:39
Webmin docs missing namit Server Operation 11 5th January 2006 09:51


All times are GMT +2. The time now is 11:36.


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