Can't get any incoming e-mails.

Discussion in 'General' started by FeraTechInc, Aug 11, 2010.

  1. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    I moved e-mails from an old server to this one copying the /var/vmail directory.

    Set the directory permissions:
    sudo chown -R vmail:vmail /var/vmail

    However, I am not getting any new e-mails. I created all the e-mail accounts by hand on the new server.

    I keep getting this error:

    postfix/pipe[12612]: CCEB72248B: to=, relay=maildrop, delay=0.16, delays=0.06/0.01/0/0.09, dsn=4.3.0, status=deferred (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Invalid permissions on the filter file - world-writable. )
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The /var/vmail directory or one of the subdirectories is world writable as the error message states. Change all subdirectories recursively to 700 and /var/vmail to 755:

    chmod 755 /var/vmail
    chmod -R 700 /var/vmail/*
     
  3. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Before changing the DNS settings and using the new server is there any way I can check to see if the server really is accepting new e-mails?

    I changed the DNS settings last night and waited for them to propagate and had to change them back when I got no e-mails going through.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Login to webmail on the server and send yourself a email to the same account that you used to login with webmail.
     
  5. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Nope nothing went through...
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Then look into your mail log file to see why it did not work.
     
  7. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    I even tried creating an new account that hasn't been transferred over and even sending an e-mail to myself did not work.
     
  8. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Aug 11 07:02:56 fs2 pipe[13141]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:02:56 fs2 pipe[13143]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:02:56 fs2 pipe[13144]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:02:57 fs2 pipe[13145]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:07:14 fs2 pipe[13253]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:07:14 fs2 pipe[13258]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:07:14 fs2 pipe[13260]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:07:56 fs2 pipe[13262]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:12:56 fs2 pipe[13380]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:12:56 fs2 pipe[13383]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:12:56 fs2 pipe[13385]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:12:56 fs2 pipe[13386]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:12:57 fs2 pipe[13390]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:12:59 fs2 pipe[13398]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:17:56 fs2 pipe[13485]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
    Aug 11 07:19:24 fs2 pipe[13536]: fatal: pipe_command: execvp /usr/bin/maildrop: Permission denied
     
  9. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    Strangely the e-mail is showing up in the sent box.

    However, it is not showing up in the inbox....
     
  10. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    I still can not get this issue resolved. Please help.
     
  11. FeraTechInc

    FeraTechInc Member HowtoForge Supporter

    So finally I was able to figure out the problem.

    Here is what I did step by step in case anybody is interested.

    chmod -R 755 /var/vmail
    chown -R vmail:vmail /var/vmail
    chmod 755 /usr/bin/maildrop
    chown vmail:vmail /usr/bin/maildrop

    Don't know how or why the permissions on the maildrop directory got messed up....
     

Share This Page