Postfix läuft nicht

  • Debian

  • coolboy
  • 1407 Aufrufe 6 Antworten

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Postfix läuft nicht

    Hi,

    ich hoffe ihr könnt mir helfen.
    Wenn ich Postfix starten will dann bekomme ich folgende Fehlermeldung

    Quellcode

    1. Starting mail transport agent: Postfixpostsuper: fatal: scan_dir_push:
    2. open directory defer/E/E: Not a directory
    3. .

    Ich weiss nicht weiter, könnt ihr helfen?

    Gruß
  • Sorry, aber ich hab wohl ein Brett vorm Kopf. Ich hab Sie mir angeschaut aber es ist kein Fehler vorhanden. Und der Ordner existiert auch und er ist ein Ordner
    hier mal eine Liste

    Quellcode

    1. insgesamt 72
    2. drwx------ 18 postfix root 4096 2006-05-02 03:09 active
    3. drwx------ 18 postfix root 4096 2006-08-06 13:43 bounce
    4. drwx------ 2 postfix root 4096 2006-05-01 16:12 corrupt
    5. drwx------ 18 postfix root 4096 2007-03-14 20:52 defer
    6. drwx------ 18 postfix root 4096 2006-05-03 04:30 deferred
    7. drwxr-xr-x 2 root root 4096 2007-03-15 18:47 etc
    8. drwx------ 4 postfix root 4096 2006-05-02 00:00 flush
    9. drwx------ 2 postfix root 4096 2006-05-01 16:12 hold
    10. drwx------ 18 postfix root 4096 2007-03-13 10:55 incoming
    11. drwxr-xr-x 2 root root 4096 2007-03-15 18:47 lib
    12. drwx-wx--T 2 postfix postdrop 8192 2007-03-15 18:46 maildrop
    13. drwxr-xr-x 2 postfix root 4096 2006-05-01 23:30 pid
    14. drwx------ 2 postfix root 4096 2007-03-10 22:42 private
    15. drwx--s--- 2 postfix postdrop 4096 2007-03-10 22:42 public
    16. drwx------ 2 postfix root 4096 2006-05-01 16:12 saved
    17. drwx------ 2 postfix root 4096 2006-05-01 16:12 trace
    18. drwxr-xr-x 3 root root 4096 2006-05-01 16:11 usr
    Alles anzeigen


    Oder meinst du was anderes?
  • Klar kann ich machen hier

    Quellcode

    1. command_directory = /usr/sbin
    2. daemon_directory = /usr/lib/postfix
    3. program_directory = /usr/lib/postfix
    4. #
    5. # Some common configuration parameters;
    6. #
    7. inet_interfaces = all
    8. mynetworks_style = host
    9. myhostname = [meinHost]
    10. mydomain = [meinHost]
    11. myorigin = $mydomain
    12. smtpd_banner = $myhostname VHCS2 2.4 Spartacus Managed ESMTP 2.4.7.1
    13. setgid_group = postdrop
    14. smtpd_delay_reject = yes
    15. disable_verfy_command = yes
    16. #
    17. # Receiving messages parameters;
    18. #
    19. mydestination = $myhostname, $mydomain
    20. append_dot_mydomain = no
    21. append_at_myorigin = yes
    22. local_transport = local
    23. virtual_transport = virtual
    24. transport_maps = hash:/etc/postfix/vhcs2/transport
    25. #
    26. # Delivering local messages parameters;
    27. #
    28. mail_spool_directory = /var/mail
    29. mailbox_size_limit = 0
    30. mailbox_command = procmail -a "$EXTENSION"
    31. biff = no
    32. alias_database = hash:/etc/aliases
    33. local_destination_recipient_limit = 1
    34. local_recipient_maps = unix:passwd.byname $alias_database
    35. #
    36. # Delivering virtual messages parameters;
    37. #
    38. virtual_mailbox_base = /var/mail/virtual
    39. virtual_mailbox_limit = 0
    40. virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
    41. virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
    42. virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
    43. virtual_minimum_uid = 1000
    44. virtual_uid_maps = static:1000
    45. virtual_gid_maps = static:8
    46. #
    47. # SASL paramters;
    48. #
    49. smtpd_sasl_auth_enable = yes
    50. smtpd_sasl_security_options = noanonymous
    51. smtpd_sasl_local_domain = vhcs.net
    52. broken_sasl_auth_clients = yes
    53. smtpd_recipient_restrictions =
    54. permit_sasl_authenticated,
    55. permit_mynetworks,
    56. reject_unauth_destination
    Alles anzeigen


    Aber da ist meiner Meinung nach auch kein Fehler.
    Hoffe sie hilft dir weiter
  • Ok hab den Fehler zwar nicht gefunden habe aber eine andere Lösung gefunden.

    Ich hab den Ordner defer einfach gelöscht und habe dann folgender Maßen den Ordner wieder neu anlegen lassen

    Quellcode

    1. ./post-install name=defer create-missing

    Und es funktioniert wieder :D

    "Kann geschlossen werden"