Virtual Users And Domains With Postfix, Courier And MySQL - CentOS

Discussion in 'HOWTO-Related Questions' started by spyda46, May 21, 2009.

  1. spyda46

    spyda46 New Member

    Hi guys,

    I ve been following this howto but when i come to test SMTP i have a problem, could anyone help?

    The problem is that when i run ehlo localhost i only get

    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN

    the howto says "If you see the lines 250-STARTTLS and 250-AUTH PLAIN LOGIN everything is fine"

    I dont see them :-( - could anyone tell me why, i have followed the howto step by step so far, Thanks
     
  2. spyda46

    spyda46 New Member

    I am also getting this error when trying ti authenticate my test user -

    [root@mail1 vmail]# telnet localhost pop3
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    +OK Hello there.
    user [email protected]
    +OK Password required.
    pass test
    -ERR chdir exampledomain/testuser/ failed
     
  3. spyda46

    spyda46 New Member

    Ok i can login now, but the user is not getting any emails - i am not getting any bounce backs either - maillog doesnt show any errors ? :S

    May 21 12:14:51 mail1 pop3d: LOGOUT, [email protected], ip=[::ffff:62.72.154.34], port=[63133], top=0, retr=0, rcvd=12, sent=39, time=0
    May 21 12:15:34 mail1 postfix/postfix-script: stopping the Postfix mail system
    May 21 12:15:34 mail1 postfix/master[29346]: terminating on signal 15
    May 21 12:15:34 mail1 sendmail[29627]: alias database /etc/aliases rebuilt by jim
    May 21 12:15:34 mail1 sendmail[29627]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
    May 21 12:15:34 mail1 postfix/postfix-script: starting the Postfix mail system
    May 21 12:15:34 mail1 postfix/master[29673]: daemon started -- version 2.3.3, configuration /etc/postfix
    May 21 12:16:08 mail1 pop3d: Connection, ip=[::ffff:62.72.154.34]
    May 21 12:16:08 mail1 pop3d: LOGIN, [email protected], ip=[::ffff:62.72.154.34], port=[63666]
    May 21 12:16:08 mail1 pop3d: LOGOUT, [email protected], ip=[::ffff:62.72.154.34], port=[63666], top=0, retr=0, rcvd=12, sent=39, time=0
     
  4. spyda46

    spyda46 New Member

    I can login my accout now stil lcant get any emails, must be postfix related, i can see anyhthing obvious - i am getting these bouncebacks -

    ( ive edited my real domain BTW)
    ---------------------------------------------------------------------
    This is the mail system at host domain.

    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: "testuser"

    -----------------------------------------------------

    I ve created the testuser in the users table as - [email protected] -

    Any ideas ? - Thanks
     
  5. spyda46

    spyda46 New Member

    Ok I am nearly there - please can someone advise on this last step -

    Maillog shows-

    May 21 14:58:57 mail1 postfix/virtual[31765]: E1A0117B806A: to=<[email protected]>, relay=virtual, delay=0.35, delays=0.32/0.01/0/0.02, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /home/vmail/domain.com/testuser/tmp/1242914337.P31765.mail1.domain.com: Permission denied)

    i have chown 777 -R on /home/vmail/ - no such luck - can someone point me in the right direction ?
     
  6. spyda46

    spyda46 New Member

    All fixed now -
     

Share This Page