Commit e101704d authored by Eric's avatar Eric

configuration postfix

parent 0394c831
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
mydestination =
$myhostname
localhost.$mydomain
localhost
/etc/mail/sympa/mydestination
virtual_maps = regexp:/etc/mail/sympa/virtual-regexp
#hash:/etc/mail/sympa/virtual,
alias_maps =
hash:/etc/aliases
hash:/etc/mail/sympa/aliases
hash:/etc/mail/sympa/aliases-domains
hash:/etc/mail/sympa/aliases-global
alias_database = $alias_maps
relayhost = __SERVERMXOUT__
mynetworks = 127.0.0.0/8 __IPLAN__/24
inet_protocols=ipv4
#inet_interfaces = loopback-only
recipient_delimiter = +
sympa_destination_recipient_limit = 1
sympabounce_destination_recipient_limit = 1
## Proxy maps
proxy_read_maps =
proxy:unix:passwd.byname
proxy:pgsql:/etc/postfix/sql-relaydomains-transport.cf
#on laisse faire le serveur principal de modoboa pour ca
transport_maps =
proxy:pgsql:/etc/postfix/sql-relaydomains-transport.cf
#utiliser le fichier /etc/hosts
lmtp_host_lookup = native
smtp_host_lookup = native
user = __SQLUSER__
password = __SQLPASS__
hosts = __MODOBOAIP__
dbname = modoboa
#orig query = SELECT srv.name || ':[' || rdom.target_host || ']:' || rdom.target_port FROM postfix_relay_domains_service AS srv INNER JOIN postfix_relay_domains_relaydomain AS rdom ON rdom.service_id=srv.id INNER JOIN admin_domain AS dom ON rdom.domain_id=dom.id WHERE dom.enabled AND dom.name='%s'
query = SELECT 'smtp:[__MODOBOAIP__]:25' FROM admin_domain WHERE enabled AND name='%s'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment