Re: postfix 2.3, gmail und sender_based relaying
Andreas Winkelmann wrote:
Kyek, Andreas, VF-DE sagte:
[...]
Zeig doch mal Deine Konfig. Statt main.cf "postconf -n".
OK, here we are (wird dann aber 'ne längere Mail mit teilweise längeren Zeilen). Bis auf wenige Anpassungen ist das wohl der SuSEconfig Standard: --- cut here --- alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix content_filter = daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_mime_output_conversion = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = 127.0.0.1 ::1 inet_protocols = all mailbox_command = mailbox_size_limit = 0 mailbox_transport = mail_owner = postfix mailq_path = /usr/bin/mailq mail_spool_directory = /var/mail manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 30000000 mydestination = $myhostname, $mydomain, localhost.$mydomain mydomain = privat.loc myhostname = linux.privat.loc newaliases_path = /usr/bin/newaliases queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES recipient_delimiter = + relay_clientcerts = hash:/etc/postfix/relay_ccerts relayhost = relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relayhosts sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_tls_clientcerts, permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_tls_ask_ccert = yes smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem smtpd_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem smtpd_tls_received_header = yes smtpd_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_sasl_type = cyrus smtp_sender_dependent_authentication = yes smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem smtp_tls_cert_file = /etc/postfix/ssl/certs/postfixcert.pem smtp_tls_key_file = /etc/postfix/ssl/certs/postfixkey.pem smtp_use_tls = yes strict_8bitmime = no strict_rfc821_envelopes = no tls_random_source = dev:/dev/urandom transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 --- cut here ---
Die master.cf ohne Kommentare.
--- cut here --- smtp inet n - n - 20 smtpd -o content_filter=smtp:[127.0.0.1]:10024 smtps inet n - n - 2 smtpd -o smtpd_tls_wrappermode=yes -o content_filter=smtp:[127.0.0.1]:10024 pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap smtp unix - - n - - smtp vfsmtp unix - - n - - smtp -o smtp_sasl_mechanism_filter=!digest-md5,static:all relay unix - - n - - smtp showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache localhost:10025 inet n - n - - smtpd -o content_filter= maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} old-cyrus unix - n n - - pipe flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} cyrus unix - n n - - pipe user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} --- cut here ---
Und die Map, welche Du als sender_relayhosts nimmst. Von mir aus mit veränderten Usern/Domains aber versuch die SOInderzeichen drin zu behalten.
--- cut here --- user.name1@mail1.net mail.mail1.net user.name2@mail1.net mail.gmx.net user.name3@mail1.de mail.mail1.net user.name4@mail1.de mail.mail1.net username5@mail2.de mail.mail2.de user-name1@mail2.de mail.mail2.de user.name6@mail2.de mail.mail2.de user.name1@vodafone.de vfsmtp:[smtp.email.vodafone.de] username3@mail3.com smtp.mail3.com --- cut here --- Die "." und "-" stehen auch so in den echten Adressen; ansonsten tauchen nur kleine Buchstaben auf.
Sind noch Mails in der Queue? Evtl. haben die noch alte Transport-Einträge gespiechert. requeue mal alle "postsuper -r ALL".
Nur die eine "hängende" Mail via vodafone. Remember: mit der im Prinzip gleichen Konfig kann ich via alle anderen Provider unter Nutzung der sender_relayhosts Mail versenden. Andreas -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com
Am Tuesday 13 June 2006 09:07 schrieb Kyek, Andreas, VF-DE:
Zeig doch mal Deine Konfig. Statt main.cf "postconf -n".
OK, here we are (wird dann aber 'ne längere Mail mit teilweise längeren Zeilen). Bis auf wenige Anpassungen ist das wohl der SuSEconfig Standard:
--- cut here --- user.name1@mail1.net mail.mail1.net user.name2@mail1.net mail.gmx.net user.name3@mail1.de mail.mail1.net user.name4@mail1.de mail.mail1.net username5@mail2.de mail.mail2.de user-name1@mail2.de mail.mail2.de user.name6@mail2.de mail.mail2.de user.name1@vodafone.de vfsmtp:[smtp.email.vodafone.de] username3@mail3.com smtp.mail3.com --- cut here ---
Das sieht alles recht vernünftig aus, vielleicht klappt es doch nicht, den Transport damit zu ändern. Wäre schön gewesen. Dann bleibt Dir nix anderes übrig, als den DIGEST-MD5 Mechanismus zu deinstallieren. Oder natürlich als Kunde/Mitarbeiter/was auch immer dem Admin von vodafone auf die Füsse zu treten. Der Server verhält sich nicht RFC-Konform. -- Andreas -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com
participants (2)
-
Andreas Winkelmann
-
Kyek, Andreas, VF-DE