Moshe Gurvich | 1 Apr 12:28 2004

how to get recipient email id in maildroprc?

Hi, I'm trying to use spamc instead of spamassassin in maildroprc with 
virtual users.

The only way i found to get virtual user id is from $HOME variable,
which is in format: /home/virtual/domain/user

$HOME =~ /\/[^\/]+\/.+$/
EMAILID="$MATCH2 <at> $MATCH1"
xfilter "spamc -u $EMAILID"

But $EMAILID becomes just " <at> " - how to do it right? Is there any other
solution?

Thanks..

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Satpal Ramgadia | 3 Apr 11:57 2004
Picon

Postfix+Courier-imap+openldap+squirrelmail+jamm how to maildrop with this setup

Hi All,

My current setup is as follows :

PCQLinux 2004 (Fedora core 1)

Postfix installed from source code -
postfix-2.0.19.tar.gz
Courier-IMAP - courier-imap-3.0.2-1.1
Squirrelmail - squirrelmail-1.4.2-1 rpm installation
OpenLDAP - openldap-2.1.22-8
Jamm - jamm-0.9.6
procmail-3.22-11

To install above i have used following link and done
as per the
documentation :

http://jamm.sourceforge.net/howto/html/index.html

I have successfully configured Mail Server for virtual
users and its 
working
nice.
I want to add disk quota functionality so that when
the user logs in he 
can
able to see his/her quota consumption in squirrelmail
( all users have
squirrelmail access to check mails no shell account).
(Continue reading)

p dont think | 3 Apr 13:51 2004

Re: Postfix+Courier-imap+openldap+squirrelmail+jamm how to maildrop with this setup

> 1)
> http://www.inter7.com/courierimap/README.maildirquota.html
> 2) http://www.squirrelmail.org/plugin_view.php?id=125
>
> on above 1) link i couldnt understood where i have to
> specify "|
> /usr/local/bin/deliverquota ./Maildir 1000000S" in
> postfix or courier-imap
> or where? bcause the example show there is for qmail.

do some more reading.  you'll most likely want to set it up in your
maildroprc file as a field read from LDAP.  you'll see quota information
in your spool directories when you get it working

> I have installed Squirrelmail plugin that also is not
> working
> i have configured plugin using conf.pl
> 8 > and choosing plugin noto activated in my case 17 >
> s > q
> httpd damon restarted serverl times.

This is better for your case:
http://www.squirrelmail.org/plugin_view.php?id=59

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
(Continue reading)

Tony Earnshaw | 3 Apr 14:12 2004
Picon

Re: Postfix+Courier-imap+openldap+squirrelmail+jamm how to maildrop with this setup

lør, 03.04.2004 kl. 11.57 skrev Satpal Ramgadia:
[...]

> I was instructed to use following links to do so but i
> found this is not
> enough to have disk quota enabled for virtual users
> 
> 1)
> http://www.inter7.com/courierimap/README.maildirquota.html
> 2) http://www.squirrelmail.org/plugin_view.php?id=125
> 
> on above 1) link i couldnt understood where i have to
> specify "|
> /usr/local/bin/deliverquota ./Maildir 1000000S" in
> postfix or courier-imap
> or where? bcause the example show there is for qmail.

I hope this can help you somewhat, because I'm doing things from an LDAP
angle and you're using MySQL, but the principle's the same. I have:

Postfix 2.0.19 snapshot
Courier IMAP 3.0.1
maildrop 1.6.3
SquirrelMail 1.4.2
Openldap 2.2.8
Courier-based virtual disk quotas

I do not have:

SquirrelMail quota plugin
(Continue reading)

Tony Earnshaw | 3 Apr 14:31 2004
Picon

Re: Postfix+Courier-imap+openldap+squirrelmail+jamm how to maildrop with this setup

lør, 03.04.2004 kl. 14.12 skrev Tony Earnshaw:

> I hope this can help you somewhat, because I'm doing things from an LDAP
> angle and you're using MySQL, but the principle's the same. I have:

Sorry, I'd somehow got it into my head that you were using MySQL; now I
see you aren't. Anyway, now you have the chance to use LDAP - It's even
better at this sort of thing :)

--Tonni

--

-- 

mail: billy - at - billy.demon.nl
http://www.billy.demon.nl

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
Ron Johnson | 5 Apr 12:52 2004
Picon
Picon

testing


--

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson <at> cox.net
Jefferson, LA USA

Welfare Democracies will only work, in the long term, if the
"recipients" of the wealth given to them by the earners use that
wealth to become earners themselves. Unfortunately, only a small
% of "recipients" seem to be availing themselves of the
opportunity.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Flora Dru | 5 Apr 15:33 2004

Command output: Invalid user specified Error

Hi, PLEASE HELP 

I've a working postfix+courierimap+mysql+amavisd setup handling vitural 
users. I want to incoorporate maildrop to handle quotas + autorespond. 

I've setup maildrop as adviced in th MAILDROP_README in postfix, with the 
user running maildrop owning the user mailboxes. 

1. Maildrop configuration.
./configure --enable-maildirquota --enable-maildropmysql --with-trashquota 
 --enable-maildrop-uid=507 --enable-maildrop-gid=507 
 --with-mysqlconfig=/etc/maildrop/maildropmysql.config  
 --enable-restirct-trusted=0 --enable-trusted-users='popmail root' 
 --enable-trusted-
groups='popmail wheel' 

2.master.cf maildrop configuration is
maildrop  unix  -       n       n       -       -       pipe
 flags=DRhu user=popmail argv=/usr/local/bin/maildrop -d ${recipient} 

3.my transport for the test domain in the mysql DB is
bedrock.test.com maildrop: 

4. the user mailboxes are owned by the maildrop user (popmail)
ls -l /home/popmail/
drwx------    4 popmail  popmail       128 Apr  5 12:24 bedrock.test.com 

5. ls -l /usr/local/bin/maildrop
 -rwxr-xr-x    1 popmail  popmail   1132706 Apr  5 12:19 
/usr/local/bin/maildrop  (I even tried with owner root.wheel but it din't 
(Continue reading)

Picon

help making a mail redirect...

hello what i want to do is the following:
when user "foo" receives a mail, a copy of the mail is sent to "bar".

im doing this to read everyone's mail, to see if everything is related 
to the company.
its kind a mail "watcher".
sorry for my poor english.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
Sam Varshavchik | 7 Apr 00:51 2004

Re: help making a mail redirect...

Christiano Farina Haesbaert writes:

> hello what i want to do is the following:
> when user "foo" receives a mail, a copy of the mail is sent to "bar".
> 
> im doing this to read everyone's mail, to see if everything is related 
> to the company.
> its kind a mail "watcher".

This is not maildrop's job.  This is a job for your mail server.

Check your mail server's documentation.

Flora Dru | 8 Apr 09:20 2004

Command output: Invalid user specified Error (fwd)

Does anyone have an idea what my problem could be (see below)? I noticed 
that maildrop does not check the mysql database for the user, even though a 
mysql user has been created for maildrop and works fine. Please halp, am 
really stuck. 

thanks 

Hi, PLEASE HELP 

I've a working postfix+courierimap+mysql+amavisd setup handling vitural 
users. I want to incoorporate maildrop to handle quotas + autorespond. 

I've setup maildrop as adviced in th MAILDROP_README in postfix, with the 
user running maildrop owning the user mailboxes. 

1. Maildrop configuration.
./configure --enable-maildirquota --enable-maildropmysql --with-trashquota 
 --enable-maildrop-uid=507 --enable-maildrop-gid=507 
 --with-mysqlconfig=/etc/maildrop/maildropmysql.config  
 --enable-restirct-trusted=0 --enable-trusted-users='popmail root' 
 --enable-trusted-
groups='popmail wheel' 

2.master.cf maildrop configuration is
maildrop  unix  -       n       n       -       -       pipe
flags=DRhu user=popmail argv=/usr/local/bin/maildrop -d ${recipient} 

3.my transport for the test domain in the mysql DB is
bedrock.test.com maildrop: 

(Continue reading)


Gmane