I have installed http://www.howtoforge.org/virtual-users-domains-postfix-courier-mysql-squirrelmail-debian-lenny document everything work, but when I create user with mailx (mailx [email protected]) it not create mailbox user, I find in /home/vmail this not show directory of tkp1969. How I can do? Best regards.
You should send a message to the user which will create the home directory. If that does not work, indeed send mail log as said above.
Sure I restart postfix and restart the server. When I test mailx again the problem is same. I test implement the server with ubuntu 8.10, debian 4.0 and debian 5.0 again but, this same.
What are the outputs of Code: hostname and Code: hostname -f , and what's in /etc/hosts and /etc/mailname? BTW, does this look correct? Code: mh1:~# dig mail.npru.ac.th ; <<>> DiG 9.3.4 <<>> mail.npru.ac.th ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5796 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.npru.ac.th. IN A ;; ANSWER SECTION: mail.npru.ac.th. 38400 IN CNAME mail2.npru.ac.th. mail2.npru.ac.th. 38400 IN A 202.29.9.47 ;; Query time: 670 msec ;; SERVER: 145.253.2.75#53(145.253.2.75) ;; WHEN: Tue Mar 24 18:02:12 2009 ;; MSG SIZE rcvd: 69 mh1:~#
hostname and hostname -f in /etc/host in /etc/mailname This you see is correct, but when dig mail.npru.ac.th, I configure mail.npru.ac.th into my dns server, I remove old mail in my dns and reconfigure agian this show when I test again mail.log this show and I don't understand mail.log show
Code: mh1:~# dig mail.npru.ac.th ; <<>> DiG 9.3.4 <<>> mail.npru.ac.th ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51856 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.npru.ac.th. IN A ;; ANSWER SECTION: mail.npru.ac.th. 38400 IN CNAME mail2.npru.ac.th. mail2.npru.ac.th. 38400 IN A 202.29.9.47 ;; Query time: 534 msec ;; SERVER: 145.253.2.75#53(145.253.2.75) ;; WHEN: Fri Mar 27 15:15:08 2009 ;; MSG SIZE rcvd: 69 mh1:~# I'm still seeing the wrong IP, so maybe something went wrong in your DNS configuration. BTW, MX records must point to A records, not to CNAME records: Code: mh1:~# dig mx mail.npru.ac.th ; <<>> DiG 9.3.4 <<>> mx mail.npru.ac.th ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43883 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.npru.ac.th. IN MX ;; ANSWER SECTION: mail.npru.ac.th. 38375 IN [B][COLOR="Red"]CNAME[/COLOR][/B] mail2.npru.ac.th. mail2.npru.ac.th. 38400 IN MX 40 ppcatmast.cattelecom.com. mail2.npru.ac.th. 38400 IN MX 50 ppcatagt.cattelecom.com. ;; Query time: 258 msec ;; SERVER: 145.253.2.75#53(145.253.2.75) ;; WHEN: Fri Mar 27 15:15:33 2009 ;; MSG SIZE rcvd: 118 mh1:~# Please change that. You cannot use mail.npru.ac.th as a virtual domain in the databasse if this is the hostname of the server at the same time. Either rename the server or use a different domain in the database.
This now I change dns record to correct when dig mx npru.ac.th this now show dig mx mail.npru.ac.th when I test mailx again mail.log show
You cannot use mail.npru.ac.th as a virtual domain in the databasse if this is the hostname of the server at the same time. Either rename the server or use a different domain in the database.