Results 1 to 7 of 7
Playing around with a perl script that looks at syslog messages I've borrowed and heavily broken and reused over the years. One of the functions in it is that it ...
- 06-17-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 23
SendMail In Redhat 10
Playing around with a perl script that looks at syslog messages I've borrowed and heavily broken and reused over the years. One of the functions in it is that it sends you an email via sendmail. Recently tried getting this working in fedora 10, and the paths for send mail don't seem to be working:
Can't locate Mail/ sendmail.pm in [at symbol] INC
Happy to sit there and try and get sendmail working, but is there some new toy in fedora 10 I should be aware of? If anyone one has any pointers I'd appreciate it.
Cheers
- 06-18-2009 #2Just Joined!
- Join Date
- Feb 2009
- Posts
- 23
Okay, looks like Fedora is still using sendmail. Was concerned that it might be using something else. Had just walked away from rsyslog and was concerned I'd be trying alphabet letters before send mail =p
So I'm now looking for the path to sendmail.pm to put in a use lib qw(the/path);
sendmail and perl are both there. It's the perl module that is throwing me. My problem seems to be when doing a find / -name "sendmail.pm" I'm finding nothing there. I *thought* the perl modules with libs were still named .pm once you'd used cpan. So tried poking around and downloaded and installed it manually. But still no joy.
- 06-18-2009 #3
One useful link about sendmail :
Quick HOWTO : Ch21 : Configuring Linux Mail Servers - Linux Home Networking- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-18-2009 #4Just Joined!
- Join Date
- Feb 2009
- Posts
- 23
Cheers Lakshmipathi - I'l stumble through that, should point out the obvious I'm missing. Much appreciated.
- 06-19-2009 #5
Would you please explain where you got stuck.?
Please make sure your have required sendmail packages. Post your logs or outputs ,so that people here can understand your problem,more clearly.
I have some experience with sendmail and php , not perl.
Even for php+sendmail , first i trid to make sure sendmail works well from command line.
php website just uses the sendmail from front end,so making sure sendmail configured correctly will help a lot.- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 07-02-2009 #6Just Joined!
- Join Date
- Feb 2009
- Posts
- 23
Finally got this working last night after bashing my head against a wall. Wasn't sendmail or sendmail.pm. It was my script - it was calling sendmail.pm, where as it should have been Sendmail.pm.
- 07-02-2009 #7
Glad you finally got itIt was my script - it was calling sendmail.pm, where as it should have been Sendmail.pm.
yes,from time to time - we do make some silly mistakes and searching for a solution all around the world
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote