[rt-users] mail server on different machine
Peter Jamriško
peter.jamrisko at advantel.cz
Fri May 14 07:17:51 EDT 2004
Thanks for your answer.
About Fetchmail I found two articles only - POP3Mailgate and
WindowsOSInstallGuide. Now it's little bit more clear how to use RT on
different machines. I already read FAQ and documentation FOR RT3, but
not for RT1. There is nothing about this problem in RT3 documentation.
You have just help for rt-mailgate (that i posted before) and faq and
documentation, where just a bit about this = nothong usefull.
I was confused with "you don't need mail server on 'rt server' ", but i
have to have at least sendmail or something similar to be able to send
every uotgoing email to central (in my case Qmail) mail server. I knew,
taht I have to say RT to send emails to qmail, but I didn't know how to
say it.
So, If I understand it correctly I have few choices:
1.a) set qmail (on machine1) to route (transfer) all emails for rt to
the RT machine2.
1.b) install sendmail (postfix or whatever) on the RT machine2 to be
able to receive email from the qmail machine1 and to send emails back to
qmail machine1
1.c) then make alias for user "rt" on the RT machine2 (something like |
"/usr/local/rt/bin/rt-mailgate rt correspond")
second possibility:
2.a) let qmail to send every email for rt to local mailbox of user "rt"
on local machnine1
2.b) install fetchmail on RT machine2 and set it up to look for new
emails (on machine1) every 5 minutes (via pop3/IMAP):
//
.fetchmailrc:
poll qmail.machine1 proto pop3 username rt password ***** mda
"/opt/rt3/bin/rt-mailgate --url http://localhost/ --queue general
--action correspond"
Run "fetchmail -d 300" (as the rt user) to have fetchmail run every 300
seconds as a daemon to check for mail on the mail server. You may want
to put this into a startup script.
//
2.c) install sendmail (postfix,..) on the RT machine2 to be able to send
emails to machine1 (qmail), which will then send them to normal users
(to requestors, to owners, ...)
Or can I use fetchmail to send emails from the RTmachine2 to the qmail
machine1 as well?
Or are there another ways?
Thanks for help.
Peter
Jean-Yan Bérubé wrote:
> go there:
>
> wiki.bestpractical.com
>
> and read everything you can about installation, this will give you a
> good idea on how RT works.
>
> The article about Fetchmail will probably be a good start ;)
>
> Jean-Yan
>
> Peter Jamriško wrote:
>
>> Hi,
>>
>> I need help with installation of RT. Can someone explain me main idea
>> (or detailed step-by-step how-to) of installing RT on a different
>> machine than mail server is? I am using qmail on 192.168.1.1 and
>> planning to install RT+MySQL+Apache on second computer 192.168.1.2. I
>> don't understand how to setup RT and Qmail to work together. Shall I
>> install something more (procmail, ...) or is qmail and RT enough?
>>
>> This is part of rt-mailgate help:
>>
>> "Note that you don't have to run your RT server on your mail server,
>> as the mail gateway will happily relay to a different machine."
>>
>> and this too:
>>
>> //
>> Next, you need to route mail to "rt-mailgate" for the queues you're
>> monitoring. For instance, if you're using /etc/aliases and you have a
>> "bugs" queue, you will want something like this:
>>
>> bugs: "|/opt/rt3/bin/rt-mailgate --queue bugs
>> --action correspond
>> --url http://rt.mycorp.com/"
>> //
>>
>> So, when I have Qmail on machine1 and install RT on machine2, how can
>> I put "/opt/rt3/bin/rt-mailgate" in qmail alias on machine1. There is
>> no such file on the machine1. Or does "run" mean something else then
>> install?
>>
>> May be I missed something important...
>>
>> Thanks for any help.
>>
>> Peter.
>>
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> RT Developer and Administrator training is coming to LA, DC and
>> Frankfurt this spring and summer.
>> http://bestpractical.com/services/training.html
>>
>> Sign up early, as class space is limited.
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> RT Developer and Administrator training is coming to LA, DC and
> Frankfurt this spring and summer.
> http://bestpractical.com/services/training.html
>
> Sign up early, as class space is limited.
More information about the rt-users
mailing list