On Friday 09 February 2007 14:26, you wrote:
> Hi,
>
> Sorry for the lame question :(
>
> I have this account [EMAIL PROTECTED]
>
> Apparently is working alright:
> -------------------------------------------------------------
> [EMAIL PROTECTED] bin]# ./qmail-ldaplookup -m [EMAIL PROTECTED]
> Searching ldap for:
> (&(objectClass=qmailUser)(|([EMAIL PROTECTED])(mailAlternateAddr
>[EMAIL PROTECTED]))) under dn: dc=sincity,dc=lan
> No entries found.
If no entries are found then the user does not exists to qmail.

> -------------------------------------------------------------
> [EMAIL PROTECTED] maildirs]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> 220 www.sincity.lan ESMTP
> HELO www.sincity.lan
> 250 www.sincity.lan
> MAIL FROM:[EMAIL PROTECTED]
> 250 ok
> RCPT TO:[EMAIL PROTECTED]
> 250 ok
> DATA
> 354 go ahead punk, make my day
> dhfvjaskf kdfghfshjghjsdg
> .
> 250 ok 1171029841 qp 4304 by www.sincity.lan
> QUIT
> 221 www.sincity.lan Goodbye.
> Connection closed by foreign host.
> -------------------------------------------------------------
>
> But the fact is that the message doesn't appears anywhere.
Qmail accepts it because it's in locals and rcpthosts file. Even if the users 
does not exists. Check qmail-smtpd and qmail-send logs.

>
> In /var/qmail/control/dirmaker i have the line:
> /var/qmail/bin/cria_homedir
>
> and /var/qmail/bin/cria_homedir is this script:
> ----------------------------------------------------
> #!/bin/sh
> /bin/mkdir /var/qmail/maildirs/$1
> /bin/mkdir -p /var/qmail/maildirs/$1/Maildir/new
> /bin/mkdir /var/qmail/maildirs/$1/Maildir/cur
> /bin/mkdir /var/qmail/maildirs/$1/Maildir/tmp
> chown -R vmail.vmail /var/qmail/maildirs/*
> -----------------------------------------------------
>
> The directories are not created automatically, although i've compiled
> qmail with that option.
>
> I tried to create them manually, and after send the mail, but still it
> doesn't appears anywhere.
The maildir is only created if the user is found. 


> I've created the user with:
> -------------------------------------------------------------
> dn: uid=augusto,ou=Users,dc=sincity,dc=lan
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: qmailUser
> mail: [EMAIL PROTECTED]
> uid: augusto
> cn: Mario Gamito
> sn: Gamito
> homeDirectory: /var/qmail/maildirs/augusto
> qmailUID: 1001
> qmailGID: 1001
> mailAlternateAddress: [EMAIL PROTECTED]
> mailHost: www.sincity.lan
> mailQuotaSize: 1000000
> accountStatus: active
> userPassword: {MD5}WLy6EfDWY8iCVejCzlp+LQ==
> -----------------------------------------------------------
This entry does not have any [EMAIL PROTECTED] entry.

Rgds,
-- 
Nuno Miguel Pais Fernandes <[EMAIL PROTECTED]>
Cisco Certified Network Associate
Oracle Certified Professional
Eurotux Informática, S.A. [http://eurotux.com]
Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL
Tel: (+351) 253 257395 - Fax: (+351) 253 257396

Attachment: pgptOaUEFWcdH.pgp
Description: PGP signature

Reply via email to