Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
-
jlinker
- Posts: 248
- Joined: 2002-07-08 20:07
Post
by jlinker » 2004-04-07 18:30
Ich habe 2 Server und möchte alle Mails des Servers1 zu Server2 senden. Auf Server1 hinterlege ich den entsprechenden relayhost Eintrag. Aber ich packe es nicht, dass mein Server2 die Mails auch relayed. Ein Eintrag in relay_hosts hat leider nicht geholfen. Könnt Ihr mir weiterhelfen? :roll:
Anbei Auszug der main.cf auf Server2
Code: Select all
header_checks = regexp:/etc/postfix/header_checks
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relay_domains = hash:/etc/postfix/relay_domains, $mydestination
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = xxx
mydomain = xxx.de
masquerade_domains =
disable_dns_lookups = no
message_size_limit = 40960000
content_filter = smtp-amavis:[127.0.0.1]:10024
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unauth_de
alias_maps = hash:/etc/aliases, hash:/etc/aliases.d/mailman
smtpd_sasl_local_domain = server1
smtpd_sasl_auth_enable=yes
smtpd_sasl_security_optons= noanonymous
-
jlinker
- Posts: 248
- Joined: 2002-07-08 20:07
Post
by jlinker » 2004-04-08 18:57
-
Joe User
- Project Manager

- Posts: 11599
- Joined: 2003-02-27 01:00
- Location: Hamburg
Post
by Joe User » 2004-04-08 21:32
Im Urlaub.
-
captaincrunch
- Userprojekt

- Posts: 7225
- Joined: 2002-10-09 14:30
- Location: Dorsten
Post
by captaincrunch » 2004-04-08 23:00
Schön wär's... ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
-
compositiv
- Posts: 193
- Joined: 2003-01-22 14:58
- Location: Hamburg
Post
by compositiv » 2004-04-08 23:15
Nanu, wo ist das obligatorische RTFM? >:->
Also: $mynetworks könnte helfen.
Allerdings macht im Zeitalter des Spams auch bei Server->Server-Kommunikation SMTP-Auth Sinn.
Alles andere fällt IMHO eher unter "Security by Obscurity", wenn man sich z.b. auf die IP verlaesst, obwohls eher die gehobene Schule sein dürfte eine ganze Mail mit einer gespooften IP einzuschleusen.
-
jlinker
- Posts: 248
- Joined: 2002-07-08 20:07
Post
by jlinker » 2004-04-09 10:39
An SMTP-Auth dachte ich auch schon - habt Ihr nen Hinweis wie ich das im sendenden Postfix hinterlegen kann / muss?
Danke :lol:
-
Matthias Diehl
- Posts: 315
- Joined: 2002-09-24 13:26
Post
by Matthias Diehl » 2004-04-09 11:34
Dazu solltest Du so etwas in die main.cf eintragen:
und in die sasl_passwd dann:
Dann noch
und es sollte gehen.
-
jlinker
- Posts: 248
- Joined: 2002-07-08 20:07
Post
by jlinker » 2004-04-10 13:04
..hab noch ne Frage dazu. Ne sasl_passwd gibts bei mir noch nicht. Reicht es aus die einfach anzulegen oder muss ich die noch irgendwo eintragen bzw. hinterlegen dass es die jetzt gibt.
Danke
Jürgen
-
jlinker
- Posts: 248
- Joined: 2002-07-08 20:07
Post
by jlinker » 2004-04-10 14:06
OK, habs selber rausgefunden
In die main.cf habe ich noch eingetragen:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
jetzt gehts - vielen Dank :lol:
-
Joe User
- Project Manager

- Posts: 11599
- Joined: 2003-02-27 01:00
- Location: Hamburg
Post
by Joe User » 2004-04-10 20:44
Compositiv wrote:Nanu, wo ist das obligatorische RTFM? >:->
Irgendetwas müssen unsere User auch mal beisteuern dürfen :roll: