LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-09-2006, 12:26 PM   #1
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
sql lookups in sendmail


All I found regarding the topic is a (possibly dormant?) sendmail-sql project in Sourceforge and some talk about socketmap, whatever that is. Can anyone shed some light on the topic, namely, Is it possible for Sendmail to do SQL lookups?
 
Old 01-09-2006, 01:09 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Berhanie
All I found regarding the topic is a (possibly dormant?) sendmail-sql project in Sourceforge and some talk about socketmap, whatever that is. Can anyone shed some light on the topic, namely, Is it possible for Sendmail to do SQL lookups?
Can you please elaborate on what you mean exactly?


Cheers,
Tink
 
Old 01-09-2006, 01:40 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
For example, one might do an SQL lookup for an alias, instead of querying a local hash table. Similarly, an SQL query might be used to determine whether or not an address is a valid recipient address.
 
Old 01-09-2006, 02:15 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
http://blue-labs.org/software/sm-pgsql/

Does this satisfy your needs?


Cheers,
Tink
 
Old 01-09-2006, 04:20 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
Yes, thank you, Tinkster. That's what I was looking for. Unfortunately, it's an old patch (for sendmail 8.12.7), like the one in SourceForge. Also, the recent sendmail on Gentoo doesn't support the smpgsql USE flag mentioned in the article, as far as I can see. I guess the SQL capability is still only available in disparate patches, and is not part of standard sendmail. Thank you for you input.
 
Old 01-09-2006, 04:34 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
http://www.dbmail.org/index.php?page=overview

Does a bit more than you asked for, but ...


Cheers,
Tink
 
Old 01-09-2006, 06:23 PM   #7
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
Interesting. This is mail storage in a database (a bit different from what I was asking about). Thanks for your interest and persistence.
 
Old 01-09-2006, 06:25 PM   #8
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Original Poster
Rep: Reputation: 165Reputation: 165
What I'm really after is the Sendmail equivalent of this, if it exists.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse Lookups abhijeetudas Linux - Networking 1 10-18-2005 01:20 PM
sendmail dns lookups davidsrsb Linux - Networking 1 06-09-2005 09:35 PM
Migrating from MS-SQL server to My-SQL emailssent Linux - Networking 2 02-07-2005 02:20 PM
Which SQL is suitable for EMbedded SQL on C? hk_michael Programming 4 01-10-2005 05:07 PM
Allow DNS lookups through ipchains? ifm Linux - Security 4 08-09-2002 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:30 AM.

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
Open Source Consulting | Domain Registration