Thank you all for answering! It worked perfectly!
Bye! :-)

Pelletier, Robert wrote:
> I have a similar setup. What I have done is this:
>
> Have both servers run Postfix, Amavisd and MySQL, with the same configuration
> Configure Amavis/Spamassassin to use base-SQL and a SQL-AWL.
> Setup a Master-Master replication setup for MySQL. Each machine is the master 
> and slave of the other.
> Make e-mails go through either server for both domains.
>
> That way, the e-mails can get in if either server is down :)
>
> Robert Pelletier
> Technicien informatique dans l'équipe d'infrastructure
> Service des technologies de l'information
> Commission Scolaire des Hautes-Rivières
> Téléphone : (450) 359-6411 poste 7384
>
>
> -----Message d'origine-----
> De : Kiss Gabor (Bitman) [mailto:ki...@ssg.ki.iif.hu] 
> Envoyé : 16 novembre 2010 15:01
> À : Amavis-User Mail List
> Objet : Re: [AMaViS-user] Multiple postfix servers using a single amavis 
> server
>
> On Tue, 16 Nov 2010, Noel Jones wrote:
>   
>> On 11/16/2010 12:17 PM, Matias Banchoff wrote:
>>     
>>> Hello,
>>>     I have a question regarding the $forward_method variable.
>>>     I have two postfix servers and only one amavis server installed. Is
>>> it possible to have amavis check mails from both postfix servers and
>>> reinject the email to the corresponding server.
>>>     I ask because $forward_method allows only one IP Address. The idea is
>>> to have one postfix per domain and all those emails being checked with
>>> only one amavis.
>>>
>>> Thank you!
>>>
>>>       
>>  From the RELEASE_NOTES...
>>
>>
>>
>>    To make it possible for several hosts to share one content 
>> checking daemon,
>>    the IP address and/or the port number in $forward_method 
>> and $notify_method
>>    may be specified as an asterisk. An asterisk in the 
>> colon-separated
>>    second field (host) will be replaced by the SMTP client 
>> peer address
>>    (i.e. the MTA host). An asterisk in the third field (tcp 
>> port) will be
>>    replaced by the incoming SMTP/LMTP session port number plus 
>> one. This
>>    obsoletes the previously used less flexible configuration 
>> parameter
>>    $relayhost_is_client. An example:
>>
>>      $forward_method = 'smtp:*:*'; $notify_method = 
>> 'smtp:[127.0.0.1]:10025';
>>     
>
> BTW.
> $release_method has no reasonable default in similar cases.
> This April I released a patch that allows SMTP server
> selection via amavisd-release command line and AM.PDP. See
> http://bakacsin.ki.iif.hu/~kissg/pd/amavisd-new/
>
> Gabor
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/amavis-user 
>  Please visit http://www.ijs.si/software/amavisd/ regularly
>  For administrativa requests please send email to rainer at openantivirus dot 
> org
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/amavis-user 
>  Please visit http://www.ijs.si/software/amavisd/ regularly
>  For administrativa requests please send email to rainer at openantivirus dot 
> org
>
>   



-----
CeSPI 
Centro Superior para el Procesamiento de la Información

Universidad Nacional de La Plata
-------------------------------------------------------------------------------
Proteja el Medioambiente. No imprima este mail si no es absolutamente necesario
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to