<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-crea="font-wrapper" style="font-family: Tahoma; font-size: 16px; direction: ltr"><div style="font-family: Tahoma; font-size: 16px"></div><div><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14.6666669845581px;">>> mysql -u root -p -e "SELECT alias FROM mail.virtual"</span><br></div><div><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14.6666669845581px;"><br></span></div><div><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14.6666669845581px;">Bitte mal ausführen und posten.</span></div><div><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; font-size: 14.6666669845581px;"><br></span></div><div><br><br><div data-anchor="reply-title">Am Mi., Apr. 15, 2015 18:38 schrieb sdr(DI Friedrich Reichhart) <senior.reichhart@sdr.at>:</div><blockquote><div>Gerne poste ich die gewünschten Daten:<br><br>postconf -n<br>address_verify_map = btree:/var/spool/postfix/verified_senders<br>alias_database = hash:/etc/postfix/aliases<br>alias_maps = hash:/etc/postfix/aliases<br>broken_sasl_auth_clients = yes<br>command_directory = /usr/sbin<br>config_directory = /etc/postfix<br>content_filter = smtp-amavis:127.0.0.1:10024<br>daemon_directory = /usr/libexec/postfix<br>debug_peer_level = 1<br>duplicate_filter_limit = 100000<br>mail_owner = postfix<br>mailbox_size_limit = 1024000000<br>mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp<br>mailq_path = /usr/bin/mailq<br>manpage_directory = /usr/man<br>message_size_limit = 102400000<br>mydestination = $myhostname, localhost, localhost.localdomain,<br>localhost.$mydomain, mysql:/etc/postfix/mysql-mydestination.cf<br>mydomain = sdr.at<br>myhostname = mail.sdr.at<br>mynetworks = 212.24.113.16/28, 212.24.113.143/32, 85.126.8.194/32,<br>80.73.240.192/27, 80.123.214.126/32, 80.123.211.78/32, 93.83.195.138,<br>93.82.165.91, 195.202.152.110, 80.73.242.200, 91.114.10.208/29,<br>212.186.235.136/29, 80.110.46.5/32, 80.73.242.214, 80.73.242.215,<br>77.220.109.28<br>myorigin = $mydomain<br>newaliases_path = /usr/bin/newaliases<br>queue_directory = /var/spool/postfix<br>readme_directory = /usr/share/doc/postfix-2.3.3/readme<br>recipient_canonical_maps = hash:/etc/postfix/canonical<br>relayhost = smtp01.sdr.at<br>sample_directory = /etc/postfix<br>sender_bcc_maps = hash:/etc/postfix/sender_bcc<br>sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf<br>sendmail_path = /usr/sbin/sendmail<br>setgid_group = postdrop<br>smtp_tls_CAfile = /etc/pki/tls/certs/ca.pem<br>smtp_tls_cert_file = /etc/pki/tls/certs/mail2013.sdr.at.crt<br>smtp_tls_key_file = /etc/pki/tls/certs/mail2013_o.sdr.at.key<br>smtp_tls_session_cache_database =<br>btree:/var/spool/postfix/smtp_tls_session_cache<br>smtp_use_tls = yes<br>smtpd_banner = $myhostname ESMTP<br>smtpd_client_connection_count_limit = 20<br>smtpd_client_connection_rate_limit = 30<br>smtpd_client_message_rate_limit = 0<br>smtpd_client_recipient_rate_limit = 0<br>smtpd_helo_required = yes<br>smtpd_helo_restrictions = reject_unauth_pipelining<br>smtpd_recipient_restrictions = permit_sasl_authenticated<br>reject_non_fqdn_recipient permit_mynetworks<br>reject_non_fqdn_sender reject_unknown_sender_domain<br>reject_unknown_recipient_domain reject_sender_login_mismatch<br>reject_unauth_destination check_recipient_access<br>hash:/etc/postfix/roleaccount_exceptions reject_non_fqdn_hostname<br>reject_invalid_hostname reject_unauth_pipelining<br>check_helo_access regexp:/etc/postfix/helo_checks<br>check_client_access hash:/etc/postfix/whitelist_checks<br>check_sender_access hash:/etc/postfix/blacklist_checks,<br>hash:/etc/postfix/check_backscatterer check_policy_service<br>unix:postgrey/socket permit<br>smtpd_sasl_auth_enable = yes<br>smtpd_sasl_authenticated_header = yes<br>smtpd_sasl_exceptions_networks = 85.126.96.174/32<br>smtpd_sasl_local_domain =<br>smtpd_sasl_path = smtpd<br>smtpd_sasl_security_options = noanonymous<br>smtpd_timeout = 300<br>smtpd_tls_CAfile = /etc/pki/tls/certs/ca.pem<br>smtpd_tls_cert_file = /etc/pki/tls/certs/mail2013.sdr.at.crt<br>smtpd_tls_key_file = /etc/pki/tls/certs/mail2013_o.sdr.at.key<br>smtpd_tls_loglevel = 1<br>smtpd_tls_received_header = yes<br>smtpd_tls_session_cache_database =<br>btree:/var/spool/postfix/smtpd_tls_session_cache<br>smtpd_tls_session_cache_timeout = 3600s<br>smtpd_use_tls = yes<br>soft_bounce = no<br>tls_random_source = dev:/dev/urandom<br>transport_maps = hash:/etc/postfix/transport<br>unknown_local_recipient_reject_code = 550<br>virtual_alias_maps = hash:/etc/postfix/virtual,<br>mysql:/etc/postfix/mysql-virtual.cf<br><br>cat virtual<br>#<br>@vorzugsstimme.eu <a target="_blank" href="mailto:user@vorzugsstimme.eu">user@vorzugsstimme.eu</a><br>@vorzugsstimmen.eu <a target="_blank" href="mailto:user@vorzugsstimme.eu">user@vorzugsstimme.eu</a><br>@vorzugsstimme.at <a target="_blank" href="mailto:user@vorzugsstimme.eu">user@vorzugsstimme.eu</a><br>@vorzugsstimmen.at <a target="_blank" href="mailto:user@vorzugsstimme.eu">user@vorzugsstimme.eu</a><br><br>cat mysql-virtual.cf<br>#<br># mysql config file for alias lookups on postfix<br># comments are ok.<br>#<br><br># the user name and password to log into the mysql server<br>hosts = localhost<br>user = ****<br>password = ******<br><br># the database name on the servers<br>dbname = mail<br><br># the table name<br># table = virtual<br><br>#<br># select_field = dest<br># where_field = alias<br># additional_conditions = and status = '1'<br><br># Neue Form<br>query = SELECT dest FROM virtual WHERE alias = '%s' AND status = '1' AND<br>alias not like '%%sdr.info'<br>#query = SELECT dest FROM virtual WHERE alias = '%s' AND status = '1'<br><br>cat mysql-canonical.cf<br>#<br># mysql config file for canonical lookups on postfix<br># comments are ok.<br>#<br><br># the user name and password to log into the mysql server<br>hosts = localhost<br>user = ****<br>password = ******<br><br># the database name on the servers<br>dbname = mail<br><br># the table name<br># table = virtual<br>#<br># select_field = alias<br># where_field = username<br># Return the first match only<br># additional_conditions = and status = '1' limit 1<br><br># Neue Form<br>query = SELECT alias FROM virtual WHERE username = '%s' AND status = '1'<br>limit 1<br>expansion_limit = 1<br><br>cat canonical<br>#<br>@relocation-service.at @relocation-services.at<br>@der-geometer.at @ihr-geometer.at<br>@der-vermesser.at @ihr-geometer.at<br>@dergeometer.com @ihr-geometer.at<br>@dergeometer.info @ihr-geometer.at<br>@dergeometer.net @ihr-geometer.at<br>@dervermesser.info @ihr-geometer.at<br>@dervermesser.net @ihr-geometer.at<br>@ihr-vermesser.at @ihr-geometer.at<br>@ihrgeometer.at @ihr-geometer.at<br>@ihrvermesser.at @ihr-geometer.at<br>@landvermesser.at @ihr-geometer.at<br>@mein-geometer.at @ihr-geometer.at<br>@meingeometer.at @ihr-geometer.at<br>@zivilgeometer.co.at @ihr-geometer.at<br><br>Danke für die Hilfe!!<br><br>Freundliche Grüße<br>Dipl.-Ing. Friedrich Reichhart<br>Geschäftsführer<br><br>-- <br>** Software Development Reichhart GmbH<br>** A-1220 Wien, Schachnerstrasse 53 <br>** Tel: +43 1 237 91 22 / Fax: +43 1 204 42 71<br>** Handelsgericht Wien, Firmenbuch: FN 189969 t , UID: ATU 48408502<br>** <a target="_blank" href="mailto:senior.reichhart@sdr.at">senior.reichhart@sdr.at</a> , <a target="_blank" href="mailto:office@sdr.at">office@sdr.at</a> / <a target="_blank" href="http://www.sdr.at">www.sdr.at</a><br><br>-----Ursprüngliche Nachricht-----<br>Von: Postfixbuch-users [mailto:<a target="_blank" href="mailto:postfixbuch-users-bounces@listen.jpberlin.de">postfixbuch-users-bounces@listen.jpberlin.de</a>]<br>Im Auftrag von Peer Heinlein<br>Gesendet: Dienstag, 14. April 2015 08:39<br>An: Eine Diskussionsliste rund um das Postfix-Buch von Peer Heinlein.<br>Betreff: Re: [Postfixbuch-users] rewrite und transport problem<br><br>Am 13.04.2015 um 22:18 schrieb sdr(DI Friedrich Reichhart):<br><br><blockquote>Kann mir hier vielleicht jemand weiterhelfen?</blockquote><br><br>Ja, wenn Du hier die config postest damit wir nachschauen können:<br><br>a) postconf -n<br>b) Die in virtual_alias_maps, virtual_maps, sender_canonical_maps,<br>recipient_canonical_maps und canonical_maps genannten Dateien<br><br>Peer<br><br>-- <br>Heinlein Support GmbH<br>Schwedter Str. 8/9b, 10119 Berlin<br><br><a target="_blank" href="http://www.heinlein-support.de">http://www.heinlein-support.de</a><br><br>Tel: 030 / 405051-42<br>Fax: 030 / 405051-19<br><br>Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht<br>Berlin-Charlottenburg,<br>Geschäftsführer: Peer Heinlein -- Sitz: Berlin<br>-- <br>_______________________________________________<br>Postfixbuch-users -- <a target="_blank" href="http://www.postfixbuch.de">http://www.postfixbuch.de</a><br>Heinlein Professional Linux Support GmbH<br><br><a target="_blank" href="mailto:Postfixbuch-users@listen.jpberlin.de">Postfixbuch-users@listen.jpberlin.de</a><br><a target="_blank" href="https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users">https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users</a><br><br>-- <br>_______________________________________________<br>Postfixbuch-users -- <a target="_blank" href="http://www.postfixbuch.de">http://www.postfixbuch.de</a><br>Heinlein Professional Linux Support GmbH<br><br><a target="_blank" href="mailto:Postfixbuch-users@listen.jpberlin.de">Postfixbuch-users@listen.jpberlin.de</a><br><a target="_blank" href="https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users">https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users</a></div></blockquote></div></div></body></html>