Current time: 12-24-2024, 05:12 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]Postfix findet dovecot nicht
Author Message
Robert.K Offline
Newbie
*

Posts: 9
Joined: Mar 2009
Reputation: 0
Post: #1
[ERLEDIGT]Postfix findet dovecot nicht
Hallo alle miteinander,
ich habe gerade Courier runtergeschmissen und Dovecot installiert, nach anleitung in der HowTo Section. Leider kommen nun die Mails nicht mehr an Sad. Ich bekomme folgenden fehler in der mail.warn logdatei:
Quote:Mar 22 19:25:57 hotel511 postfix/qmgr[31282]: warning: connect to transport dovecot: No such file or directory
Mar 22 19:25:57 hotel511 postfix/qmgr[31282]: warning: connect to transport retry: No such file or directory
Postfix main.cf sieht wie folgt aus:
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = hotel511.server4you.de.local
myhostname = hotel511.server4you.de
mynetworks_style = host
myorigin = $myhostname
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ISPCP
smtpd_data_restrictions = reject_multi_recipient_bounce,                               reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_invalid_helo_hostname,                               reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient,                               reject_unknown_recipient_domain,                               permit_mynetworks,                               permit_sasl_authenticated,                               reject_unauth_destination,                               reject_unlisted_recipient,                               check_policy_service inet:127.0.0.1:12525,                               check_policy_service inet:127.0.0.1:60000,                               permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_non_fqdn_sender,                               reject_unknown_sender_domain,                               permit_mynetworks,                               permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1000
virtual_transport = dovecot
virtual_uid_maps = static:1000
und zu guter letzt die master.cf:
Quote:smtp inet n - - - - smtpd
587 inet n - - - - smtpd
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes

localhost:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_override_options=no_address_mappings
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes

ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr

smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}
Bisher bin ich nicht darauf gekommen an was es liegen könnte.
/usr/lib/dovecot/deliver existiert auch. Ich hoffe ihr könnt mir helfen. Vielen Dank im voraus.
(This post was last modified: 03-25-2009 12:44 AM by ZooL.)
03-23-2009 04:29 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: Postfix findet dovecot nicht
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot


dieser teil muss raus und gegen den dovecot teil getauscht werden... dann nochmal probieren
03-23-2009 07:16 AM
Visit this user's website Find all posts by this user
Robert.K Offline
Newbie
*

Posts: 9
Joined: Mar 2009
Reputation: 0
Post: #3
RE: Postfix findet dovecot nicht
Danke für deine schnelle Antwort. Aber irgendwie bin ich gerade etwas verwirrt. Ich soll nun
Quote:smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
mit
Quote:dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}
ersetzen? Oder wie hast du das gemeint?
03-23-2009 07:38 PM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #4
RE: Postfix findet dovecot nicht
Quote: Configure postfix

Change parameters in /etc/postfix/main.cf:


smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
#smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
#smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1


Add the following line to /etc/postfix/master.cf:

dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -d ${recipient}

ich nehme alles zurück ich sollte mir angewöhnen nicht immer so früh zu Antworten Big Grin
hatte das dovecot nicht gelesen... hast gewonnen fehler liegt woanders begraben
03-24-2009 12:22 AM
Visit this user's website Find all posts by this user
Robert.K Offline
Newbie
*

Posts: 9
Joined: Mar 2009
Reputation: 0
Post: #5
RE: Postfix findet dovecot nicht
^^ macht nix, jetzt is nur die frage wo er liegen könnte :/ vielleicht nch jemand eine idee?
03-24-2009 02:43 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Postfix findet dovecot nicht
probier mal:

/etc/postfix/post-install upgrade-configuration
03-24-2009 02:56 AM
Visit this user's website Find all posts by this user
Robert.K Offline
Newbie
*

Posts: 9
Joined: Mar 2009
Reputation: 0
Post: #7
RE: Postfix findet dovecot nicht
Vielen Dank. Leider immernoch das gleiche problem. Braucht ihr vielleich noch irgendwelche informationen?
03-24-2009 07:42 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Postfix findet dovecot nicht
nimm mal postfix aus dem chroot...

ändere dazu folgendes:

Quote:smtp inet n - - - - smtpd
587 inet n - - - - smtpd
smtps inet n - - - - smtpd

zu:


Quote:smtp inet n - n - - smtpd
587 inet n - n - - smtpd
smtps inet n - n - - smtpd
03-24-2009 08:08 AM
Visit this user's website Find all posts by this user
Robert.K Offline
Newbie
*

Posts: 9
Joined: Mar 2009
Reputation: 0
Post: #9
RE: Postfix findet dovecot nicht
Leider immernoch gleiches problem, ich hab jetzt auch mal nachgeschaut ob nicht irgendwie falsche rechte gesetzt wurden aber leider ist das auch nicht das problem.
03-24-2009 10:12 PM
Find all posts by this user
Robert.K Offline
Newbie
*

Posts: 9
Joined: Mar 2009
Reputation: 0
Post: #10
RE: Postfix findet dovecot nicht
okay leute ich habs hinbekommen. Ich weis nicht genau an was es gehangen hat aber nun geht es ich habe viele fehler gefunden und nun kann ich nurnoch sagen "work´s like a charm".
Ich habe vor der installation von ispcp einen neuen ssh user angelegt, dieser hatte die uid 1000 welche in postfix angegeben ist also mailuser was natürlich nicht funktioniert hat danach habe ich den virtual_transport = dovecot auskommentiert dovecot und postfix neugestartet und nun funktioniert alles wies soll. Vielen dank an alle für eure mühe.
03-24-2009 11:51 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)