Skip to main content

Thread: two postfix-servers working together?


hello!

i´m trying set postfix work in following szenario:
2 servers, 1 called cleany, 1 called maily.
cleany supposed scan mails delivered internet via greylisting, spamassassin, amavis..., should check if adress mail should delivered exists (via mysql).
cleany should send mails maily, postfix accepts mails cleany , delivers them e.g. dovecot.

users interact maily, when want send mail, on maily, sends mails cleany, checks them well, before sending them off internet.

viewed internet, mails sent directly , cleany (it has dns-name).

have use multiple instances of postfix or can work 1 postfix-instance on each server?

used tutorial http://www.postfix.org/multi_instance_readme.html got stuck somewhere in postfix-out configuration, because wasn´t sure, how change work 2-server modell. also, changed "default"-instance , in order deliver local mails (local in on machine).

main.cf of default-instance currently:
-----------------------------------
myhostname = cleany
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases

myorigin = /etc/mailname
mydestination = localhost.localdomain, localhost, cleany, cleany.mydomain.org
relayhost =

mynetworks = 127.0.0.1
mynetworks_style = host

mail_spool_directory = /var/mail/
mailbox_size_limit = 0

recipient_delimiter = +
inet_interfaces = loopback-only
default_transport = error: local delivery only!
----------------------------

quite work on maily. stumped if need multiple instances on both servers , either way, how should configure them. i´m guessing, maily might need 1 instance, supposed interact cleany (and local mails)? appreciated.

point of setup is, there spam , virus-mails incoming, eats performance on mailserver, leading system-freeze..=/



Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] two postfix-servers working together?


Ubuntu

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached