[postfix-es] problema con postfix+ldap(/etc/mailname)

gfa gfaraway en arnet.com.ar
Mie Sep 15 02:45:03 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hola, tengo un openbsd 3.5 y estoy intentando instalarle postfix+ldap,( lo
compile desde los ports con los flavors ldap+pcre, version 2.0.18)

gfa en jesusmartyr postfix-doc $ telnet mail.dominio.com.ar 25
Trying 192.168.0.1...
Connected to 192.168.0.1.
Escape character is '^]'.
220 mail.dominio.com.ar ESMTP Postfix
helo test
250 mail.dominio.com.ar
mail from: <test en yahoo.com>
250 Ok
rcpt to: <emi en dominio.com.ar>

y se queda asi

/var/log/mail.info
(cuando lo inicio)

1) Sep 13 21:39:18 mail postfix/postfix-script: starting the Postfix mail
system
2) Sep 13 21:39:19 mail postfix/master[10271]: daemon started -- version
2.0.18
3) Sep 13 21:39:19 mail postfix/qmgr[2720]: E9A344C74:
from=<root@/etc/mailname.dominio.com.ar>, size=2338, nrcpt=1 (queue active)
4) Sep 13 21:39:19 mail postfix/trivial-rewrite[29091]: warning:
dict_ldap_lookup: Search error 32: No such object
5) Sep 13 21:39:19 mail postfix/trivial-rewrite[29091]: fatal:
ldap:ldapvirtualmap: table lookup problem
6) Sep 13 21:39:20 mail postfix/qmgr[2720]: warning: premature
end-of-input on private/rewrite socket while reading input attribute name
7) Sep 13 21:39:20 mail postfix/master[10271]: warning:
process /usr/local/libexec/postfix/trivial-rewrite pid 29091 exit status 1
8) Sep 13 21:39:20 mail postfix/master[10271]:
warning: /usr/local/libexec/postfix/trivial-rewrite: bad command startup --
throttling

desde el 4 al 8 se repite hasta el infinito

el problema me parece que esta en la linea 3 donde trata de buscar el dominio
en /etc/mailname o /etc/mailname.dominio.com.ar, cosa que lei que es un
parche que pone debian (!!!?) a postfix,
igualmente puse mi hostname y/o dominio en esos archivos y no anduvo :(

/var/log/mail.info
(cuando me conecto)

1) Sep 13 22:49:49 mail postfix/smtpd[23342]: connect from
jesusmartyr.dominio.com.ar[192.168.0.2]
2) Sep 13 22:50:05 mail postfix/smtpd[23342]: AEEC84C77:
client=jesusmartyr.dominio.com.ar[192.168.0.2]
3) Sep 13 22:50:42 mail postfix/trivial-rewrite[8563]: warning:
dict_ldap_lookup: Search error 87: Bad search filter
4) Sep 13 22:50:42 mail postfix/trivial-rewrite[8563]: fatal:
ldap:valiases: table lookup problem
5) Sep 13 22:50:43 mail postfix/qmgr[26218]: warning: premature
end-of-input on private/rewrite socket while reading input attribute name
6) Sep 13 22:50:43 mail postfix/smtpd[23342]: warning: premature
end-of-input on private/rewrite socket while reading input attribute name
7) Sep 13 22:50:43 mail postfix/smtpd[23342]: warning: rewrite_clnt: bad
read: Undefined error: 0
8) Sep 13 22:50:43 mail postfix/master[9336]: warning:
process /usr/local/libexec/postfix/trivial-rewrite pid 8563 exit status 1
9) Sep 13 22:50:43 mail postfix/master[9336]:
warning: /usr/local/libexec/postfix/trivial-rewrite: bad command startup --
throttling


y aca esta el log del slapd

conn=107 op=1 SRCH base="ou=People,o=org,dc=dominio,dc=com.dc=ar" scope=2
filter="(&(mail=/etc/mailname.dominio.com.ar)(!(quota=-1))
(objectClass=CourierMailAccount))"
conn=107 op=1 SRCH attr=mailbox
conn=107 op=1 RESULT tag=101 err=32 text=
conn=107 op=2 UNBIND
conn=107 fd=15 closed

aca se nota que el problema es que postfix le
agregar /etc/mailname.dominio.com.ar al la busqueda
alguien sabe como hacer que postfix no se "comporte" de esta manera?

- --System Parameters--
mail_version = 2.0.18
hostname = mail.dominio.com.ar
uname = OpenBSD mail.dominio.com.ar 3.5 GENERIC#0 i386

- --Packaging information--
looks like this postfix comes from BSD package: 

- --Mailbox locking methods--
flock fcntl dotlock

- --Supported Lookup tables--
static pcre regexp environ proxy ldap btree unix hash

- --main.cf non-default parameters--
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = _postfix
mailq_path = /usr/local/sbin/mailq
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
readme_directory = /usr/local/share/doc/postfix/readme
sendmail_path = /usr/local/sbin/sendmail
setgid_group = _postdrop
unknown_local_recipient_reject_code = 450

- --master.cf--
smtp      inet  n       -       -       -       -       smtpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail 
($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient

- --Specific file and directory permissions--
drwx-wx---  2 _postfix  _postdrop  512 Sep 14 
07:03 /var/spool/postfix/maildrop
drwx--x---  2 _postfix  _postdrop  512 Sep 14 07:03 /var/spool/postfix/public
total 0
srw-rw-rw-  1 _postfix  _postdrop  0 Sep 14 07:03 cleanup
srw-rw-rw-  1 _postfix  _postdrop  0 Sep 14 07:03 flush
prw--w--w-  1 _postfix  _postdrop  0 Sep 14 21:43 pickup
prw--w--w-  1 _postfix  _postdrop  0 Sep 14 21:41 qmgr
srw-rw-rw-  1 _postfix  _postdrop  0 Sep 14 07:03 showq
drwx------  2 _postfix  wheel  512 Sep 14 07:03 /var/spool/postfix/private
total 0
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 anvil
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 bounce
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 bsmtp
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 cyrus
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 defer
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 error
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 ifmail
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 lmtp
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 local
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 maildrop
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 old-cyrus
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 proxymap
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 relay
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 rewrite
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 smtp
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 trace
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 uucp
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 verify
srw-rw-rw-  1 _postfix  wheel  0 Sep 14 07:03 virtual
- -rwxr-sr-x  1 root  _postdrop  95091 Aug 24 21:11 /usr/local/sbin/postdrop
- -rwxr-sr-x  1 root  _postdrop  87278 Aug 24 21:11 /usr/local/sbin/postqueue

- --Library dependencies--
/usr/local/libexec/postfix/smtpd:
/usr/local/libexec/postfix/smtpd:
 Start    End      Type Ref Name
 00000000 00000000 exe   1  /usr/local/libexec/postfix/smtpd
 0a62e000 2a633000 rlib  1  /usr/local/lib/libpcre.so.0.1
 06b34000 26b3a000 rlib  1  /usr/local/lib/libsasl2.so.2.13
 03506000 2350e000 rlib  1  /usr/local/lib/libldap.so.2.127
 05eb7000 25ebb000 rlib  2  /usr/local/lib/liblber.so.2.127
 06eb2000 26eeb000 rlib  1  /usr/lib/libc.so.30.3
 00d60000 20d6c000 rlib  1  /usr/lib/libssl.so.8.0
 0c8fd000 2c92e000 rlib  1  /usr/lib/libcrypto.so.10.3
 08a27000 08a27000 rtld  1  /usr/libexec/ld.so
- -- end of postfinger output --

disculpen la extencion del mail pero no me quedaba otra
gracias
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD4DBQFBR5CXMLQLNcfNaOcRAmWGAJj+cg6Nnn3MuWgAWXA0Z5L7cPPyAKClXw2W
1vuMRYmRfFwlS1WiNc5Ftw==
=zFzX
-----END PGP SIGNATURE-----
-
Para ENVIAR mensajes a esta lista tienes que estar SUSCRITO a ella.
.
Envía la linea "unsubscribe postfix-es" en el cuerpo de un mensaje
a majordomo en WL0.org para quitarte de la lista.



Más información sobre la lista de distribución Postfix-es