Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th October 2005, 13:27
SkIRmiS SkIRmiS is offline
Member
 
Join Date: Sep 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail system problems.

Hello,

1. first problem.
Sometimes I got the strange message:
with no subject, name and et.c the body is:

X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on changed.com
X-Spam-Level:
X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,MISSING_DATE,
MISSING_SUBJECT autolearn=unavailable version=3.0.4

I got this message after sending file.txt to my email. Already, i got 5 messages like this. My email is set to system admin email in ISPconfig.

2. second problem, with quotas.
Web users and web site has quota 5000 mb. The ISPconfig shows that site are only using 23.2 mb of all 5000. Web site users does'nt has mail box quota limits. But sometimes whey cannot receive email, of a error Mail quota exceeded!

On shell:
repquota -avug | grep web29
web29 -- 410904 5120000 5120000 6992 0 0

As you can see web29 user are using 401 mb. Not 23.2 mb that says the ISPconfig. I checked the owners of users directories, everything is fine. Others sites are showing not correct size too But at least the emails are working well.

3. Where to find logs of spammassins reports, trashscan, clamav?

4. Thanks for advice.

Skirmis
Reply With Quote
Sponsored Links
  #2  
Old 13th October 2005, 15:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Quote:
Originally Posted by SkIRmiS
2. second problem, with quotas.
Web users and web site has quota 5000 mb. The ISPconfig shows that site are only using 23.2 mb of all 5000. Web site users does'nt has mail box quota limits. But sometimes whey cannot receive email, of a error Mail quota exceeded!

On shell:
repquota -avug | grep web29
web29 -- 410904 5120000 5120000 6992 0 0

As you can see web29 user are using 401 mb. Not 23.2 mb that says the ISPconfig. I checked the owners of users directories, everything is fine. Others sites are showing not correct size too But at least the emails are working well.
ISPConfig reports the size of the website directory including the subdirectorys user, logs, web, etc. If your users are able to store files in other places the sizes may differ.

Quote:
3. Where to find logs of spammassins reports, trashscan, clamav?
They dont write logs by default.
Reply With Quote
  #3  
Old 13th October 2005, 21:26
SkIRmiS SkIRmiS is offline
Member
 
Join Date: Sep 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
ISPConfig reports the size of the website directory including the subdirectorys user, logs, web, etc. If your users are able to store files in other places the sizes may differ.


They dont write logs by default.
1.The users don't have other places outside webXX.
2.I need these logs to see that happens with rejected mail.

And do you know something about my first problem?


Thanks.
Reply With Quote
  #4  
Old 14th October 2005, 01:17
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

Well well,
I have started receiving quota exceeded errors for one user too, and the user definitely has no quota restrictions (neither does the group).
The debug output shows interesting things:
/bin/sh: line 1: let: HD_QUOTA=*1024: syntax error: operand expected (error token is "*1024")
Apparently procmail thinks QUOTA is set and then tries to do arithmetics on an empty expression which obviously goes wrong.
I didn't dig into procmail yet but maybe this helps someone figure out the real problem.
Regards,
~jm
Reply With Quote
  #5  
Old 3rd April 2006, 02:45
rafaelenrike rafaelenrike is offline
Junior Member
 
Join Date: Mar 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had almost the same problem. this is the error email that returns back when I send an email to a specific account (not all accounts):

This is the Postfix program at host mailserver.domain.tld.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<web1_user1@mailserver.domain.tld> (expanded from <user1@domain.tld>):
can't create user output file. Command output: /bin/sh: let:
HD_QUOTA=*1024: syntax error: operand expected (error token is "*1024")
/bin/sh: line 1: [: !=: unary operator expected procmail: Error while
writing to "/var/mail/web1_user1"

Does anyone know why is dis happening and how to fix it?

Thanks for your help.
Reply With Quote
  #6  
Old 3rd April 2006, 07:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Please set a web (harddisk) quota for this user in ISPCOnfig.

Do you use maildir or mbox format for mail storage?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th July 2006, 22:38
fobicodam fobicodam is offline
Senior Member
 
Join Date: Apr 2006
Location: Argentina
Posts: 346
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to fobicodam
Default

Will be usual to fix one problem to have another? im really tired of fix bugs, i dont know if they are linux or postfix or ispconfig's bugs, but im really tired..

How the hell can i fix this one?!?!?!

This is the Postfix program at host webserver2.imago.com.ar.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<web1_daniel@webserver2.imago.com.ar> (expanded from <daniel@imago.com.ar>):
can't create user output file. Command output: procmail: Couldn't create
"/var/mail/web1_daniel"



The logs says the "·$)"·($") HD_QUOTA=*1024 error.
Reply With Quote
  #8  
Old 7th July 2006, 10:52
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,389 Times in 4,234 Posts
Default

Which ISPConfig version do you use?
Do you use Maildir or Mbox as mail storage format?
Please post the output of the command "df -h" as falko requested?

If you dont post data like the output of the command "df -h", we are not able to help you!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 14th October 2005, 01:28
jmroth jmroth is offline
ISPConfig Developer
 
Join Date: Sep 2005
Posts: 191
Thanks: 1
Thanked 6 Times in 6 Posts
Default

I don't really know but maybe what you were trying to do should be
... quota -v ${LOGNAME} | sed -n 3p ....
on line 22 of .quota.rc, otherwise the 3p wouldn't really make sense
however I do not know why my other users don't generate error messages
very strange although something is obviously wrong here
Reply With Quote
  #10  
Old 14th October 2005, 01:37
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

Quote:
Originally Posted by SkIRmiS
Hello,

1. first problem.
Sometimes I got the strange message:
with no subject, name and et.c the body is:

X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on changed.com
X-Spam-Level:
X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,MISSING_DATE,
MISSING_SUBJECT autolearn=unavailable version=3.0.4

I have exactly the same strange, empty emails, I get them around 5-7 times a day, its hard to track them down as they don't even have a timestamp, nothing. I had one idea, concerning their origin: it seemed like when I was trying to send an email to a non-existent mailbox I got these empty mails instead of a user unknown reply. but I can't test it as I can't send emails to local domains, because these get instantly verified...

can you try and send an email to nonexistent@web-designerz.de ? Please check if you get one ofthese empty mails right after that.
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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Mail System doesnt work! crichton Installation/Configuration 3 17th September 2007 23:49
internal domain error with mail matehortua Installation/Configuration 5 16th October 2005 18:31
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 00:45.


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