Verify email setup

Discussion in 'Installation/Configuration' started by meekish, Oct 1, 2006.

  1. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    ls -l /usr/sbin/postdrop
    ?
     
  2. meekish

    meekish New Member

    Code:
    meekish@reformationstudios:~$ ls -l /usr/sbin/postdrop
    -r-xr-xr-x 1 root postdrop 8608 Jun  8 08:22 /usr/sbin/postdrop
    meekish@reformationstudios:~$
     
  3. meekish

    meekish New Member

    And the output of 'postfix check' again

    Code:
    meekish@reformationstudios:~$ sudo postfix check
    Password:
    Sorry, try again.
    Password:
    postfix: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
    postfix: warning: inet_protocols: configuring for IPv4 support only
    postsuper: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
    postsuper: warning: inet_protocols: configuring for IPv4 support only
    postfix/postfix-script: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
    postfix/postfix-script: warning: inet_protocols: configuring for IPv4 support only
    postfix/postfix-script: warning: not set-gid or not owner+group+world executable: /usr/sbin/postqueue
    postfix/postfix-script: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
    postfix/postfix-script: warning: inet_protocols: configuring for IPv4 support only
    postfix/postfix-script: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop
    meekish@reformationstudios:~$ 
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please run
    Code:
    chmod 2555 /usr/sbin/postdrop
     
  5. meekish

    meekish New Member

    Done. My mail.log now looks like this:

    Code:
    meekish@reformationstudios:~$ sudo tail -f /var/log/mail.log
    Oct 23 13:58:41 reformationstudios postfix/postmap[28020]: warning: inet_protocols: configuring for IPv4 support only
    Oct 23 13:58:48 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/861108.9750: Permission denied
    Oct 23 13:58:50 reformationstudios courierpop3login: Connection, ip=[::ffff:69.92.207.127]
    Oct 23 13:58:51 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/285488.11973: Permission denied
    Oct 23 13:58:57 reformationstudios courierpop3login: LOGIN FAILED, ip=[::ffff:69.92.207.127]
    Oct 23 13:58:58 reformationstudios courierpop3login: LOGOUT, ip=[::ffff:69.92.207.127]
    Oct 23 13:58:58 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/861610.9750: Permission denied
    Oct 23 13:59:01 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/286006.11973: Permission denied
    Oct 23 13:59:08 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/863070.9750: Permission denied
    Oct 23 13:59:11 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/287462.11973: Permission denied
    Oct 23 13:59:18 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/863557.9750: Permission denied
    Oct 23 13:59:21 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/287946.11973: Permission denied
    Oct 23 13:59:28 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/865065.9750: Permission denied
    Oct 23 13:59:31 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/289444.11973: Permission denied
    Oct 23 13:59:38 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/865528.9750: Permission denied
    Oct 23 13:59:41 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/289963.11973: Permission denied
    Oct 23 13:59:48 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/867011.9750: Permission denied
    Oct 23 13:59:51 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/291431.11973: Permission denied
    Oct 23 13:59:58 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/868548.9750: Permission denied
    Oct 23 14:00:01 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/292969.11973: Permission denied
    Oct 23 14:00:08 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/869161.9750: Permission denied
    Oct 23 14:00:11 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/293403.11973: Permission denied
    Oct 23 14:00:18 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/942455.9750: Permission denied
    Oct 23 14:00:21 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/294862.11973: Permission denied
    Oct 23 14:00:28 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/942942.9750: Permission denied
    Oct 23 14:00:31 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/295347.11973: Permission denied
    Oct 23 14:00:38 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/944424.9750: Permission denied
    Oct 23 14:00:41 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/296870.11973: Permission denied
    Oct 23 14:00:48 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/944935.9750: Permission denied
    Oct 23 14:00:51 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/297323.11973: Permission denied
    Oct 23 14:00:58 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/946398.9750: Permission denied
    Oct 23 14:01:01 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/298804.11973: Permission denied
    Oct 23 14:01:08 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/947913.9750: Permission denied
    Oct 23 14:01:11 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/299332.11973: Permission denied
    Oct 23 14:01:18 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/948368.9750: Permission denied
    Oct 23 14:01:21 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/300976.11973: Permission denied
    Oct 23 14:01:28 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/949856.9750: Permission denied
    Oct 23 14:01:31 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/302317.11973: Permission denied
    Oct 23 14:01:38 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/950348.9750: Permission denied
    Oct 23 14:01:41 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/302754.11973: Permission denied
    Oct 23 14:01:48 reformationstudios postfix/postdrop[9750]: warning: mail_queue_enter: create file maildrop/951889.9750: Permission denied
    Oct 23 14:01:51 reformationstudios postfix/postdrop[11973]: warning: mail_queue_enter: create file maildrop/304234.11973: Permission denied
    

    And here is the output on the var/spool/postfix dirs

    Code:
    meekish@reformationstudios:~$ sudo ls -l /var/spool/postfix/        
    total 38
    drwx------ 2 postfix root      1024 Oct 23 06:23 active
    drwx------ 2 postfix root      1024 Oct 23 06:23 bounce
    drwx------ 2 postfix root      1024 Sep  8 03:03 corrupt
    drwx------ 3 postfix root      1024 Oct 16 12:43 defer
    drwx------ 3 postfix root      1024 Oct 16 12:43 deferred
    drwxr-xr-x 2 root    root      1024 Oct 23 13:57 etc
    drwx------ 2 postfix root      1024 Sep  8 03:03 flush
    drwx------ 2 postfix root      1024 Sep  8 03:03 hold
    drwx------ 2 postfix root      1024 Oct 23 06:23 incoming
    drwxr-xr-x 2 root    root      1024 Oct 23 13:57 lib
    drwx-wx--T 2 postfix postdrop  1024 Sep  8 03:03 maildrop
    drwxr-xr-x 2 postfix root      1024 Oct 16 12:43 pid
    drwx------ 2 postfix root      1024 Oct 23 13:57 private
    drwx--s--- 2 postfix postdrop  1024 Oct 23 13:57 public
    drwx------ 2 postfix root      1024 Sep  8 03:03 saved
    -rw------- 1 root    root     12288 Oct 20 04:54 smtp_scache.db
    -rw------- 1 root    root      8192 Oct 20 02:54 smtpd_scache.db
    drwx------ 2 postfix root      1024 Sep  8 03:03 trace
    drwxr-xr-x 3 root    root      1024 Sep  8 03:03 usr
    drwxr-xr-x 3 root    root      1024 Sep  8 03:10 var
    meekish@reformationstudios:~$ sudo ls -l /var/spool/postfix/private
    total 0
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 anvil
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 bounce
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 bsmtp
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 defer
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 discard
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 error
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 ifmail
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 lmtp
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 local
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 maildrop
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 mailman
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 proxymap
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 relay
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 rewrite
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 scache
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 scalemail-backend
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 smtp
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 tlsmgr
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 trace
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 uucp
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 verify
    srw-rw-rw- 1 postfix postfix 0 Oct 23 13:57 virtual
    meekish@reformationstudios:~$ 
    

    So, I still have some problems... I still can't login to my email accounts from a POP3 client, but at least this is looking much better :)

    Code:
    meekish@reformationstudios:~$ sudo postfix check
    postfix: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
    postfix: warning: inet_protocols: configuring for IPv4 support only
    postsuper: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
    postsuper: warning: inet_protocols: configuring for IPv4 support only
    meekish@reformationstudios:~$ 
     
  6. meekish

    meekish New Member

    I fear this is hopeless. Is it going to break ISPConfig's ability to configure Postfix if I just purge and reinstall Postfix?
     
  7. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You can try that. But make a backup of your main.cf file and make sure that you copy the lines for the local-host-names and virtusertable files from your old myin.cf to your new main.cf file.
     
  8. meekish

    meekish New Member

    I ran dpkg --purge postfix, reinstalled postfix following the steps from the Perfect Dapper Setup guide, and I'm still getting the same errors. I also haven't been able to get my proftpd logins to work. Are you (till & falko) still available for hire for remote installations?
     
  9. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Yes, please send a mail to info [at] projektfarm.de
     

Share This Page