[rt-users] Problems with rt-mailgate (postfix + ldap + aliases)
Toni de la Fuente
afuente at intecna.es
Tue Jul 31 04:10:51 EDT 2007
When I try to exec this command from my mail server:
# uname -a|rt-mailgate --queue 'My queue' --action comment --url
http://www.domain.com/tickets/
In RT server I can see (in /var/log/messages) this lines:
Jul 31 09:52:38 rainbow RT: Encode::Guess failed: ; fallback to
iso-8859-1 (/usr/lib/perl5/vendor_perl/5.8.8/RT/I18N.pm:415)
Jul 31 09:52:38 rainbow RT: Encode::Guess failed: ; fallback to
iso-8859-1 (/usr/lib/perl5/vendor_perl/5.8.8/RT/I18N.pm:415)
Jul 31 09:52:38 rainbow RT: Could not record email: Could not load a
valid user (/usr/share/rt3/html/REST/1.0/NoAuth/mail-gateway:73)
And if I try to send a mail I can see in my postfix logs this lines:
Jul 31 09:37:21 padme postfix/smtpd[14412]: 9F6FDB3402A:
client=unknown[12.12.12.12]
Jul 31 09:37:21 padme postfix/cleanup[14414]: 9F6FDB3402A:
message-id=<200707310737.l6V7bOTA008042 at mail.domain.com>
Jul 31 09:37:21 padme postfix/qmgr[14271]: 9F6FDB3402A:
from=<root at mail.domain.com>, size=877, nrcpt=1 (queue active)
Jul 31 09:37:22 padme postfix/smtp[14288]: 9F6FDB3402A:
to=<|/usr/bin/rt-mailgate --queue 'My queue' --action correspond --url
http://www.domain.com/tickets/@domain.com>,
orig_to=<soporte at domain.com>, relay=localhost[127.0.0.1], delay=1,
status=bounced (host localhost[127.0.0.1] said: 550 5.1.0
<|/usr/bin/rt-mailgate --queue 'My queue' --action correspond --url
http://www.domain.com/tickets/@domain.com>: Recipient address rejected:
User unknown in virtual mailbox table (in reply to end of DATA command))
Jul 31 09:37:22 padme postfix/qmgr[14271]: 9F6FDB3402A: removed
Note http://www.domain.com/tickets/@domain.com <-- postfix or aliases
add @domain.com
El lun, 30-07-2007 a las 13:03 -0700, Robert Long escribió:
> Toni de la Fuente wrote:
> > File /etc/postfix/main.cf have this options related with aliases:
> > alias_maps = hash:/etc/aliases
> >
>
> put the entries in /etc/aliases then run 'newaliases' (or perhaps
> newaliases.postfix depending on your distribution)
>
> .r'
>
>
--
Toni de la Fuente Diaz
Responsable de Sistemas y Soporte
Intecna Soluciones
Fundación I+D del Software Libre
Parque Tecnológico de Ciencias de la Salud
BIC Granada-CEEI
Avda. de la Innovación, 1
18100 Armilla (Granada)
Tlf. 902003626
afuente at intecna.es
www.intecna.es
More information about the rt-users
mailing list