Hallo Stevan,

Am 23.07.2010 um 17:11 schrieb Stevan Bajić:

> On Fri, 23 Jul 2010 16:50:57 +0200
> Nico Hoffmann <n...@bacanol.de> wrote:
> 
>> Hallo Stevan,
>> 
> Hallo Nico,
> 
> 
>> Yes the DSPAM instances are now completely separated. (At this moment I am 
>> just using DSPAM on the mx01 because I did not know that there is a setup 
>> also for Mac OS X.)
>> 
>> I think one shared mysql database should be no problem. Maybe I can arrange 
>> some kind of sync or master/slave thing between both to keep things up, when 
>> the connection is not available from one host to the other one.
>> 
> then you should setup a MySQL Master <-> Master replication between the two 
> nodes. And in DSPAM you would then do this (just an example):
> 
> MX01:
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Profile                    MX01
> MySQLServer.MX01           /path/to/mysql/socket/mysqld.sock
> MySQLPort.MX01             
> MySQLUser.MX01             <user>
> MySQLPass.MX01             <password>
> MySQLDb.MX01               <db name>
> MySQLCompress.MX01         true
> MySQLReconnect.MX01        true
> MySQLConnectionCache.MX01  20
> MySQLUIDInSignature.MX01   on
> 
> Profile                    MX02
> MySQLServer.MX02           <IP of MX02>
> #MySQLPort.MX02            3306
> MySQLUser.MX02             <user>
> MySQLPass.MX02             <password>
> MySQLDb.MX02               <db name>
> MySQLCompress.MX02         true
> MySQLReconnect.MX02        true
> MySQLConnectionCache.MX02  20
> MySQLUIDInSignature.MX02   on
> 
> DefaultProfile             MX01
> 
> Failover.MX01              MX02
> Failover.MX02              MX01
> 
> FailoverAttempts           3
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
> MX02:
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Profile                    MX01
> MySQLServer.MX01           <IP of MX01>
> MySQLPort.MX01             3306
> MySQLUser.MX01             <user>
> MySQLPass.MX01             <password>
> MySQLDb.MX01               <db name>
> MySQLCompress.MX01         true
> MySQLReconnect.MX01        true
> MySQLConnectionCache.MX01  20
> MySQLUIDInSignature.MX01   on
> 
> Profile                    MX02
> MySQLServer.MX02           /path/to/mysql/socket/mysqld.sock
> #MySQLPort.MX02
> MySQLUser.MX02             <user>
> MySQLPass.MX02             <password>
> MySQLDb.MX02               <db name>
> MySQLCompress.MX02         true
> MySQLReconnect.MX02        true
> MySQLConnectionCache.MX02  20
> MySQLUIDInSignature.MX02   on
> 
> DefaultProfile             MX02
> 
> Failover.MX01              MX02
> Failover.MX02              MX01
> 
> FailoverAttempts           3
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thank you for this setup notice. I will try to get this running. 
> 
> And then you need to get at least the DSPAM_HOME/data to be the same on both 
> nodes. You could use NFS or anything other that keeps the data in sync (it 
> must be real-time and not something that you do with a scheduled rsync). I 
> wrote "at least" because you could put the whole DSPAM_HOME on a shared 
> drive. I use GlusterFS for that task because it allows me the two nodes to be 
> as independent of each others as possible and it allows me to scale up to as 
> many nodes I like.
> 
> 
>> Do you think I am on the right way?
>> 
> Yes. If I read right then MX01 is one system, MX02 is another system and the 
> final mail server is another system. Right? Or does each MX system has 
> another mail server behind it (aka two final mail servers)? Are you planing 
> to use DSPAM in a gateway mode or will you add another MTA on each system 
> where DSPAM is running?
In fact I have only one server that provides Mail-Boxes to Users. In this case 
the mailboxes are located on MX02. MX01 has also a little bit of special duty, 
it is hosting mailing lists. If I have success with this setup, I might use it 
for other cases in other facilities too.

Thank you and 
viele Grüße aus Lüneburg

Nico
> 
> 
>> Best regards,
>> 
> Grüsse aus Zürich
> 
> 
>> Nico
>> 
> Stevan
> 
> 
>> 
>> 
>> Am 23.07.2010 um 14:29 schrieb Stevan Bajić:
>> 
>>> On Fri, 23 Jul 2010 14:14:39 +0200
>>> Nico Hoffmann <n...@bacanol.de> wrote:
>>> 
>>>> Hi Stevan,
>>>> 
>>> Hallo Nico,
>>> 
>>> 
>>>> I would like to have a setup like:
>>>> 
>>>> MX01 --> DSPAM --> Mailserver
>>>> MX02 --> DSPAM --> Mailserver
>>>> 
>>>> And Mailserver is one Machine. MX01 and MX02 are two different machines 
>>>> with separate dspam instances.
>>>> 
>>> And the DSPAM instances should be independend of each other or should they 
>>> share the same data?
>>> 
>>> 
>>>> best regards,
>>>> 
>>> Grüsse aus Zürich,
>>> 
>>>> Nico
>>>> 
>>> Stevan
>>> 
>>> 
>>>> Am 23.07.2010 14:00, schrieb Stevan Bajić:
>>>>> On Fri, 23 Jul 2010 13:41:11 +0200
>>>>> Nico Hoffmann<n...@bacanol.de>  wrote:
>>>>> 
>>>>>> Hello Stevan,
>>>>>> 
>>>>> Hello Nico,
>>>>> 
>>>>> 
>>>>>> I would like to implement your way of doing this. Can you tell me where
>>>>>> to put the PCRE within postfix?
>>>>>> 
>>>>> in main.cf. Just add it as an additional transport. For example:
>>>>> transport_maps =
>>>>>        pcre:${config_directory}/dspam-transport.cf
>>>>>   [your old tranpsort map files]
>>>>> 
>>>>> 
>>>>>> Another question I have is the following:
>>>>>> 
>>>>>> I have two Mail-Gateways. One is a SuSE SLES 10.3 and the other one is a
>>>>>> Mac OS X Snow Leopard Server. I have successfully installed DSPAM on the
>>>>>> first one, but I do not know if there is the same easy way for the
>>>>>> second one (OSX).
>>>>>> 
>>>>> It is the same as on the SuSE box. Richard Valk has a good page for Mac 
>>>>> users ->  diymacserver.com
>>>>> For DSPAM on Leopard read this link here:
>>>>> http://diymacserver.com/installing-the-mailserver/adding-a-spam-filter-on-leopard/
>>>>> 
>>>>> 
>>>>>> And furthermore, how do I implement the retrain
>>>>>> solution you told me for both?
>>>>>> 
>>>>> What do you mean? You want DSPAM to run on the SuSE box and on the Mac OS 
>>>>> X box? Could you describe how your final setup should look like?
>>>>> 
>>>>> 
>>>>>> Thank you and best regards,
>>>>>> 
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by Sprint
>>>> What will you do first with EVO, the first 4G phone?
>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>> _______________________________________________
>>>> Dspam-user mailing list
>>>> Dspam-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>> 
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> _______________________________________________
>>> Dspam-user mailing list
>>> Dspam-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>> 
>> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspam-user


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to