[postfix]550 ..: Recipient address rejected: User unknown in virtual mailbox table

Discussion in 'Installation/Configuration' started by RdeWilde, May 31, 2008.

  1. RdeWilde

    RdeWilde New Member

    Don't I need something like

    submission:localhost:25

    Somewhere as transport?
     
  2. RdeWilde

    RdeWilde New Member

    Anyone still out there to help me?
     
  3. RdeWilde

    RdeWilde New Member

    I got this from the logs when trying to send a mail from info [aet} sove.nl to wilde825 [aet} planet.nl (sove.nl is local):

    /var/log/maillog
    /var/log/dovecot.info.log
    It looks like it's trying to auth my receipts, but it should only auth the sender. Is this some SASL setting?

    My postconf -n if needed:
    Any help is very very welcome.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Can you post your dovecot configuration?
     
  5. RdeWilde

    RdeWilde New Member

    I've put it online:
    http://sove.nl/dovecot.conf

    Code:
    ## Dovecot configuration file
    
    # If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration
    
    # Base directory where to store runtime data.
    base_dir = /var/run/dovecot/
    
    # Protocols we want to be serving: imap imaps pop3 pop3s
    # If you only want to use dovecot-auth, you can set this to "none".
    protocols = imap pop3
    
    listen = [::]
    
    ##
    ## Logging
    ##
    
    log_path = /var/log/dovecot.log
    
    info_log_path = /var/log/dovecot.info.log
    
    log_timestamp = "%Y-%m-%d %H:%M:%S"
    
    syslog_facility = mail
    
    
    ##
    ## Mailbox locations and namespaces
    ##
    
    mail_location = maildir:/var/www/client/%d/mail/%n/
    
    
    mail_extra_groups = mail
    
    ##
    ## Mail processes
    ##
    
    # Enable mail process debugging. This can help you figure out why Dovecot
    # isn't finding your mails.
    mail_debug = yes
    
    first_valid_uid = 4
    
    # Default umask to use for mail files and directories.
    umask = 0077
    
    ##
    ## Mailbox handling optimizations
    ##
    
    ##
    ## IMAP specific settings
    ##
    
    protocol imap {
    }
      
    ##
    ## POP3 specific settings
    ##
    
    protocol pop3 {
    }
    
    ##
    ## LDA specific settings
    ##
    
    protocol lda {
      postmaster_address = [email protected]
    
      #hostname = 
    
      #mail_plugins = 
      #mail_plugin_dir = /usr/lib/dovecot/lda
    
      # Binary to use for sending mails.
      sendmail_path = /usr/lib/sendmail
    
      # UNIX socket path to master authentication server to find users.
      auth_socket_path = /var/run/dovecot/auth-master
    }
    
    
    
    auth_verbose = yes
    auth_debug = yes
    
    auth default {
    
      # SQL database
      # http://wiki.dovecot.org/AuthDatabase/SQL
      passdb sql {
        # Path for SQL configuration file, see doc/dovecot-sql.conf for example
        args = /etc/dovecot.mysql.conf
      }
    
      # SQL database
      # http://wiki.dovecot.org/AuthDatabase/SQL
      userdb sql {
        # Path for SQL configuration file, see doc/dovecot-sql.conf for example
        args = /etc/dovecot.mysql.conf
      }
    
      # It's possible to export the authentication interface to other programs:
      socket listen {
        master {
          path = /var/run/dovecot/auth-master
          mode = 0660
          # Default user/group is the one who started dovecot-auth (root)
          user = dovecot
          group = mail
        }
        client {
          path = /var/run/dovecot/auth-client
          mode = 0660
          user=postfix
          group=mail
        }
      }
    }
    
    #auth external {
    #  socket connect {
    #    master {
    #      path = /var/run/dovecot/auth-master
    #    }
    #  }
    #}
    
    dict {
      #quota = mysql:/etc/dovecot-dict-quota.conf 
    }
    
    ##
    ## Plugin settings
    ##
    
    plugin {
    }
    
    

    Part of the postfix-logfile:
    http://www.sove.nl/maillog.txt
     
    Last edited: Jul 29, 2008
  6. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/dovecot.mysql.conf?
     
  7. RdeWilde

    RdeWilde New Member

    Code:
    driver = mysql
    connect = host=/var/lib/mysql/mysql.sock dbname=mail user=user password=password
    
    password_query = SELECT NULL AS password,    CONCAT(username,'@',domain) AS user 
       FROM users 
          WHERE username = '%n' AND domain = '%d' AND mysql_pass = MD5('%w')
    
    user_query = SELECT 8 AS uid, 12 AS gid, home 
       FROM users 
          WHERE username = '%n' AND domain = '%d'
    
     
  8. falko

    falko Super Moderator ISPConfig Developer

  9. RdeWilde

    RdeWilde New Member

    Hello Falko,

    Thanks again for your help. I've looked at the url's you gave me in your previous post and i must say i'd already used many aspects of it. I can't find anything new that'll fix the problem.

    Thereforer I'll give up fixing this system, and start all over from scratch with some other software. Hopefully this time I'll have some more 'luck'.
     

Share This Page