HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains With Postfix, Courier And MySQL - CentOS (http://www.howtoforge.com/forums/showthread.php?t=35289)

spyda46 21st May 2009 12:31

Virtual Users And Domains With Postfix, Courier And MySQL - CentOS
 
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

spyda46 21st May 2009 13:57

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 testuser@domain.co.uk
+OK Password required.
pass test
-ERR chdir exampledomain/testuser/ failed

spyda46 21st May 2009 14:17

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, user=testuser@drwotson.co.uk, 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, user=testuser@drwotson.co.uk, ip=[::ffff:62.72.154.34], port=[63666]
May 21 12:16:08 mail1 pop3d: LOGOUT, user=testuser@drwotson.co.uk, ip=[::ffff:62.72.154.34], port=[63666], top=0, retr=0, rcvd=12, sent=39, time=0

spyda46 21st May 2009 15:53

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

<testuser@domain.net>: unknown user: "testuser"

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

I ve created the testuser in the users table as - testuser@domain.net -

Any ideas ? - Thanks

spyda46 21st May 2009 17:09

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=<testuser@domain.com>, 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 ?

spyda46 21st May 2009 17:38

All fixed now -


All times are GMT +2. The time now is 04:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.