LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2003, 12:32 PM   #1
jglazner
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
pop-before-smtp error


HELP ME PLEASSSEEEE SOMEONE ANYONE GIVE ME A SUGGESTION OR SOMETHING

Here is the problem, yesterday I installed on my web/email server pop-before-smtp and had no problems. now today i go to install it on my company's e-mail server to make it secure for our field agents to send mail through it, and i have big problems. I did exactly what i did yesterday on RH9 with the exception of the perl module DB_File which could not be installed via cpan instead i installed it from an rpm i found on the rh8 cd. so, now i'm getting this error when i start:


could not parse # at /usr/sbin/pop-before-smtp line 140
Use of uninitialized value in exists at /usr/lib/perl5/site_perl/5.8.0/Net/Netmask.pm line 247.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.0/Net/Netmask.pm line 247.
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.0/Net/Netmask.pm line 247.
at /usr/lib/perl5/site_perl/5.8.0/Net/Netmask.pm line 406
Net::Netmask::imaxblock('undef',0) called at /usr/lib/perl5/site_perl/5.8.0/Net/Netmask.pm line 400
Net::Netmask::maxblock('Net::Netmask=HASH(0x83c7cc8)') called at /usr/lib/perl5/site_perl/5.8.0/Net/Netmask.pm line 249
Net::Netmask::storeNetblock('Net::Netmask=HASH(0x83c7cc8)') called at /usr/sbin/pop-before-smtp line 140


please help me. i keep bosting about how much better linux is than windows to my boss but it looks really bad when things like this happen.

thanks in advance jed.
 
Old 12-13-2003, 01:06 AM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
How about writing your own bash script to do pop-before-smtp?
Basically it is nothing but grepping out IP addresses from /var/log/messages and adding them to /etc/mail/access.
I wrote my own script and it works like a charm. The only limitation is that it is run in each minute as a cron job, so access is granted max. 1 minute after successful POP login.

If this will do, and you use sendmail, I can help you in writing your own script. To do so, post a POP login line from your messages file (naturally masquerading your own domain and IP address).

Last edited by J_Szucs; 12-13-2003 at 01:31 AM.
 
Old 12-17-2003, 04:59 AM   #3
Psykoral
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Rep: Reputation: 0
This is exactly what Im looking to do!!!! (I just posted this lol http://www.linuxquestions.org/questi...hreadid=126574 )

I'd be very greatful for any help you can provide. I have Shorewall running on my box writting to my var/log/messages so its rather jumbeld... can you post an example of what I should be looking for?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pop before smtp ilnli Linux - Networking 16 09-22-2005 07:53 AM
Need SMTP server only, no POP. apsn Linux - Networking 2 06-24-2005 10:24 AM
best smtp/pop software? spatieman Linux - Software 1 12-11-2004 03:23 PM
problem with pop-before-smtp ollio Linux - Software 2 08-24-2003 09:12 AM
Pop Smtp mjshel7 Linux - General 1 05-24-2002 07:29 AM


All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration