toaster + freebsd 4.7 = tons of problems

Started by drfindley, February 08, 2004, 03:07:35 AM

Previous topic - Next topic

drfindley

I have had many, many problems trying to work through the toaster (begining with toaster_setup -s pre), and I would love to be able to completely remove qmail / vpopmail / courier-imap so I can start again, but I know there are a bunch of hidden things.   Does anyone know how to clean things out?

Here are some things I had a problem with:
Perl (5.6.1.15) could never find mysql.pm or DBI.pm.  I made symbolic link to the files so they'd be in the right place, but it still couldn't find them.  When I copied the files, toaster_setup foudn them, but it gave me some errors.

Pre failed with the autoscanner on setup.  FreeBSD installed the port just fine, but toaster failed to recognize it, and I couldn't figure out how to appease it.

vpopmail had trouble authenticating to my mail server, etc.  I don't know if these are known errors, I look through the mailing list, and although I had some almost similar issues,  nothing really matched the errors I was having.  Any ideas? (probably the DBI thing is the most important)

matt

#1: Why are you installing on FreeBSD 4.7?   You'd be much better of using 4.9 as many bugs and security problems have been fixed since then.

#2: Make sure your ports tree is up to date. I'd venture to guess that's where the majority of your problems are. If you were starting with a newer FreeBSD, youd have a newer version of the ports tree installed. Since you don't, use cvsup and get the ports tree updated. I think you'll have much better luck after that.

#3: Nothing is "hidden". Most of the packages are registered in FreeBSD ports tree as they are installed. The few that aren't are qmail (in /var/qmail) and vpopmail (in ~vpopmail).

drfindley

Well, sorry if my last post seemed like a flame, I was up really late and frustrated to boot.

The reason why I am using 4.7 is this is not a new install. Also, I don't have full control over certain parts of the server (such as the ports directory), so I had to create new ports direcotry and install from there the things that didn't work from the toaster_setup.pl.  It was quite a hasle, but after several more hours,  most  of the problems stemmed from my server's specail settings, and some broken ports, and some packages not registering in pkg_info (like auotresponder version 2.03-2..05).

Also I had to competely remove my previous courier-imap, and that was tricky, because it's located in like 5 places unlike vpopmail or qmail

Thanks for you help Matt, sorry if I sounded angry.  

I just have one last problem, I can't get my computer to remotely send mail.  I have followed the mail test page and got this:  I can telnet locally to pop3 and smtp, etc, but I can't connect remotely to smtp for some reason.  I just get rejected without a prompt.  This is waht I get from the mail server:
    Connecting To
mail.server.com...Could not open connection to the host, on port smtp: Connect failed
[/list:u]
I can connect remotely via pop3 though. Any Ideas?

Thanks,
Adam

adam

What does your smtp log file say?  Any error messages present in the logs that would help pin point the problem?

drfindley

My logs are vague, if not existant  here are two sample lines that are identical to everything else I see.  I've changed the IP's so I don't accidently post something sensitive, but all of the RBL by rbl.cluecentral.net are the same and all the Dynamic IP Address ones are different.  But none of them are my local machine (which maillog picks up when I log in via Horde).

@40000000402b18610d7ff0b4 rblsmtpd: 123.45.67.89  pid 86320: 451 Dynamic IP Address See: http://www.dnsbl.sorbs.net/cgi-bin/lookup?IP=123.45.67.89" target="_blank">http://www.dnsbl.sorbs.net/cgi-bin/lookup?IP=123.45.67.89

@40000000402b2b4722c24ecc rblsmtpd: 123.45.67.89 pid 5144: 451 RBL by rbl.cluecentral.net

Also, when I attempt to send an email, my smtp log doesn't grow, so I don't think it has anything to do with RBL's.

Thanks,
drfindley