pablovschby
17.02.15, 16:13
Guten Tag
Ubuntu 14, up-to-date, 64-Bit
Ich möchte, bevor ich weitere Schritte mache, sicherstellen, dass postfix sich selber ins dovecot überhaupt Emails abliefern kann. Leider geht das bisher nicht:
root@...:/etc/postfix# mail linuxuser@localhost
Subject: fsda
fasd
.
Cc:
root@...:/etc/postfix# find /srv/mail/
/srv/mail/
/srv/mail/linuxuser
Das Log meldet zwar
Feb 17 17:04:40 hostname postfix/qmgr[3602]: B8A6BC60719: from=<root@fqdn-mailserver>, size=286, nrcpt=1 (queue active)
Feb 17 17:04:40 hostname postfix/local[3625]: B8A6BC60719: to=<linuxuser@localhost>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Feb 17 17:04:40 hostname postfix/qmgr[3602]: B8A6BC60719: removed
aber es kommt in dovecot überhaupt nichts an. Im Log steht von dovecot nix.
Dabei müsste man nach Howto doch nur in /etc/postfix/master.cf diese Zeilen
submission inet n - - - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_sasl_security_options=noanonymous
-o smtpd_sasl_local_domain=$myhostname
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
-o smtpd_sender_login_maps=hash:/etc/postfix/virtual
-o smtpd_sender_restrictions=reject_sender_login_mism atch
Und in 10-master.conf diese Zeilen
unix_listener auth-userdb {
#mode = 0666
user = postfix
group = postfix
}
hinzufügen? Anstatt "localhost" kann ich auch den fqdn-mailserver nehmen, gleiches Resultat. Zudem ist in der /etc/postfix/main.cf auch bei mydestination = ... der fqdn-mailserver eingefügt?
Wo muss ich nachschauen?
Mit mail blabla@öffentlich-funktionierende-domäne.de und dann eingabe von subject und text kommt leider auch nichts an, obwohl das Internet an diesem Server geht. Das müsste dann ein postfix-Problem sein?
Grüsse
Ubuntu 14, up-to-date, 64-Bit
Ich möchte, bevor ich weitere Schritte mache, sicherstellen, dass postfix sich selber ins dovecot überhaupt Emails abliefern kann. Leider geht das bisher nicht:
root@...:/etc/postfix# mail linuxuser@localhost
Subject: fsda
fasd
.
Cc:
root@...:/etc/postfix# find /srv/mail/
/srv/mail/
/srv/mail/linuxuser
Das Log meldet zwar
Feb 17 17:04:40 hostname postfix/qmgr[3602]: B8A6BC60719: from=<root@fqdn-mailserver>, size=286, nrcpt=1 (queue active)
Feb 17 17:04:40 hostname postfix/local[3625]: B8A6BC60719: to=<linuxuser@localhost>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Feb 17 17:04:40 hostname postfix/qmgr[3602]: B8A6BC60719: removed
aber es kommt in dovecot überhaupt nichts an. Im Log steht von dovecot nix.
Dabei müsste man nach Howto doch nur in /etc/postfix/master.cf diese Zeilen
submission inet n - - - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_type=dovecot
-o smtpd_sasl_path=private/auth
-o smtpd_sasl_security_options=noanonymous
-o smtpd_sasl_local_domain=$myhostname
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject
-o smtpd_sender_login_maps=hash:/etc/postfix/virtual
-o smtpd_sender_restrictions=reject_sender_login_mism atch
Und in 10-master.conf diese Zeilen
unix_listener auth-userdb {
#mode = 0666
user = postfix
group = postfix
}
hinzufügen? Anstatt "localhost" kann ich auch den fqdn-mailserver nehmen, gleiches Resultat. Zudem ist in der /etc/postfix/main.cf auch bei mydestination = ... der fqdn-mailserver eingefügt?
Wo muss ich nachschauen?
Mit mail blabla@öffentlich-funktionierende-domäne.de und dann eingabe von subject und text kommt leider auch nichts an, obwohl das Internet an diesem Server geht. Das müsste dann ein postfix-Problem sein?
Grüsse