Re: [courier-users] SMTP auth and the From header

This is a discussion on Re: [courier-users] SMTP auth and the From header within the Courier-Imap forums, part of the Mail Servers and Related category; On Fri, Feb 16, 2007 at 02:58:48AM -0600, Otto Solares wrote: > On Fri, Feb 16, 2007 at ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2007
Otto Solares
 
Posts: n/a
Default Re: [courier-users] SMTP auth and the From header

On Fri, Feb 16, 2007 at 02:58:48AM -0600, Otto Solares wrote:
> On Fri, Feb 16, 2007 at 12:30:33AM -0600, Otto Solares wrote:
> > On Thu, Feb 15, 2007 at 09:47:19PM -0800, Gordon Messmer wrote:
> > > Otto Solares wrote:
> > > >
> > > > I am a happy courier-mta user for a long time, I'm using it in
> > > > a large University (60k users), now we are facing a problem
> > > > where users connect to SMTP with authentication in order to
> > > > send a mail (we don't allow sending email without auth) and
> > > > some users are changing the From: header, it is possible to
> > > > tell courier so it'll check the From: header to conform to
> > > > the auth user?
> > >
> > > No, but you could write a courierfilter to do that. Frameworks for
> > > Python and Perl exist, if you're comfortable with either of those languages.

> >
> > Excellent! Although I am not versed in perl here is my first
> > filter attempt, dunno why it doesn't work, when printing
> > (for debugging) any message->* variable, all the message is
> > shown. Does somebody knows what I am missing?

>
> Finally it works, this just checks that MAIL FROM conforms to
> the AUTH LOGIN, hopefully next version will check the From:
> header too as originally intended as I presume this is
> insufficient for my purposes. Thanks.


To close this thread I succesfully solve my original problem
writing a courier-filter-perl module which I have being using
for several days without a problem, it have being improved over
this days so the one posted here is outdated, for future
reference I plan to mantain it here:

http://home.galileo.edu/~solca/contr...ailFrom.pm.txt

-otto

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:06 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0