Postfix problem with new users

Discussion in 'Server Operation' started by dpapak, Apr 22, 2008.

  1. dpapak

    dpapak New Member

    Hi,

    I am having a problem adding new users in a debian system running Postfix 2.1.5 and Courier-imap. I use adduser to add new users to the system. Email for the new users works fine locally. I connect succesfully to the server for the new accounts using thunderbird/IMAP.
    The problem is that the new accounts cannot receive external mail. When i send a message to these accounts, i get:

    ----- The following addresses had permanent fatal errors ----- <newuser@mydomain.org>
    (reason: 550 <newuser@mydomain.org>: Recipient address rejected: User unknown in virtual alias table)

    ----- Transcript of session follows ----- ... while talking to mx1.balanced.spunky.mail.dreamhost.com.:
    >>> DATA
    <<< 550 <newuser@mydomain.org>: Recipient address rejected: User unknown in virtual alias table 550 5.1.1 <newuser@mydomain.org>... User unknown <<< 554 Error: no valid recipients

    my etc/postfix/main.cf file is:

    # See /usr/share/postfix/main.cf.dist for a commented, more complete version
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    append_dot_mydomain = no
    myhostname = mydomain.org
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = mydomain.org mydomain.loc localhost.localdomain, localhost.localdomain, localhost, static.myprovider.gr
    mynetworks = list of my networks
    mailbox_command = procmail -a "$EXTENSION" DEFAULT=$HOME/Maildir/ MAILDIR=$HOME/Maildir
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    home_mailbox = Maildir/
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    #smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
    #smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_use_tls = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    content_filter = amavis:[127.0.0.1]:10024
    Receive_override_options = no_address_mappings

    Can anyone help me begin troubleshooting?
     
  2. falko

    falko Super Moderator

    What guide did you use to set up the system?
    What's the output of
    Code:
    ls -la /etc/postfix
    ?
     
  3. dpapak

    dpapak New Member

    Hi Falko,

    Thanks for your response.

    I did not use any guide. The system is already installed and i must support it from now on.

    The content of /ect/postfix is:

    drwxr-xr-x 3 root root 4096 2008-04-23 10:06 .
    drwxr-xr-x 84 root root 4096 2008-04-23 15:32 ..
    -rw-r--r-- 1 root root 385 2006-08-01 12:01 dynamicmaps.cf
    -rw-r--r-- 1 root root 1421 2006-12-12 13:37 main.cf
    -rw-r--r-- 1 root root 7125 2006-08-09 12:19 master.cf
    -rw-r--r-- 1 root root 16114 2005-03-01 03:05 postfix-files
    -rwxr-xr-x 1 root root 5800 2005-03-01 03:05 postfix-script
    -rwxr-xr-x 1 root root 21207 2005-03-01 03:05 post-install
    drwxr-xr-x 2 root root 4096 2008-04-22 12:00 sasl
    -rw-r--r-- 1 root root 1663 2006-08-01 12:05 smtpd.cert
    -rw-r----- 1 root postfix 1679 2006-08-01 12:05 smtpd.key

    Any ideas?
     
  4. falko

    falko Super Moderator

Share This Page