Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
SpamAssassin Mail Filter usage
View previous topic :: View next topic  
Author Message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Fri Jul 03, 2009 12:22 pm    Post subject: SpamAssassin Mail Filter usage Reply with quote

Dear Sirs,

I would like to get some information about SpamAssassin Mail Filter. How can I set Postfix mail server and SquirrelMail programms to send messages as Spam in a separate folder for spam messages as soon as we get them. And could you also tell me how I add th filters to sort messages in Squirrel Mail?

Best regards,

Vinokurov V. N.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Fri Jul 03, 2009 7:03 pm    Post subject: Reply with quote

You can use this guide here
You can edit options through webmin under mailscanner and spamassassin tabs.
You can alternative download spam plugins ( spam buttons, spamassassin, spamrule) from squirrelmail.org.
Also, usermin has already have spamassasin configuration.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Mon Jul 06, 2009 12:17 pm    Post subject: Reply with quote

Hello,

Thank you for the quick respond. it seems that i used to explain you the matter not so clear, but nevertheless my question is the following:

1.to my surprise there is no Message filter in the SquirrelMail. Recently you sent me the post with the instruction http://www.psych.ubc.ca/~dusko/sqrlantispm.html, where in paragraph Options Message filter was included, but in fact Squirrel Mail doesn't have this Message filer. But we have an intention to add it. That is why ask you to inform us how to add this option in the programm.

2. Squirrel Mail includes a set of plugins, they have already been instolled, but in fact they are not active. We tried to use file CONFIG.PHP of SQURRELmail, but unfortunately it failed. But also we couldn't use CONF.PL.

3. In SqurrelMail we would like to add one user with the name Mail, however the user under this name is already exist. So what shall we do in this circumstances?

Looking forward your feedback
Thank you for the helping hand
With warm regards from Russia)
Vadim
Back to top
View user's profile Send private message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Mon Jul 06, 2009 4:17 pm    Post subject: Reply with quote

Hi,
We have already understood the problem in paragraphs 1, 2 of the previous letter. Now we understand how we should to redacter config.php and all important for us plugins works well now.
But nevertheless we still don't know how to settle the issue under paragraph 3. of the previous letter. Looking forward your help.


BR
Vadim
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Jul 06, 2009 6:11 pm    Post subject: Reply with quote

vadim wrote:
3. In SqurrelMail we would like to add one user with the name Mail, however the user under this name is already exist. So what shall we do in this circumstances?


If you take a look at /etc/passwd file you will see an entry
mail:x:8:12:mail:/:/bin/false
This entry cannot be deleted.
So you can't add a user mail, but you can add a user such as mailuser mailadm or even admin or whatever else you like.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Tue Jul 07, 2009 10:22 am    Post subject: Reply with quote

Dear Sir,

I understood your previous message. Than I have the following question: How can I set the Postfix programme so It could sent the messages for Mailuser to another user.
and the second question; Can I set the Postfix so that the letters that are sent to a user who is not present at the system could be sent to another user?Can I sent the mail that was sent to a not registered user to a registered user?

So, we could avoid not allowance for creation of mail user to another user.
And one problem we faced when working with Squirrel Mail programme: it does't give us the apportunitye to attach files with Russian symbols. we tried to change default charset to utf-8 however it didn't help. Can you help us to solve this problem?

Best regards
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Jul 07, 2009 11:46 am    Post subject: Reply with quote

Edit /etc/mail/aliases and add something like
Mailuser: Yourdesired user
Same thing for POSTMASTER by default root account take the massages or adeministrator user through my alias.
After ending edit /etc/mail/aliases do a
/usr/sbin/newaliases
postfix reload

Before attaching your attachment try to change the view encoding to your language (windows-1251 maybe? you know) to see what happened.
Try editting config.php of squirrelmail
$squirrelmail_default_language = 'en_US';
$default_charset = 'iso-8859-1';

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Tue Jul 07, 2009 12:02 pm    Post subject: Reply with quote

Hi,

About attached files:

I did the following thing:
$squirrelmail_default_language = 'ru_RU';
$default_charset = 'UTF-8';

But in the office I have UBUNTU that have default chartset utf-8 too but nothing worked out. Maybe you have any ideas what to do??

Yours
Vinokurov V. I.
Back to top
View user's profile Send private message
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Tue Jul 07, 2009 12:08 pm    Post subject: Reply with quote

Quote:
Edit /etc/mail/aliases and add something like
Mailuser: Yourdesired user
Same thing for POSTMASTER by default root account take the massages or adeministrator user through my alias.
After ending edit /etc/mail/aliases do a
/usr/sbin/newaliases
postfix reload


I meant user "mail". Can I add aliases to mail user?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Jul 07, 2009 2:24 pm    Post subject: Reply with quote

mail user has no shell it's a system user, don't get mails.
Try changing $default_charset = 'UTF-8'; to russian appropriate encoding.

EDIT:
With settings bellow I have no issues with Greek characters, I believe Russian will work.
$squirrelmail_default_language = 'en_US.UTF-8';
$default_charset = 'UTF-8';

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
vadim
Member


Joined: 16 Oct 2008
Posts: 40

PostPosted: Wed Jul 15, 2009 12:56 pm    Post subject: Reply with quote

Hi,
1. Autorisation in SquirrelMail.
We used a comand netconfig - lcd with its parameters. But then we noticed there there were no clients at server ldap. We created new mail users at the server with the Interface of Webmin at the "Group and Users" devision. That is why our try to make a mail user at the server ldap by Webmin was not successfull.

We have a question: how we can create new users with LDAP server through the Webmin Interface? What steps then should we take?


We need the common enter for resorse of Samba both with the mail account.

Thank you
Vadim
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Jul 15, 2009 5:21 pm    Post subject: Reply with quote

Make a new install on another disk or machine or backup all your configs.
If you want to use ldap authentication with virtual users try installing egroupware-1.601 package, it will alter your authentication to ldap with virtual users only.
Your users you add was real local users. After you install egroupware do a
chown -R vmail.vmail /var/vmail
to ensure permissions are right, and continue the setup through web.
When you login to egroupware add users.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional