/etc/postfix/postfix-script: No such file or directory

Discussion in 'HOWTO-Related Questions' started by Randy, Nov 24, 2006.

  1. Randy

    Randy New Member

    Hi all,

    I'm testing the howto on setting up postfix with mysql support. When I run postfix check i get the message : /etc/postfix/postfix-script: No such file or directory. The file or dir isn't there. What can I do to repair the thing? I now stopped with the howto on page 2 (Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)
    Thanks in advance

    Randy
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /etc/postfix
    ? Did you install Postfix using apt?
     
  3. Randy

    Randy New Member

    Yes I did.
    I noticed that the dpkg command (of the howto) did create the file but immediately removed it again.... Strange heh... Anyway , I stopped with the test, because Till told me that this setup is not supported by ISPconfig. Maybe nice to look at this option to make redundant mail and mysql servers with fallbacks... Just curious, if I did the setup like this, would it completely disrupt ispconfig, or would I just have to manage my e-mail with an external program.


    Greetings

    Randy
     
  4. meteor

    meteor New Member

    Hi there,

    I have the same problem than Randy.

    I'm using a Debian Sarge 3.1 Stable

    I have strictly followed the tutorial, and when I do

    postfix check

    I have the following error :

    postfix: fatal: /etc/postfix/postfix-script: No such file or directory

    Indeed the file is missing.

    # ls -la /etc/postfix
    total 60
    drwxr-xr-x 3 root root 4096 2006-11-27 22:31 .
    drwxr-xr-x 69 root root 4096 2006-11-27 22:36 ..
    -rw-r--r-- 1 root root 440 2006-11-27 21:12 dynamicmaps.cf
    -rw-r--r-- 1 root root 2101 2006-11-27 22:31 main.cf
    -rw-r--r-- 1 root root 7257 2006-11-27 22:35 master.cf
    -rw-r----- 1 root postfix 138 2006-11-27 21:24 mysql-virtual_domains.cf
    -rw-r----- 1 root postfix 131 2006-11-27 21:28 mysql-virtual_email2email.cf
    -rw-r----- 1 root postfix 144 2006-11-27 21:25 mysql-virtual_forwardings.cf
    -rw-r----- 1 root postfix 200 2006-11-27 21:56 mysql-virtual_mailboxes.cf
    -rw-r----- 1 root postfix 131 2006-11-27 21:30 mysql-virtual_mailbox_limit_maps.cf
    -rw-r----- 1 root postfix 140 2006-11-27 21:29 mysql-virtual_transports.cf
    drwxr-xr-x 2 root root 4096 2006-11-27 21:46 sasl
    -rw-r--r-- 1 root root 1659 2006-11-27 21:37 smtpd.cert
    -rw-r----- 1 root root 1675 2006-11-27 21:37 smtpd.key


    And I've installed postfix with apt-get (likethe tutorial :p)

    Any idea? Thanks per advance!
     
  5. falko

    falko Super Moderator Howtoforge Staff

    You'd have to manage your email accounts yourself (e.g. with phpMyAdmin).
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Which tutorial (URL)?
     
  7. meteor

    meteor New Member

Share This Page