[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install script



Hello Laszlo,

Are you sure about your qmail-inject commando ? I don't know what that's
supposed to to. Could you try  
echo hi | /var/qmail/bin/qmail-inject admin@xxxxxxxxxxx

Kindly regards,
Michael Devogelaere


On Mon, 20 Mar 2017, Laszlo Kishonti wrote:

> Hello Michael!
> 
> I have running qmail daemons (I start them with 
> "/var/qmail/bin/qmail-start ./Maildir/  >>/var/log/qmail/qmail.log" 
> because I could not find other ways to see the log). The qmail-getpw is 
> working well. However I still cannot send a mail to any virtual user.
> 
> I am sorry to trouble again but this is the 3rd week working on this 
> problem, and I do not know anyone to help.
> 
> This is the only message when I send a mail to any user. (for example 
> "echo :to admin@xxxxxxxxxxx | /var/qmail/bin/qmail-inject")
> 
> new msg 1678902
> info msg 1678902: bytes 230 from <root@xxxxxxxxxxx> qp 3435 uid 0
> end msg 1678902
> 
> Nothing else. It seems there is no delivery at all, I could not find 
> anything in the Maildirs.
> 
> My sqlserver file (I hope there is no mistyping):
> 
> db_use yes
> check_host yes
> connectionstring user=userconsult password=readonly dbname=userdb
> popconnectionstring user=usermgr password=secretdb dbname=userdb
> dbtable passwd
> autohomedir yes
> virt_host_field virtual_host
> login_field login
> uid_field uid
> gid_field gid
> home_field home
> quota_field hardquota
> enabled_field enabled
> startdate_field startdate
> stopdate_field stopdate
> passwd_field passwd
> lastlogin_field lastlogin
> localpop kishonti.hu
> 
> This is the passwd database:
> 
> userdb=# SELECT * FROM passwd;
> login |  uid  |  gid  |                 home                  | 
> virtual_host | password | hardquota |       startdate        | stopdate |
> enabled | lastlogin
> -------+-------+-------+---------------------------------------+--------------+----------+-----------+------------------------+----------+
> ---------+-----------
> test  | 10000 | 10000 | /export/virtualmail/kishonti.hu/test  | 
> kishonti.hu  | 123456   |      2000 | 2017-03-20 22:22:45+01 | infinity |
> t       |
> test2 | 10000 | 10000 | /export/virtualmail/kishonti.hu/test2 | 
> kishonti.hu  | qwertz   |      2000 | 2017-03-20 22:22:45+01 | infinity |
> t       |
> alias | 10000 | 10000 | /export/virtualmail/kishonti.hu       | 
> kishonti.hu  |          |      2000 | 2017-03-20 22:22:45+01 | infinity |
> t       |
> admin | 10000 | 10000 | /export/virtualmail/kishonti.hu/admin | 
> kishonti.hu  | 911porse |      2000 | 2017-03-20 22:22:45+01 | infinity |
> t       |