RT 1.0.2 working with qmail?


#1

Hi,

I have problem with RT 1.0.2.

Everything is okie (web interface), except the mail part, which RT cannot
be reach by email.
I see the configuration part, where there is sendmail option (and i know RT
is working with Sendmail).

Since i am using qmail, how can i make RT work?

Any advice?
Should i recompile RT?
Inside the makefile, thereis option for Mail and MailOption.
Should i change to qmail and what is the equivalent for qmail?

Is there any archives that i can access? i think this question must be
asked before.

Thanks for your kind attention.

Regards,
Johnny


#2

I did that already. but seems RT didn’t receive the request and RT also
didn’t send out the email when receive an request ( i create request via
web interface).

regards,
Johnny

Nathan J. Mehl writes:


#3

You’ll want to use the qmail sendmail wrapper and also use the reduced
sendmail options as commented in the Makefile (probably the config .pm also)

CHeers


#4

In the immortal words of johnny (johnny@anodns.com):

I have problem with RT 1.0.2.
Everything is okie (web interface), except the mail part, which RT cannot
be reach by email.
I see the configuration part, where there is sendmail option (and i know RT
is working with Sendmail).
Since i am using qmail, how can i make RT work?
Any advice?
Should i recompile RT?
Inside the makefile, thereis option for Mail and MailOption.
Should i change to qmail and what is the equivalent for qmail?
Is there any archives that i can access? i think this question must be
asked before.

Using qmail with RT is pretty straight forward. You just do the
(simple) mental work of translating RT’s suggested /etc/alias entries
into /var/qmail/alias/.qmail files.

As I recall, no other changes were necessary.

-n

------------------------------------------------------------memory@blank.org
"just remember – you don’t have to love yourself, you can just hate a lot of
other people and then grade yourself on the curve." (–x. trapnel, via echo)
http://www.blank.org/memory/------------------------------------------------


#5

In the immortal words of johnny (johnny@anodns.com):

I did that already. but seems RT didn’t receive the request and RT also
didn’t send out the email when receive an request ( i create request via
web interface).

May I suggest looking at qmail’s log files then? qmail-send is
usually pretty verbose when it logs an error.

-n

------------------------------------------------------------memory@blank.org
If people are deciding whether or not to use your service on the basis of
whether they can get it in HTML, it’s not a sign that HTML is about to take
over the world. It’s a sign that you have boring content. (–Tim Pierce)
http://www.blank.org/memory/------------------------------------------------


#6

The error message in the maillog is :

Feb 4 04:22:04 aetude qmail: 981231724.229540 starting delivery 399: msg
14067 to local rt@digis$
Feb 4 04:22:04 aetude qmail: 981231724.229728 status: local 1/10 remote
0/20
Feb 4 04:22:04 aetude qmail: 981231724.291555 delivery 399: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:22:04 aetude qmail: 981231724.291669 status: local 0/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.289503 starting delivery 400: msg
14068 to local rt@digis$
Feb 4 04:23:56 aetude qmail: 981231836.289614 status: local 1/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.295356 delivery 400: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:23:56 aetude qmail: 981231836.295435 status: local 0/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.289478 starting delivery 401: msg
14067 to local rt@digis$
Feb 4 04:57:04 aetude qmail: 981233824.289587 status: local 1/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.295899 delivery 401: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:57:04 aetude qmail: 981233824.296038 status: local 0/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.289470 starting delivery 402: msg
14068 to local rt@digis$
Feb 4 04:58:56 aetude qmail: 981233936.289668 status: local 1/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.295374 delivery 402: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:58:56 aetude qmail: 981233936.295468 status: local 0/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.289473 starting delivery 403: msg
14067 to local rt@digis$
Feb 4 05:35:24 aetude qmail: 981236124.289653 status: local 1/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.295876 delivery 403: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:35:24 aetude qmail: 981236124.295969 status: local 0/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.289468 starting delivery 404: msg
14068 to local rt@digis$
Feb 4 05:37:16 aetude qmail: 981236236.289664 status: local 1/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.295883 delivery 404: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:37:16 aetude qmail: 981236236.295979 status: local 0/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.289468 starting delivery 405: msg
14067 to local rt@digis$
Feb 4 06:17:04 aetude qmail: 981238624.289645 status: local 1/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.295879 delivery 405: deferral:
Unable_to_chdir_to_maildir$
Feb 4 06:17:04 aetude qmail: 981238624.295975 status: local 0/10 remote
0/20

The aliases… are them correct?
I have commented the config.pm under /usr/local/rt/etc/ the sendmailoption
do i need to re-compile or just to change the config.pm

[root@aetude alias]# cat .qmail-rt
/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# cat .qmail-support
|/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# ls -al
total 11
drwxr-sr-x 3 alias qmail 1024 Jan 22 19:34 .
drwxr-xr-x 11 root qmail 1024 Jan 13 15:53 …
-rw-r–r-- 1 root qmail 14 Jan 13 16:36 .qmail-admin
-rw-rw-r-- 1 root qmail 7 Jan 14 18:00 .qmail-default
-rw-r–r-- 1 root qmail 7 Jan 14 17:56 .qmail-jeremykei
lrwxrwxrwx 1 root qmail 34 Jan 13 16:00
.qmail-mailer-daemon -> /var/qmail/alias/.qmail-postmaster
-rw-r–r-- 1 root qmail 14 Jan 14 17:56 .qmail-postmaster
-rw-r–r-- 1 root qmail 14 Jan 14 17:56 .qmail-root
-rw-r–r-- 1 root qmail 49 Feb 6 15:35 .qmail-rt
-rw-r–r-- 1 root qmail 48 Jan 22 16:03 .qmail-rt-action
-rw-r–r-- 1 root qmail 50 Jan 22 19:34 .qmail-support
drwx–S— 5 alias nofiles 1024 Jan 13 16:03 Maildir
[root@aetude alias]#

what else the changes to use RT with qmail?
please advise.

Thanks.

Current problem:
support@domain.com is the queue i created, but email cannot reach the RT
system.
and also rt@domain.com mail aliases also cannot reach the RT.

When created a new queue, i set it to send out email to the requestor, but
i didn’t send out email.From: “Nathan J. Mehl” memory@blank.org
To: “johnny” johnny@anodns.com
Cc: rt-users@lists.fsck.com
Sent: Saturday, February 03, 2001 2:14 PM
Subject: Re: [rt-users] Re: RT 1.0.2 working with qmail?

In the immortal words of johnny (johnny@anodns.com):

I did that already. but seems RT didn’t receive the request and RT also
didn’t send out the email when receive an request ( i create request via
web interface).

May I suggest looking at qmail’s log files then? qmail-send is
usually pretty verbose when it logs an error.

-n

------------------------------------------------------------<memory@blank.
org>
If people are deciding whether or not to use your service on the basis of
whether they can get it in HTML, it’s not a sign that HTML is about to
take
over the world. It’s a sign that you have boring content. (–Tim
Pierce)

http://www.blank.org/memory/----------------------------------------------


#7

What you’re looking for is:

|preline /path/to/rt-mailgate queue correspond

And/or variations on that theme.

--A.L.Lambert - die-hard qmail guy; happily using qmail and RT
		(among a thousand other things).

#8

Hello,

When we comment via Web interface or send comment via mailgate, mostly
the font size is too small to see. How can we change the size?

Regards,
Kazu


#9

Feb 6 16:26:46 aetude pop3d: 981448006.802084 tcpserver: end 32637 status
256
Feb 6 16:26:46 aetude pop3d: 981448006.802172 tcpserver: status: 0/40
Feb 6 16:31:17 aetude qmail: 981448277.459626 new msg 14070
Feb 6 16:31:17 aetude qmail: 981448277.459792 info msg 14070: bytes 838
from johnny@anodns.com qp 32689 uid 502
Feb 6 16:31:17 aetude qmail: 981448277.463574 starting delivery 527: msg
14070 to local rt@domain.com
Feb 6 16:31:17 aetude qmail: 981448277.463709 status: local 1/10 remote
0/20
Feb 6 16:31:17 aetude qmail: 981448277.471156 delivery 527: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

after changing the content of .qmail-rt
[root@aetude alias]# cat .qmail-rt
|preline /usr/local/rt/bin/rt-mailgate queue correspond

any idea?


#10

Feb 6 16:26:46 aetude pop3d: 981448006.802084 tcpserver: end 32637 status
256
Feb 6 16:26:46 aetude pop3d: 981448006.802172 tcpserver: status: 0/40
Feb 6 16:31:17 aetude qmail: 981448277.459626 new msg 14070
Feb 6 16:31:17 aetude qmail: 981448277.459792 info msg 14070: bytes 838
from johnny@anodns.com qp 32689 uid 502
Feb 6 16:31:17 aetude qmail: 981448277.463574 starting delivery 527: msg
14070 to local rt@domain.com
Feb 6 16:31:17 aetude qmail: 981448277.463709 status: local 1/10 remote
0/20
Feb 6 16:31:17 aetude qmail: 981448277.471156 delivery 527: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

after changing the content of .qmail-rt
[root@aetude alias]# cat .qmail-rt
|preline /usr/local/rt/bin/rt-mailgate queue correspond

any idea?

You got a user named 'rt' ?  If so, it's going to go for /home/rt

(or whatever your flavor of *IX uses for /home directories), look for a
".qmail" file, and failing that, try to deliver via the default system
method, which sounds like is /Maildir/ in your case? It will never check
tye system .qmail-account’s under the aliases if user rt exists. Just a
theory. Cheers!

--A.L.Lambert

#11

Feb 6 16:26:46 aetude pop3d: 981448006.802084 tcpserver: end 32637 status
256
Feb 6 16:26:46 aetude pop3d: 981448006.802172 tcpserver: status: 0/40
Feb 6 16:31:17 aetude qmail: 981448277.459626 new msg 14070
Feb 6 16:31:17 aetude qmail: 981448277.459792 info msg 14070: bytes 838
from johnny@anodns.com qp 32689 uid 502
Feb 6 16:31:17 aetude qmail: 981448277.463574 starting delivery 527: msg
14070 to local rt@domain.com
Feb 6 16:31:17 aetude qmail: 981448277.463709 status: local 1/10 remote
0/20
Feb 6 16:31:17 aetude qmail: 981448277.471156 delivery 527: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

after changing the content of .qmail-rt
[root@aetude alias]# cat .qmail-rt
|preline /usr/local/rt/bin/rt-mailgate queue correspond

any idea?

You got a user named ‘rt’ ? If so, it’s going to go for /home/rt
(or whatever your flavor of *IX uses for /home directories), look for a
".qmail" file, and failing that, try to deliver via the default system
method, which sounds like is /Maildir/ in your case? It will never check
tye system .qmail-account’s under the aliases if user rt exists. Just a
theory. Cheers!

Oh, P.S., if I'm right in the above, you can modify the

/home/rt/.qmail and /home/rt/.qmail-whatever files to do what you want,
without using a /var/qmail/alias/.qmail-whatever file. :slight_smile:

--A.L.Lambert

#12

Thanks Daniel W Loke, the option for mail is working

And also thanks to A.L.Lambert, you are right , i have user named RT …:stuck_out_tongue:
soory…

now i have problem with the permission creating the queue … which
directory should i change the permission.?

thanks a lot…From: “Daniel W Lowe (UKS)” dan@uksolutions.co.uk
To: “Johnny Tan” johnny@anodns.com
Cc: rt-users@lists.fsck.com
Sent: Tuesday, February 06, 2001 5:46 PM
Subject: Re: [rt-users] Re: RT 1.0.2 working with qmail?

Hi Johnny

I set these on compile time (in Makefile)

$mailprog = "/var/qmail/bin/sendmail";
$mail_options = "-oi -t";

This is a good place to start.

If this does not help you I will think a bit more!

-Dan

UKSolutions, part of CAD
Including UK Shells, UK Colo

Tel: 01527 851 333 - Fax: 01527 851 301
Web: www.uksolutions.co.uk
Email: dan@uksolutions.co.uk

This email, and any attachment, is confidential and may contain
information
which is covered by legal, professional or other privilege. If you are
not
the intended recipient, please notify the sender immediately and destroy
the email. You should not otherwise copy it, retransmit it or use or
disclose its contents to anyone.

----- Original Message -----
From: “Johnny Tan” johnny@anodns.com
To: dan@uksolutions.co.uk
Sent: Tuesday, February 06, 2001 8:01 AM
Subject: runnnig qmail with RT

Hi Dan,

i have problem with qmail and RT. can you help out?

I didn’t change the $mailprog and $mal_options
Original option
what should i change to?
do i need to re-compile rt or just change under
/usr/local/rt/etc/config.pm?

#$mailprog = "/usr/lib/sendmail";
#$mail_options = "-oi -t -ODeliveryMode=b -OErrorMode=m";

please advice.

The error message in the maillog is :

Feb 4 04:22:04 aetude qmail: 981231724.229540 starting delivery 399:
msg

14067 to local rt@digis$
Feb 4 04:22:04 aetude qmail: 981231724.229728 status: local 1/10 remote
0/20
Feb 4 04:22:04 aetude qmail: 981231724.291555 delivery 399: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:22:04 aetude qmail: 981231724.291669 status: local 0/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.289503 starting delivery 400:
msg

14068 to local rt@digis$
Feb 4 04:23:56 aetude qmail: 981231836.289614 status: local 1/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.295356 delivery 400: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:23:56 aetude qmail: 981231836.295435 status: local 0/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.289478 starting delivery 401:
msg

14067 to local rt@digis$
Feb 4 04:57:04 aetude qmail: 981233824.289587 status: local 1/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.295899 delivery 401: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:57:04 aetude qmail: 981233824.296038 status: local 0/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.289470 starting delivery 402:
msg

14068 to local rt@digis$
Feb 4 04:58:56 aetude qmail: 981233936.289668 status: local 1/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.295374 delivery 402: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:58:56 aetude qmail: 981233936.295468 status: local 0/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.289473 starting delivery 403:
msg

14067 to local rt@digis$
Feb 4 05:35:24 aetude qmail: 981236124.289653 status: local 1/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.295876 delivery 403: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:35:24 aetude qmail: 981236124.295969 status: local 0/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.289468 starting delivery 404:
msg

14068 to local rt@digis$
Feb 4 05:37:16 aetude qmail: 981236236.289664 status: local 1/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.295883 delivery 404: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:37:16 aetude qmail: 981236236.295979 status: local 0/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.289468 starting delivery 405:
msg

14067 to local rt@digis$
Feb 4 06:17:04 aetude qmail: 981238624.289645 status: local 1/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.295879 delivery 405: deferral:
Unable_to_chdir_to_maildir$
Feb 4 06:17:04 aetude qmail: 981238624.295975 status: local 0/10 remote
0/20

The aliases… are them correct?
I have commented the config.pm under /usr/local/rt/etc/ the
sendmailoption

do i need to re-compile or just to change the config.pm

[root@aetude alias]# cat .qmail-rt
/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# cat .qmail-support
|/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# ls -al
total 11
drwxr-sr-x 3 alias qmail 1024 Jan 22 19:34 .
drwxr-xr-x 11 root qmail 1024 Jan 13 15:53 …
-rw-r–r-- 1 root qmail 14 Jan 13 16:36 .qmail-admin
-rw-rw-r-- 1 root qmail 7 Jan 14 18:00 .qmail-default
-rw-r–r-- 1 root qmail 7 Jan 14 17:56 .qmail-jeremykei
lrwxrwxrwx 1 root qmail 34 Jan 13 16:00
.qmail-mailer-daemon -> /var/qmail/alias/.qmail-postmaster
-rw-r–r-- 1 root qmail 14 Jan 14 17:56
.qmail-postmaster

-rw-r–r-- 1 root qmail 14 Jan 14 17:56 .qmail-root
-rw-r–r-- 1 root qmail 49 Feb 6 15:35 .qmail-rt
-rw-r–r-- 1 root qmail 48 Jan 22 16:03 .qmail-rt-action
-rw-r–r-- 1 root qmail 50 Jan 22 19:34 .qmail-support
drwx–S— 5 alias nofiles 1024 Jan 13 16:03 Maildir
[root@aetude alias]#

what else the changes to use RT with qmail?
please advise.

Thanks.

Current problem:
support@domain.com is the queue i created, but email cannot reach the RT
system.
and also rt@domain.com mail aliases also cannot reach the RT.

When created a new queue, i set it to send out email to the requestor,
but
i didn’t send out email.

regards,
Johnny


#13

Thanks all…
i think the previous email …solution…
because i didn’t allow non member to create queue.

regards,
Johnny

thanks a lot … it works now…From: “Daniel W Lowe (UKS)” dan@uksolutions.co.uk
To: “Johnny Tan” johnny@anodns.com
Cc: rt-users@lists.fsck.com
Sent: Tuesday, February 06, 2001 5:46 PM
Subject: Re: [rt-users] Re: RT 1.0.2 working with qmail?

Hi Johnny

I set these on compile time (in Makefile)

$mailprog = "/var/qmail/bin/sendmail";
$mail_options = "-oi -t";

This is a good place to start.

If this does not help you I will think a bit more!

-Dan

UKSolutions, part of CAD
Including UK Shells, UK Colo

Tel: 01527 851 333 - Fax: 01527 851 301
Web: www.uksolutions.co.uk
Email: dan@uksolutions.co.uk

This email, and any attachment, is confidential and may contain
information
which is covered by legal, professional or other privilege. If you are
not
the intended recipient, please notify the sender immediately and destroy
the email. You should not otherwise copy it, retransmit it or use or
disclose its contents to anyone.

----- Original Message -----
From: “Johnny Tan” johnny@anodns.com
To: dan@uksolutions.co.uk
Sent: Tuesday, February 06, 2001 8:01 AM
Subject: runnnig qmail with RT

Hi Dan,

i have problem with qmail and RT. can you help out?

I didn’t change the $mailprog and $mal_options
Original option
what should i change to?
do i need to re-compile rt or just change under
/usr/local/rt/etc/config.pm?

#$mailprog = "/usr/lib/sendmail";
#$mail_options = "-oi -t -ODeliveryMode=b -OErrorMode=m";

please advice.

The error message in the maillog is :

Feb 4 04:22:04 aetude qmail: 981231724.229540 starting delivery 399:
msg

14067 to local rt@digis$
Feb 4 04:22:04 aetude qmail: 981231724.229728 status: local 1/10 remote
0/20
Feb 4 04:22:04 aetude qmail: 981231724.291555 delivery 399: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:22:04 aetude qmail: 981231724.291669 status: local 0/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.289503 starting delivery 400:
msg

14068 to local rt@digis$
Feb 4 04:23:56 aetude qmail: 981231836.289614 status: local 1/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.295356 delivery 400: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:23:56 aetude qmail: 981231836.295435 status: local 0/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.289478 starting delivery 401:
msg

14067 to local rt@digis$
Feb 4 04:57:04 aetude qmail: 981233824.289587 status: local 1/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.295899 delivery 401: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:57:04 aetude qmail: 981233824.296038 status: local 0/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.289470 starting delivery 402:
msg

14068 to local rt@digis$
Feb 4 04:58:56 aetude qmail: 981233936.289668 status: local 1/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.295374 delivery 402: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:58:56 aetude qmail: 981233936.295468 status: local 0/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.289473 starting delivery 403:
msg

14067 to local rt@digis$
Feb 4 05:35:24 aetude qmail: 981236124.289653 status: local 1/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.295876 delivery 403: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:35:24 aetude qmail: 981236124.295969 status: local 0/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.289468 starting delivery 404:
msg

14068 to local rt@digis$
Feb 4 05:37:16 aetude qmail: 981236236.289664 status: local 1/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.295883 delivery 404: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:37:16 aetude qmail: 981236236.295979 status: local 0/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.289468 starting delivery 405:
msg

14067 to local rt@digis$
Feb 4 06:17:04 aetude qmail: 981238624.289645 status: local 1/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.295879 delivery 405: deferral:
Unable_to_chdir_to_maildir$
Feb 4 06:17:04 aetude qmail: 981238624.295975 status: local 0/10 remote
0/20

The aliases… are them correct?
I have commented the config.pm under /usr/local/rt/etc/ the
sendmailoption

do i need to re-compile or just to change the config.pm

[root@aetude alias]# cat .qmail-rt
/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# cat .qmail-support
|/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# ls -al
total 11
drwxr-sr-x 3 alias qmail 1024 Jan 22 19:34 .
drwxr-xr-x 11 root qmail 1024 Jan 13 15:53 …
-rw-r–r-- 1 root qmail 14 Jan 13 16:36 .qmail-admin
-rw-rw-r-- 1 root qmail 7 Jan 14 18:00 .qmail-default
-rw-r–r-- 1 root qmail 7 Jan 14 17:56 .qmail-jeremykei
lrwxrwxrwx 1 root qmail 34 Jan 13 16:00
.qmail-mailer-daemon -> /var/qmail/alias/.qmail-postmaster
-rw-r–r-- 1 root qmail 14 Jan 14 17:56
.qmail-postmaster

-rw-r–r-- 1 root qmail 14 Jan 14 17:56 .qmail-root
-rw-r–r-- 1 root qmail 49 Feb 6 15:35 .qmail-rt
-rw-r–r-- 1 root qmail 48 Jan 22 16:03 .qmail-rt-action
-rw-r–r-- 1 root qmail 50 Jan 22 19:34 .qmail-support
drwx–S— 5 alias nofiles 1024 Jan 13 16:03 Maildir
[root@aetude alias]#

what else the changes to use RT with qmail?
please advise.

Thanks.

Current problem:
support@domain.com is the queue i created, but email cannot reach the RT
system.
and also rt@domain.com mail aliases also cannot reach the RT.

When created a new queue, i set it to send out email to the requestor,
but
i didn’t send out email.

regards,
Johnny


#14

Hi Johnny

I set these on compile time (in Makefile)

$mailprog = "/var/qmail/bin/sendmail";
$mail_options = "-oi -t";

This is a good place to start.

If this does not help you I will think a bit more!

-Dan

UKSolutions, part of CAD
Including UK Shells, UK Colo

Tel: 01527 851 333 - Fax: 01527 851 301
Web: www.uksolutions.co.uk
Email: dan@uksolutions.co.uk
This email, and any attachment, is confidential and may contain information
which is covered by legal, professional or other privilege. If you are not
the intended recipient, please notify the sender immediately and destroy
the email. You should not otherwise copy it, retransmit it or use or
disclose its contents to anyone.From: “Johnny Tan” johnny@anodns.com
To: dan@uksolutions.co.uk
Sent: Tuesday, February 06, 2001 8:01 AM
Subject: runnnig qmail with RT

Hi Dan,

i have problem with qmail and RT. can you help out?

I didn’t change the $mailprog and $mal_options
Original option
what should i change to?
do i need to re-compile rt or just change under
/usr/local/rt/etc/config.pm?

#$mailprog = "/usr/lib/sendmail";
#$mail_options = "-oi -t -ODeliveryMode=b -OErrorMode=m";

please advice.

The error message in the maillog is :

Feb 4 04:22:04 aetude qmail: 981231724.229540 starting delivery 399: msg
14067 to local rt@digis$
Feb 4 04:22:04 aetude qmail: 981231724.229728 status: local 1/10 remote
0/20
Feb 4 04:22:04 aetude qmail: 981231724.291555 delivery 399: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:22:04 aetude qmail: 981231724.291669 status: local 0/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.289503 starting delivery 400: msg
14068 to local rt@digis$
Feb 4 04:23:56 aetude qmail: 981231836.289614 status: local 1/10 remote
0/20
Feb 4 04:23:56 aetude qmail: 981231836.295356 delivery 400: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:23:56 aetude qmail: 981231836.295435 status: local 0/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.289478 starting delivery 401: msg
14067 to local rt@digis$
Feb 4 04:57:04 aetude qmail: 981233824.289587 status: local 1/10 remote
0/20
Feb 4 04:57:04 aetude qmail: 981233824.295899 delivery 401: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:57:04 aetude qmail: 981233824.296038 status: local 0/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.289470 starting delivery 402: msg
14068 to local rt@digis$
Feb 4 04:58:56 aetude qmail: 981233936.289668 status: local 1/10 remote
0/20
Feb 4 04:58:56 aetude qmail: 981233936.295374 delivery 402: deferral:
Unable_to_chdir_to_maildir$
Feb 4 04:58:56 aetude qmail: 981233936.295468 status: local 0/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.289473 starting delivery 403: msg
14067 to local rt@digis$
Feb 4 05:35:24 aetude qmail: 981236124.289653 status: local 1/10 remote
0/20
Feb 4 05:35:24 aetude qmail: 981236124.295876 delivery 403: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:35:24 aetude qmail: 981236124.295969 status: local 0/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.289468 starting delivery 404: msg
14068 to local rt@digis$
Feb 4 05:37:16 aetude qmail: 981236236.289664 status: local 1/10 remote
0/20
Feb 4 05:37:16 aetude qmail: 981236236.295883 delivery 404: deferral:
Unable_to_chdir_to_maildir$
Feb 4 05:37:16 aetude qmail: 981236236.295979 status: local 0/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.289468 starting delivery 405: msg
14067 to local rt@digis$
Feb 4 06:17:04 aetude qmail: 981238624.289645 status: local 1/10 remote
0/20
Feb 4 06:17:04 aetude qmail: 981238624.295879 delivery 405: deferral:
Unable_to_chdir_to_maildir$
Feb 4 06:17:04 aetude qmail: 981238624.295975 status: local 0/10 remote
0/20

The aliases… are them correct?
I have commented the config.pm under /usr/local/rt/etc/ the sendmailoption
do i need to re-compile or just to change the config.pm

[root@aetude alias]# cat .qmail-rt
/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# cat .qmail-support
|/usr/local/rt/bin/rt-mailgate general correspond
[root@aetude alias]# ls -al
total 11
drwxr-sr-x 3 alias qmail 1024 Jan 22 19:34 .
drwxr-xr-x 11 root qmail 1024 Jan 13 15:53 …
-rw-r–r-- 1 root qmail 14 Jan 13 16:36 .qmail-admin
-rw-rw-r-- 1 root qmail 7 Jan 14 18:00 .qmail-default
-rw-r–r-- 1 root qmail 7 Jan 14 17:56 .qmail-jeremykei
lrwxrwxrwx 1 root qmail 34 Jan 13 16:00
.qmail-mailer-daemon -> /var/qmail/alias/.qmail-postmaster
-rw-r–r-- 1 root qmail 14 Jan 14 17:56 .qmail-postmaster
-rw-r–r-- 1 root qmail 14 Jan 14 17:56 .qmail-root
-rw-r–r-- 1 root qmail 49 Feb 6 15:35 .qmail-rt
-rw-r–r-- 1 root qmail 48 Jan 22 16:03 .qmail-rt-action
-rw-r–r-- 1 root qmail 50 Jan 22 19:34 .qmail-support
drwx–S— 5 alias nofiles 1024 Jan 13 16:03 Maildir
[root@aetude alias]#

what else the changes to use RT with qmail?
please advise.

Thanks.

Current problem:
support@domain.com is the queue i created, but email cannot reach the RT
system.
and also rt@domain.com mail aliases also cannot reach the RT.

When created a new queue, i set it to send out email to the requestor,
but
i didn’t send out email.

regards,
Johnny


#15

Where are you wanting to change the size? In the "send comment"
window or in the “view item detail” window?

— Eric


#16

Hi All,

Just want to summarise what is my problem and how then the solution came via
the mailling list.

Hopefully, this can help other fellows when asking about qmail with RT can
refer to this thread.

To make RT work with qmail, change the following in the Makefile (but if you
have compiled it, then change /path/to/rt/etc/config.pm

$mailprog = “/var/qmail/bin/sendmail”;
$mail_options = “-oi -t”;

Then remember the email aliases you created. My case was the mail alias for
RT is rt@domain.com while i have created user and group RT.

I create under ~alias/.qmail-rt
which contradict with the user account and qmail alias.
The problem with cannot chdir_maildir on my maillog is because i need to run
script to convert mbox format to maildir format. I forgot to do it for rt
user. Hence that is the problem comes.

I create queue "support"
So under Rt user account, i create .qmail
The content of .qmail is:
|preline /path/to/rt-mailgate queue correspond

i later change to support@domain.com
hence i create qmail alias under /var/qmail/alias/.qmail-support
the content of .qmail-support is
preline /path/to/rt-mailgate support correspond

Remember to allow non-member to create queue if you want to use email in the
RT.

Thanks for your help
Especially A.L.Lambert,Daniel W Lowe, Nathan and others in the mailing list

Hopefully this summarize will help other users in future.

regards
Johnny

NOTE:
I use RT 1.0.6


#17

Sorry, I cannot find either “send comment” window or "view item detail"
window.

Simply, when we click any serial number at “Display Queue” window and
the transaction is created by e-mail, we can easily compare the
difference between the size of header and the size of contents. We can
read the header because it is bigger than the contents.

Any sugestion?

Regards,
KazuOn Tue, 6 Feb 2001 09:42:12 -0800 Eric Goodman ericg@cats.ucsc.edu wrote:

Where are you wanting to change the size? In the "send comment"
window or in the “view item detail” window?

— Eric

Hello,

When we comment via Web interface or send comment via mailgate, mostly
the font size is too small to see. How can we change the size?

Regards,
Kazu


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


中部テレコミュニケーション株式会社
IP技術部 木村 和裕
E-mail: kimura@ctc.ad.jp
Tel(代)052-740-8101
Fax 052-740-8935



#18

In your rt directory;
/rt/lib/rt/ui/web/manipulate.pm

a few lines down there is a line:
$QUEUE_FONT and $MESSAGE_FONT

Change it to make the font bigger. The default is “-1”, I have mine set
to “3”.

FrancesOn 7 Feb 01, at 16:08, Kazu Kimura wrote:

Sorry, I cannot find either “send comment” window or “view item
detail” window.

Simply, when we click any serial number at “Display Queue” window and
the transaction is created by e-mail, we can easily compare the
difference between the size of header and the size of contents. We
can read the header because it is bigger than the contents.

Any sugestion?

Regards,
Kazu

On Tue, 6 Feb 2001 09:42:12 -0800 Eric Goodman ericg@cats.ucsc.edu wrote:

Where are you wanting to change the size? In the "send comment"
window or in the “view item detail” window?

— Eric

Hello,

When we comment via Web interface or send comment via mailgate,
mostly the font size is too small to see. How can we change the
size?

Regards,
Kazu


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


e$BCfIt%F%l%3%_%e%K%1!<%7%g%s3t<02q<Re(B
IPe$B5;=QIte(B e$BLZB<e(B e$BOBM5e(B
E-mail: kimura@ctc.ad.jp
Tel(e$BBee(B)052-740-8101
Fax 052-740-8935



rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users


#19

Thank you, Frances.

Perfect answer.

Regards,
KazuOn Wed, 7 Feb 2001 19:15:34 +1100 “Frances Russell” frussell@tpg.com.au wrote:

In your rt directory;
/rt/lib/rt/ui/web/manipulate.pm

a few lines down there is a line:
$QUEUE_FONT and $MESSAGE_FONT

Change it to make the font bigger. The default is “-1”, I have mine set
to “3”.

Frances