Old 30th August 2011, 10:31
nbhadauria nbhadauria is offline
Join Date: Aug 2010
Location: New Delhi, India
Posts: 79
Thanks: 1
Thanked 13 Times in 13 Posts
Send a message via Skype™ to nbhadauria
Default Qmail ldap SENDERCHECK patch

Hello all,

I have a Qmail ldap setup just as i posted here http://www.howtoforge.com/qmail-openldap-on-ubuntu .

In this setup i am using following restriction.


But after all these restriction i have a problem ..


I have two users in my domain abc and xyz. If user abc is authenticated and then try to send mail from xyz there is not restriction for that..

nitin@mail:~$ telnet mailserver 25
Trying mailserver...
Connected to mailserver.
Escape character is '^]'.
220 mail.domain.com ESMTP
235 nice to meet you
mail from: xyz@domain.com
250 ok

Which can be found in logs and report the user but there is no option to restriction at our end.

So have made some changes in SENDERCHECK functionality, If we have set the SENDERCHECK="STRICT" it will definitely check that mail from address is available in your ldap database but it also check that users mail from address it equal to authenticated user id.

Who it work

1. We need to run the patch on source code and recompile the qmail.
2. Then we have to configure a new variable "AUTHDOM" in tcp.smtp .
ex. SENDERCHECK="STRICT",AUTHDOM="mydefaultdomain.com"

Still to work..

It only work for Qmail Ldap setup with single domain and you are using user-id for authentication (not mail-id).

Need to modify patch to work with virtual environment.
Attached Files
File Type: txt qmail-ldap-1.03_sendercheck.patch.txt (2.0 KB, 106 views)
Reply With Quote
The Following User Says Thank You to nbhadauria For This Useful Post:
falko (31st August 2011)
Sponsored Links


ldap, nitin, patch, qmail, sendercheck

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA LDAP issue after completing CentOS 5.x Samba Domain Controller With LDAP tygerlilyjp Server Operation 0 3rd June 2011 18:38
smbldap-populate erro kashikar.harsh Installation/Configuration 1 11th March 2010 08:05
I Fail at installing ispconfig where did I go wrong? stocker741 Installation/Configuration 14 30th October 2008 15:12
LDAP Problem pinguingilo Installation/Configuration 4 22nd December 2007 22:32
Limit mysql database size ddelbia Feature Requests 14 25th April 2006 22:42

All times are GMT +2. The time now is 15:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.