I’ve been beating my head against this for days now and can’t figure this out. I original had (as much as possible) a clone of our production environment in a lab. I reached a point where I was forced to re-IP the lab environment which went well. Now, rt-mailgate simply doesn’t work. Outbound mail does work (postfix). If I use the /etc/aliases file for commands like I usually to, fetchmail attempts to contact an SMTP server for local delivery. If I actually embed the rt-mailgate command inside fetchmailrc I now get “http request failed: 500 can’t connect to SERVER:80. Web server logs may have more info”. I can’t find anything.
I’ve put in a new mail server to see if that was the issue, but I simply cannot get the lab server to pick up mail anymore. As far as I can tell, DNS is functioning properly. What am I missing?
Thomas - You are correct. It wouldn’t be so bad if the RT site wasn’t working. If I use the exact same address I use for the web server in the rt-mailgate scripts it fails. If I put that address into a web browser, I can use the system as expected. I’m trying to figure out what the “disconnect” is now between rt-mailgate and the server.
Well, that error message is pretty clear ? when fetchmail tries to spawn rt-mailgate, that process can?t connect to RT.
You should replace SERVER:80 in your fetchmailrc with the URL you?re using to connect to RT in your browser.