Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- XXXX = domainname
- #postconf -n:
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- append_dot_mydomain = no
- biff = no
- broken_sasl_auth_clients = yes
- config_directory = /etc/postfix
- inet_protocols = ipv4
- message_size_limit = 50000000
- mydestination = $myhostname localhost
- myhostname = XXXX.org
- mynetworks = 127.0.0.0/8
- myorigin = /etc/mailname
- smtp_sasl_auth_enable = no
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- smtpd_banner = XXXX ESMTP Server
- smtpd_enforce_tls = no
- smtpd_helo_required = yes
- smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_sasl_authenticated, permit_mynetworks, reject_unverified_recipient, reject_unauth_destination, permit
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain = $myhostname
- smtpd_sasl_security_options = noanonymous
- smtpd_tls_auth_only = yes
- smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
- smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtpd_tls_session_cache_timeout = 3600s
- smtpd_use_tls = yes
- strict_rfc821_envelopes = yes
- virtual_alias_domains =
- virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
- virtual_gid_maps = static:2000
- virtual_mailbox_base = /var/kunden/mail/
- virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
- virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
- virtual_uid_maps = static:2000
- #cat /etc/aliases
- # See man 5 aliases for format
- root: username@XXXX.org
- postmaster: root
- logcheck: root
- #When used echo Message | mail -s "Subject" root , in syslog
- Sep 27 14:09:52 XXXX postfix/pickup[14780]: 025162CA7F0C: uid=0 from=<root>
- Sep 27 14:09:52 XXXX postfix/cleanup[752]: 025162CA7F0C: message-id=<20100927120952.025162CA7F0C@XXXX.org>
- Sep 27 14:09:52 XXXX postfix/qmgr[14782]: 025162CA7F0C: from=<root@XXXX.org>, size=280, nrcpt=1 (queue active)
- Sep 27 14:09:52 XXXX postfix/trivial-rewrite[783]: warning: do not list domain XXXX.org in BOTH mydestination and virtual_mailbox_domains
- Sep 27 14:09:52 XXXX postfix/local[795]: 025162CA7F0C: to=<username@XXXX.org>, orig_to=<root>, relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "username")
- Sep 27 14:09:52 XXXX postfix/cleanup[752]: 0D9762CA8BA1: message-id=<20100927120952.0D9762CA8BA1@XXXX.org>
- Sep 27 14:09:52 XXXX postfix/bounce[796]: 025162CA7F0C: sender non-delivery notification: 0D9762CA8BA1
- Sep 27 14:09:52 XXXX postfix/qmgr[14782]: 0D9762CA8BA1: from=<>, size=1964, nrcpt=1 (queue active)
- Sep 27 14:09:52 XXXX postfix/trivial-rewrite[783]: warning: do not list domain XXXX.org in BOTH mydestination and virtual_mailbox_domains
- Sep 27 14:09:52 XXXX postfix/qmgr[14782]: 025162CA7F0C: removed
- Sep 27 14:09:52 XXXX postfix/local[795]: 0D9762CA8BA1: to=<username@XXXX.org>, orig_to=<root@XXXX.org>, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "username")
- Sep 27 14:09:52 XXXX postfix/qmgr[14782]: 0D9762CA8BA1: removed
- But the important thing is, i can change
- root: username@XXXX.org to whatever i want, and nothing changes after newalias and a reload of proftpd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement