[Postfixbuch-users] transport via master - environment PATH
ckubu
ckubu at so36.net
Fr Nov 22 14:11:30 CET 2013
Hallo Werner
Am 22.11.2013 13:30, schrieb Werner Flamme:
> [22.11.2013 12:28] [ckubu]:
>> Am 22.11.2013 04:06, schrieb Jens Adam:
>>>
>>> guck dir vielleicht noch "export_environment" in postconf(5) an.
>>
>> das war auch eines meiner Versuche, aber die PATH Varible konnte ich
>> damit nicht beeinflussen. Trotzdem natürlich vielen Dank..
>
> Komisch. Gerade das ist doch als Beispiel angegeben!?
>
> ---snip---
>
> export_environment (default: see postconf -d output)
> The list of environment variables that a Postfix process will export to
> non-Postfix processes. The TZ variable is needed for sane time keeping
> on System-V-ish systems.
>
> Specify a list of names and/or name=value pairs, separated by whitespace
> or comma. The name=value form is supported with Postfix version 2.1 and
> later.
>
> Example:
> export_environment = TZ PATH=/bin:/usr/bin
> ---pins---
Ich hab es jetzt nochmals mit dem Setzen von export_environment
probiert, aber es funktioniert nicht. Jetzt grüble ich auch, vielleicht
hab ich an andere Stelle was verbockt.
so siehts in meiner master.cf aus:
cryptolists-so36-net unix - n n - - pipe
flags=DRhu user=schleuder argv=/usr/local/schleuder/bin/schleuder
${user}@${domain}
und das ist meine postfix configuration:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
config_directory = /etc/postfix
cryptolists-so36-net_destination_recipient_limit = 1
export_environment = TZ
PATH=/usr/local/ruby/bin:/bin:/usr/bin:/sbin:/usr/sbin
mailbox_size_limit = 0
maximal_queue_lifetime = 5d
message_size_limit = 62914560
recipient_delimiter = -
relay_domains = $mydestination, btree:/etc/postfix/relay_domains
relayhost =
smtp_tls_loglevel = 1
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_recipient_restrictions = check_recipient_access
btree:/etc/postfix/access_recipient-rfc check_sender_access
btree:/etc/postfix/access_sender check_recipient_access
btree:/etc/postfix/access_recipient permit_mynetworks
permit_sasl_authenticated reject_non_fqdn_sender
reject_non_fqdn_recipient reject_unknown_sender_domain
reject_unknown_recipient_domain reject_unlisted_recipient
reject_rbl_client zen.spamhaus.org reject_rbl_client ix.dnsbl.manitu.net
check_policy_service inet:127.0.0.1:10023 reject_unverified_recipient
permit_mx_backup reject_unauth_destination permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = cyrus
smtpd_tls_CApath = /etc/postfix/sslcerts
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/ssl/mailserver.crt
smtpd_tls_dh1024_param_file = /etc/postfix/ssl/dh_1024.pem
smtpd_tls_dh512_param_file = /etc/postfix/ssl/dh_512.pem
smtpd_tls_key_file = /etc/postfix/ssl/mailserver.key
smtpd_tls_loglevel = 1
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
transport_maps = btree:/etc/postfix/transport_maps,
btree:/etc/postfix/relay_domains
virtual_mailbox_domains = cryptolists.so36.net
LG Christoph
--
e: ckubu at so36.net
Mehr Informationen über die Mailingliste Postfixbuch-users