Cannot receive/get email

Discussion in 'HOWTO-Related Questions' started by _Alien__, Apr 27, 2007.

  1. _Alien__

    _Alien__ New Member

    I use the tutorial Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft), when i send and email i recebe this in return:

    This is the mail system at host teiast.com.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <[email protected]>: unknown user: "hugomartins"

    When i try do telnet localhost 110 and try to enter whit the user i get this error:

    -ERR chdir teiast.com/hugomartins/ failed
    Connection closed by foreign host.

    In my mail.log when i try to login to the mail i get this error:

    Apr 26 23:01:10 teiast courierpop3login: chdir teiast.com/hugomartins/: No such file or directory

    I read alot of posts but i couldnt fix yet this problem can some one help me?
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. _Alien__

    _Alien__ New Member

    mydestination = teiast.com, localhost, localhost.localdomain
    #mydestination = localhost, localhost.localdomain
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps

    I have the domain and user in the DB, since if i put another user it say Login Fail whit the one i have there gives that error. I need to create all folders manual after put an user in the DB?
     
    Last edited: Apr 27, 2007
  4. _Alien__

    _Alien__ New Member

    I have create a /home/vmail/teiast.com/hugomartins whit cur tmp and new folders, i dont get that error of "-ERR chdir teiast.com/hugomartins/ failed" he does the login but if i send emails to that account i get the same error " <[email protected]>: unknown user: "hugomartins" ". I have create another user and get the same error.
     
    Last edited: Apr 28, 2007
  5. falko

    falko Super Moderator ISPConfig Developer

    You must remove teiast.com from the mydestination line in /etc/postfix/main.cf and restart Postfix.
     
  6. _Alien__

    _Alien__ New Member

    Ths its working :). I have delete all logs of email and restart the cpu to see the erros, here are the ones i found:

    Apr 28 18:37:31 teiast dccifd[3623]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
    Apr 28 18:37:31 teiast dccifd[3623]: 1.2.74 listening to /var/lib/dcc/dccifd

    Dont even know if this is an error or if its normal.
     
  7. _Alien__

    _Alien__ New Member

    Now i have another problem trying to send emails

    mail.log

    Apr 30 21:47:38 teiast postfix/smtpd[4071]: warning: 88.157.58.226: address not listed for hostname rev-88-157-58-226.tvtel.pt
    Apr 30 21:47:38 teiast postfix/smtpd[4071]: connect from unknown[88.157.58.226]
    Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
    Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
    Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: SASL authentication failure: no secret in database
    Apr 30 21:47:41 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL CRAM-MD5 authentication failed: authentication failure
    Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
    Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
    Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication failure: no secret in database
    Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL NTLM authentication failed: authentication failure
    pr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
    Apr 30 21:47:42 teiast last message repeated 4 times
    Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: SASL authentication failure: Password verification failed
    Apr 30 21:47:42 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL PLAIN authentication failed: authentication failure
    Apr 30 21:47:45 teiast postfix/smtpd[4071]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
    Apr 30 21:47:45 teiast last message repeated 5 times
    Apr 30 21:47:45 teiast postfix/smtpd[4071]: warning: unknown[88.157.58.226]: SASL LOGIN authentication failed: authentication failure

    Even if i take the auth from the client mail to send emails i get error :

    mail.log

    Apr 30 21:55:29 teiast postfix/smtpd[4101]: warning: 88.157.58.226: address not listed for hostname rev-88-157-58-226.tvtel.pt
    Apr 30 21:55:29 teiast postfix/smtpd[4101]: connect from unknown[88.157.58.226]
    Apr 30 21:55:58 teiast postfix/smtpd[4101]: warning: 226.58.157.88.relays.ordb.org: RBL lookup error: Host or domain name not found. Name service error for name=226.58.157.88.relays.ordb.org type=A: Host not found, try again
    Apr 30 21:55:58 teiast postfix/smtpd[4101]: NOQUEUE: reject: RCPT from unknown[88.157.58.226]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[192.168.2.169]>

    auth.log

    Apr 30 22:23:47 teiast postfix/smtpd[4071]: sql_select option missing
    Apr 30 22:23:47 teiast postfix/smtpd[4071]: auxpropfunc error no mechanism available
    Apr 30 22:23:47 teiast postfix/smtpd[4071]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
    Apr 30 22:23:47 teiast postfix/smtpd[4071]: OTP unavailable because can't read/write key database /etc/opiekeys: No such file or directory
    Apr 30 22:23:50 teiast postfix/smtpd[4071]: NTLM server step 1
    Apr 30 22:23:50 teiast postfix/smtpd[4071]: client flags: ffff8207
    Apr 30 22:23:50 teiast postfix/smtpd[4071]: NTLM server step 2
    Apr 30 22:23:50 teiast postfix/smtpd[4071]: client user: [email protected]


    Have move to another topic since the error is another: http://www.howtoforge.com/forums/showthread.php?p=70244#post70244
     
    Last edited: May 1, 2007
  8. falko

    falko Super Moderator ISPConfig Developer

    The use of sasldb2 is wrong. What's in your /etc/postfix/sasl/smtpd.conf? Does it look like the one from the tutorial?
     

Share This Page