[postfix-users] von Doku "Generic mapping for outgoing SMTP mail" hat an patschen
Hallo,
könnt Ihr mir bitte helfen, ich glaube ich übersehe was oder hab was falsch verstanden.
Ziel:
Alle Mails welche vom server.domain.at sollen an user@andere-domain.at gehen.
Lösung:
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
leider dürfte ich was falsch gemacht haben.
### root@www:~# postconf mail_version mail_version = 2.8.2 root@www:~# uname -a Linux server.domain.at 2.6.38.2 #2 SMP Thu Aug 25 16:40:22 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue Ubuntu 11.04 ###
### postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_size_limit = 0 mydestination = domain.at, , localhost myhostname = server.domain.at mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = smtp_generic_maps = hash:/etc/postfix/stmp_generic smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) 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 ###
cat /etc/postfix/stmp_generic ### @domain.at user@andere-domain.at ###
postmap /etc/postfix/stmp_generic
root@www:~# sendmail -bv test@domain.at Mail Delivery Status Report will be mailed to <root>. root@www:~# fg tail -f /var/log/mail.log
### Jan 30 10:30:44 ns61620 postfix/qmgr[2693]: 6F1688302A: from=<>, size=1835, nrcpt=1 (queue active) Jan 30 10:30:44 ns61620 postfix/local[7583]: 6F1688302A: to=root@server.domain.at, relay=local, delay=950, delays=950/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 30 10:30:44 ns61620 postfix/qmgr[2693]: 6F1688302A: removed Jan 30 10:31:18 ns61620 postfix/pickup[2692]: 7CA948302A: uid=0 from=<root> Jan 30 10:31:18 ns61620 postfix/cleanup[7579]: 7CA948302A: message-id=20120130093118.7CA948302A@server.domain.at Jan 30 10:31:18 ns61620 postfix/qmgr[2693]: 7CA948302A: from=root@server.domain.at, size=274, nrcpt=1 (queue active) Jan 30 10:31:48 ns61620 postfix/smtp[11336]: connect to not-reachable.mx.net[<IP>]:25: Connection timed out Jan 30 10:31:48 ns61620 postfix/smtp[11336]: connect to backup-mx.provider.net[<IP>]:25: Connection refused Jan 30 10:31:48 ns61620 postfix/smtp[11336]: 7CA948302A: to=test@domain.at, relay=none, delay=30, delays=0/0.01/30/0, dsn=4.4.1, status=undeliverable (connect to backup-mx.provider.net[77.37.17.78]:25: Connection refused) Jan 30 10:31:48 ns61620 postfix/cleanup[7579]: B9E6E8302E: message-id=20120130093148.B9E6E8302E@server.domain.at Jan 30 10:31:48 ns61620 postfix/bounce[11376]: 7CA948302A: sender delivery status notification: B9E6E8302E Jan 30 10:31:48 ns61620 postfix/qmgr[2693]: 7CA948302A: removed Jan 30 10:31:48 ns61620 postfix/qmgr[2693]: B9E6E8302E: from=<>, size=1835, nrcpt=1 (queue active) Jan 30 10:31:48 ns61620 postfix/local[7583]: B9E6E8302E: to=root@domain.at, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 30 10:31:48 ns61620 postfix/qmgr[2693]: B9E6E8302E: removed ###
Beim 'smtp -v' in master.conf wirkt es so als ob die smtp_generic_maps nicht angegriffen wird. Vielen Dank für eure Hilfe
LG Aleks
Hallo,
sorry für das neu senden, aber ich glaube das die Mail in einigen Spamfiltern gelandet ist.
Danke für euer Verständnis.
Mit freundlichen Grüßen
Aleks
On 30-01-2012 10:41, Aleksandar Lazic (pf-u-de) wrote:
Hallo,
könnt Ihr mir bitte helfen, ich glaube ich übersehe was oder hab was falsch verstanden.
Ziel:
Alle Mails welche vom server.domain.at sollen an user@andere-domain.at gehen.
Lösung:
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
leider dürfte ich was falsch gemacht haben.
### root@www:~# postconf mail_version mail_version = 2.8.2 root@www:~# uname -a Linux server.domain.at 2.6.38.2 #2 SMP Thu Aug 25 16:40:22 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue Ubuntu 11.04 ###
### postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix inet_interfaces = all mailbox_size_limit = 0 mydestination = domain.at, , localhost myhostname = server.domain.at mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = /etc/mailname readme_directory = no recipient_delimiter = + relayhost = smtp_generic_maps = hash:/etc/postfix/stmp_generic smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) 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 ###
cat /etc/postfix/stmp_generic ### @domain.at user@andere-domain.at ###
postmap /etc/postfix/stmp_generic
root@www:~# sendmail -bv test@domain.at Mail Delivery Status Report will be mailed to <root>. root@www:~# fg tail -f /var/log/mail.log
### Jan 30 10:30:44 ns61620 postfix/qmgr[2693]: 6F1688302A: from=<>, size=1835, nrcpt=1 (queue active) Jan 30 10:30:44 ns61620 postfix/local[7583]: 6F1688302A: to=root@server.domain.at, relay=local, delay=950, delays=950/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 30 10:30:44 ns61620 postfix/qmgr[2693]: 6F1688302A: removed Jan 30 10:31:18 ns61620 postfix/pickup[2692]: 7CA948302A: uid=0 from=<root> Jan 30 10:31:18 ns61620 postfix/cleanup[7579]: 7CA948302A: message-id=20120130093118.7CA948302A@server.domain.at Jan 30 10:31:18 ns61620 postfix/qmgr[2693]: 7CA948302A: from=root@server.domain.at, size=274, nrcpt=1 (queue active) Jan 30 10:31:48 ns61620 postfix/smtp[11336]: connect to not-reachable.mx.net[<IP>]:25: Connection timed out Jan 30 10:31:48 ns61620 postfix/smtp[11336]: connect to backup-mx.provider.net[<IP>]:25: Connection refused Jan 30 10:31:48 ns61620 postfix/smtp[11336]: 7CA948302A: to=test@domain.at, relay=none, delay=30, delays=0/0.01/30/0, dsn=4.4.1, status=undeliverable (connect to backup-mx.provider.net[77.37.17.78]:25: Connection refused) Jan 30 10:31:48 ns61620 postfix/cleanup[7579]: B9E6E8302E: message-id=20120130093148.B9E6E8302E@server.domain.at Jan 30 10:31:48 ns61620 postfix/bounce[11376]: 7CA948302A: sender delivery status notification: B9E6E8302E Jan 30 10:31:48 ns61620 postfix/qmgr[2693]: 7CA948302A: removed Jan 30 10:31:48 ns61620 postfix/qmgr[2693]: B9E6E8302E: from=<>, size=1835, nrcpt=1 (queue active) Jan 30 10:31:48 ns61620 postfix/local[7583]: B9E6E8302E: to=root@domain.at, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Jan 30 10:31:48 ns61620 postfix/qmgr[2693]: B9E6E8302E: removed ###
Beim 'smtp -v' in master.conf wirkt es so als ob die smtp_generic_maps nicht angegriffen wird. Vielen Dank für eure Hilfe
LG Aleks _______________________________________________ postfix-users mailing list postfix-users@de.postfix.org http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
* Aleksandar Lazic (PF-U-DE) al-pfusde@none.at:
könnt Ihr mir bitte helfen, ich glaube ich übersehe was oder hab was falsch verstanden.
Ziel:
Alle Mails welche vom server.domain.at sollen an user@andere-domain.at gehen.
Lösung:
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
Du willst re-routing, aber Du machst re-writing.
Was Du brauchst ist einen alias-Eintrag, der alles von server.domain.at an user@andere-domain.at umleitet.
Ist server.domain.at ein Host oder eine Sender-Domain?
p@rick
Hallo Patrick,
On 31-01-2012 22:42, Patrick Ben Koetter wrote:
- Aleksandar Lazic (PF-U-DE) al-pfusde@none.at:
könnt Ihr mir bitte helfen, ich glaube ich übersehe was oder hab was falsch verstanden.
Ziel:
Alle Mails welche vom server.domain.at sollen an user@andere-domain.at gehen.
Lösung:
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
Du willst re-routing, aber Du machst re-writing.
Was Du brauchst ist einen alias-Eintrag, der alles von server.domain.at an user@andere-domain.at umleitet.
Meinst du
http://www.postfix.org/postconf.5.html#virtual_alias_maps
aus
http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall
Ich hoffe das ich dich da richtig verstanden habe,
Ist server.domain.at ein Host oder eine Sender-Domain?
Der host selbst. Die mail geht als info@domain.at, test@domain.at, ...@domain.at raus.
LG Aleks
participants (3)
-
Aleksandar Lazic (pf-u-de)
-
Aleksandar Lazic (PF-U-DE)
-
Patrick Ben Koetter