Adicionei o schema do courier-imap e criei o usuário com os atributos
corretos.Agora tá acontecendo uma coisa estranha,no log aparece assim:

scania postfix/cleanup[955]: A744F552C97:
message-id=<[EMAIL PROTECTED]>
scania postfix/qmgr[949]: A744F552C97:
from=<[EMAIL PROTECTED]>, size=1714, nrcpt=1 (queue active)
scania sendmail[951]: k35IeS1s000951: to=teste, ctladdr=danilo
(1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31114,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as
A744F552C97)
scania postfix/smtpd[953]: disconnect from localhost[127.0.0.1]

Pelo que parece ele conecta no ldap,verifica se existe esse usuário
"teste",acha o usuário e desconecta,aí aparece a mensagem abaixo:

scania postfix/qmgr[949]: warning: premature end-of-input on
private/local socket while reading input attribute name
scania postfix/qmgr[949]: warning: private/local socket: malformed
response
scania postfix/qmgr[949]: warning: transport local failure -- see a
previous warning/fatal/panic logfile record for the problem description
scania postfix/master[429]: warning:
process /usr/local/libexec/postfix/local pid 956 killed by signal 6
scania postfix/master[429]: warning: /usr/local/libexec/postfix/local:
bad command startup -- throttling
scania postfix/qmgr[949]: A744F552C97:
to=<[EMAIL PROTECTED]>, relay=none, delay=34,
delays=0.15/34/0/0, dsn=4.3.0, status=deferred (unknown mail transport
error)

Parece que na hora de entregar o email ele dá problema,será que é algum
problema de instalação do meu postfix?Instalei via ports a versão
current(/usr/ports/mail/postfix-current),o seu é qual versão?
Uma vez em casa instalei o /usr/ports/mail/postfix com suporte a ldap e
só criei o arquivo ldap-aliases.cf como diz no readme e funcionou
direitinho,agora aqui tá dando essa dor de cabeça toda.

Valeu.


On Wed, 2006-04-05 at 14:42 -0300, Mauro Felipe wrote:
> Olha um exemplo de um usuário da base LDAP:
> 
> # Entry 1: uid=mazevedo,ou=Usuarios,dc=ctlivre,dc=gov,dc=br
> dn: uid=mazevedo,ou=Usuarios,dc=ctlivre,dc=gov,dc=br
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: CourierMailAccount
> objectClass: CourierMailAlias
> objectClass: sambaSamAccount
> uid: mazevedo
> mail: [EMAIL PROTECTED]
> maildrop: [EMAIL PROTECTED]
> quota: 51200000
> mailbox: /home/mazevedo/Maildir
> disableimap: 0
> vacation: nao
> uidNumber: 1080
> gidNumber: 513
> homeDirectory: /home/mazevedo
> loginShell: /bin/bash
> sambaLogonTime: 0
> sambaLogoffTime: 2147483647
> sambaKickoffTime: 2147483647
> sambaPwdMustChange: 2147483647
> sambaSID: S-1-5-21-1968205205-3923885950-4036302834-3160
> sambaPrimaryGroupSID: S-1-5-21-1968205205-3923885950-4036302834-513
> sambaLogonScript: logon.bat
> sambaHomePath: \\AMETISTA\mazevedo
> sambaHomeDrive: H:
> sambaPasswordHistory: 000000000000000000000000000000000000000000000000000000
>  0000000000
> sambaAcctFlags: [U          ]
> telephoneNumber: 3317-7669
> departmentNumber: COGR
> givenName: Mauro
> homePhone: nao
> mobile: nao
> roomNumber: T70
> description: Teste de usuario
> sambaPwdCanChange: 1137785576
> sambaLMPassword: 44EFCE164AB921CAAAD3B435B51404EE
> sambaNTPassword: 32ED87BDB5FDC5E9CBA88547376818D4
> sambaPwdLastSet: 1137785576
> cn: Mauro Felipe Azevedo
> displayName: Mauro Felipe Azevedo
> gecos: Mauro Felipe
> sn: Azevedo
> userPassword: {SHA}dFbwPlSrWt4faHUmQNwXAjAsIJY=
> 
> 
> Você pode desconsiderar os atributos do SAMBA.
> 
> --
> [ ]´s
> 
> Mauro Felipe
> _______________________________________________
> freebsd mailing list
> freebsd@fug.com.br
> http://lists.fug.com.br/listinfo.cgi/freebsd-fug.com.br
> 
-- 
Danilo Augusto Vicente Lara
[EMAIL PROTECTED]
Cel.: 61 9994-1361

_______________________________________________
freebsd mailing list
freebsd@fug.com.br
http://lists.fug.com.br/listinfo.cgi/freebsd-fug.com.br

Responder a