bug-mailfromd


Search for: Advanced

[Bug-mailfromd] 'From' relay check after auth


Hi Sergey,

I have had this on my mind for quite some time now. I thought it would be best to solve this in sendmail as it has already access to the ldap server. But I can't get anywhere with such limited resources/support. I am also not sure if it possible to make 'custom queries' as my lookups are in a different cluster map id. In and outgoing are separate.

Basically I want to restirct users that authenticate so they can only relay messages with one of the configured/assigned 'From' addresses they are receiving email on. 

How should I approach this with mailfromd? Obviously I can just run a cron job and try to created some db file that mailfromd reads, are there other options?