doc:appunti:linux:sa:postfix_multi_istance
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doc:appunti:linux:sa:postfix_multi_istance [2012/09/14 18:02] – created niccolo | doc:appunti:linux:sa:postfix_multi_istance [2017/12/06 18:09] (current) – [Tool mailq, postcat, etc. in multi istanza] niccolo | ||
---|---|---|---|
Line 22: | Line 22: | ||
</ | </ | ||
- | Vengono create le directory **''/ | + | Vengono create le directory **''/ |
< | < | ||
Line 29: | Line 29: | ||
multi_instance_group = mta | multi_instance_group = mta | ||
multi_instance_name = postfix-mx | multi_instance_name = postfix-mx | ||
- | + | inet_interfaces | |
- | + | #master_service_disable = inet | |
- | unknown_local_recipient_reject_code = 550 | + | master_service_disable |
- | mynetworks | + | |
- | smtpd_banner = $myhostname ESMTP $mail_name (@@DISTRO@@) | + | |
- | debugger_command = | + | |
- | | + | |
- | ddd $daemon_directory/ | + | |
- | readme_directory = no | + | |
- | inet_protocols = ipv4 | + | |
- | master_service_disable = inet | + | |
- | authorized_submit_users | + | |
</ | </ | ||
Line 57: | Line 48: | ||
- | - | ||
postfix-mx | postfix-mx | ||
+ | </ | ||
+ | |||
+ | ===== Helper per multi istanza ===== | ||
+ | |||
+ | Per editare il file **'' | ||
+ | |||
+ | < | ||
+ | postmulti -i postfix-mx -x postconf -e " | ||
+ | </ | ||
+ | ===== Avviare tutte le istanze ===== | ||
+ | |||
+ | Lo script start/stop di Debian gestisce le multi istanze, quindi basta dare: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ===== Tool mailq, postcat, etc. in multi istanza ===== | ||
+ | |||
+ | Alcuni alias di postfix sono usati per particolari modalità, ad esempio l' | ||
+ | |||
+ | < | ||
+ | mailq -C / | ||
+ | </ | ||
+ | |||
+ | Discorso analogo per il comando **postcat** (usato ad esempio per vedere il contenuto di un messaggio in coda) oppure per **postsuper** (usato ad esempio per eliminare un messaggio dalla coda). Notare l' | ||
+ | |||
+ | < | ||
+ | postcat -c / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | postsuper -c / | ||
</ | </ | ||
doc/appunti/linux/sa/postfix_multi_istance.1347638522.txt.gz · Last modified: 2012/09/14 18:02 by niccolo