Re: [vchkpw] vpopmail and postfix

2007-08-25 Thread Christopher Chan

Quey wrote:

Rick,
I did not bother to read the guys second post once I got as far as 
outblaze as that said enough, however,  how can anything to do with 
vpopmail be OT ? I had a private email from Wietse  overnight showing me 
a work around, my only concern about postfix using mysql to auth user 
and get the dir for maildir how was it knowing/creating the users dir if 
not using any vpopmails utils adding users, since we do by direct INSERT 
into mysql where initially P/F would have no clue to its name where to 
put the mail, I have my answer so I don't need to carry on with this 
thread, however the point is vpopmail is a powerful pop3d, therefor 
getting any MTA to co-operate with it, I would have thought would be 
on topic, are you saying we can only discuss vpopmail and qmail related 
issues? Not being sarcastic,  just inquiring as why you are limiting 
discussions, I am fully aware of your alliances with qmail, is this the 
reason? As I would have thought the wider available usage the better, 
perhaps this is why google shows no help.


Authenticating the user should be the least of your problems. The real 
problem is trying to get postfix provided delivery agents to work. I do 
not bother. it is either hand off to qmail or use maildrop.


Setup 1) postfix + maildrop + courier-auth + vpopmail + mysql (no qmail 
local delivery therefore no dot-qmail)


point virtual_mailbox_domains  to /var/qmail/control/rcpthosts
use virtual_mailbox_maps to look up users in mysql
set virtual_transport to maildrop (entry must be in master.cf)
limit maildrop transport to one recipient only.

The challenge will be getting courier-auth to compile against vpopmail 
and then getting maildrop to compile against courier-auth.




Setup 2) postfix + mysql + qmail + vpopmail + vdelivermail trick as 
listed on vpopmail postfix.txt file.


I did this differently but the above should work and is better for setup 
1 is a refinement over my first version of setup 2. the only changes 
will be the virtual_transport = vdelivermail and you get to keep 
dot-qmail capability.


I have not looked at a vpopmail + cdb backend but you are smart and 
should have no problems figuring that out.


Have fun.


Re: [vchkpw] vpopmail and postfix

2007-08-25 Thread Christopher Chan


  has anyone actually got postfix to work with vpopmail using the 
current stable release?


I have and it would have been documented here if I had actually got 
round to completing it.


http://wiki.centos.org/HowTos/vpopmail



Not that I know of.  Vpopmail is tightly integrated with qmail, and 
making it work with another mail server is probably easiest if you just 
start from scratch.


Certainly if you want to keep the qmail way of doing things.



This thread looks more like a sendmail vs. postfix rant to me...  It 
does not belong here.




If he had just keep his trap shut about sendmail versus postfix I would 
not have felt necessary to say anything about it since I know sendmail, 
postfix and qmail and I do not like people jammering about this is the 
best and the rest are crap when they all have their strengths and 
weaknesses.


Re: [vchkpw] vpopmail and postfix

2007-08-24 Thread Quey

Christopher Chan wrote:


I think it is your subconscious dislike of postfix that is preventing 
you from exploring postfix and really make full use of its capabilities.




possibly,  it may have a lot to do with all the postfix spammers,  oh 
why use sendmail piss it off use postfix its better, kind of like the 
rest of the spam we all been getting for years mines bigger than yours 
... well sorry, I disagree I have run it before and i find sendmail just 
as or more flexible, but I admit it is each to our own, I only wish 
sendmail natively supported maildir without messy use of maildrop.


incidently I also have manage large networks, one recently a top 5 
national telco in my country so your 30 million email blah blah doesnt 
astound me or shock me, it is however rather typical of the snotty nosed 
postfix spammers. I'll use cyrus with sendmail over postfix anyday,  and 
since you have contributed nothing of consequence to this thread your 
opinion means as much to me as the kid who lives next door that runs his 
works 3 person exchange server.


My interest was in not having to change the current setup where I am 
now, which as I said is fed by bunch of sendmail servers that handle the 
job well, I was just exploring other possibilities, where I am now we 
certainly will not move from vpopmail because all that data on those 
FAS6000's would be a nightmare if something went wrong, and I'm very 
happy with vpopmail, its very effcient and fast.



cheers



Re: [vchkpw] vpopmail and postfix

2007-08-24 Thread Christopher Chan

Quey wrote:

Christopher Chan wrote:


I think it is your subconscious dislike of postfix that is preventing 
you from exploring postfix and really make full use of its capabilities.




possibly,  it may have a lot to do with all the postfix spammers,  oh 
why use sendmail piss it off use postfix its better, kind of like the 
rest of the spam we all been getting for years mines bigger than yours 
... well sorry, I disagree I have run it before and i find sendmail just 
as or more flexible, but I admit it is each to our own, I only wish 
sendmail natively supported maildir without messy use of maildrop.


You are free to hit Spam-L and call Outblaze spammers. I do not work for 
them any more but I dare say you will be run of the list. It is really 
strange that you start off with 'postfix spammers'. In my over three 
years of fighting bounce floods from joe-jobs, fighting scripters and 
419 scammers, I have never seen postfix as part of the problem. There 
has not been one remotely exploitable root hole in postfix but as for 
sendmail, I have had to patch, recompile and reinstall sendmail at least 
4 occasions in my first year with Outblaze before I had to rip it out 
and replace it with postfix. I ripped sendmail out, not because of the 
need to patch security holes, but because the mysql patch was hammering 
our mysql servers into the ground so I guess I cannot blame sendmail 
itself on that score but I do believe I can lay part of the spam blame 
at sendmail for its insecure code since not all 'admins' out there 
maintain their servers properly. Just recently I had to tell one 'admin' 
to seriously reconsider not using Redhat 9 and the sendmail that comes 
on disk.


Unless you use milter, there is no way sendmail is more flexible than 
postfix. As an example, if you can come up with a sendmail ruleset that 
incorporates both sender and recipient into its consideration, I take 
that back. I will accept and I did say that sendmail gives you more 
control due to its rulesets but I disagree on flexibility. Of course, 
one would now just pass on all this stuff to a milter and forget about 
driving yourself crazy with sendmail rulesets.


procmail supports maildir...but yes, it is hard to get a virtual mail 
solution ala vpopmail.




incidently I also have manage large networks, one recently a top 5 
national telco in my country so your 30 million email blah blah doesnt 
astound me or shock me, it is however rather typical of the snotty nosed 
postfix spammers. I'll use cyrus with sendmail over postfix anyday,  and 
since you have contributed nothing of consequence to this thread your 
opinion means as much to me as the kid who lives next door that runs his 
works 3 person exchange server.


OH, you do not want to know how to get postfix to check for mailbox 
existence at smtp time? Okay.




My interest was in not having to change the current setup where I am 
now, which as I said is fed by bunch of sendmail servers that handle the 
job well, I was just exploring other possibilities, where I am now we 
certainly will not move from vpopmail because all that data on those 
FAS6000's would be a nightmare if something went wrong, and I'm very 
happy with vpopmail, its very effcient and fast.




No way did I imply moving away from vpopmail. Why build your own when 
vpopmail does such an excellent job of it?


In both setups, use of vpopmail tools is basically all that needs 
running to configure postfix after the main postfix configuration is 
done. If vpopmail does not have that domain or that user, it is get lost 
at RCPT TO.


What are you using for your backend? mysql or cdb? Did your sendmail 
bigot of a mind prevent you from seeing that postfix can directly use 
vpopmail user databases for user existence checking? I have done a cdb 
patch for sendmail if you want to continue to use sendmail but it was 
done for sendmail 8.12.7 so I guess it probably needs updating...


Re: [vchkpw] vpopmail and postfix

2007-08-24 Thread Rick Widmer

And this has what to do with vpopmail?

This is a VPOPMAIL list, not a sendmail list, or a postfix list.  I 
don't mind qmail questions here, but this is way too far off topic to 
continue.


Rick



Christopher Chan wrote:

Quey wrote:

Christopher Chan wrote:


I think it is your subconscious dislike of postfix that is preventing 
you from exploring postfix and really make full use of its capabilities.




possibly,  it may have a lot to do with all the postfix spammers,  oh 
why use sendmail piss it off use postfix its better, kind of like the 
rest of the spam we all been getting for years mines bigger than 
yours ... well sorry, I disagree I have run it before and i find 
sendmail just as or more flexible, but I admit it is each to our own, 
I only wish sendmail natively supported maildir without messy use of 
maildrop.


You are free to hit Spam-L and call Outblaze spammers. I do not work for 
them any more but I dare say you will be run of the list. It is really 
strange that you start off with 'postfix spammers'. In my over three 
years of fighting bounce floods from joe-jobs, fighting scripters and 
419 scammers, I have never seen postfix as part of the problem. There 
has not been one remotely exploitable root hole in postfix but as for 
sendmail, I have had to patch, recompile and reinstall sendmail at least 
4 occasions in my first year with Outblaze before I had to rip it out 
and replace it with postfix. I ripped sendmail out, not because of the 
need to patch security holes, but because the mysql patch was hammering 
our mysql servers into the ground so I guess I cannot blame sendmail 
itself on that score but I do believe I can lay part of the spam blame 
at sendmail for its insecure code since not all 'admins' out there 
maintain their servers properly. Just recently I had to tell one 'admin' 
to seriously reconsider not using Redhat 9 and the sendmail that comes 
on disk.


Unless you use milter, there is no way sendmail is more flexible than 
postfix. As an example, if you can come up with a sendmail ruleset that 
incorporates both sender and recipient into its consideration, I take 
that back. I will accept and I did say that sendmail gives you more 
control due to its rulesets but I disagree on flexibility. Of course, 
one would now just pass on all this stuff to a milter and forget about 
driving yourself crazy with sendmail rulesets.


procmail supports maildir...but yes, it is hard to get a virtual mail 
solution ala vpopmail.




incidently I also have manage large networks, one recently a top 5 
national telco in my country so your 30 million email blah blah doesnt 
astound me or shock me, it is however rather typical of the snotty 
nosed postfix spammers. I'll use cyrus with sendmail over postfix 
anyday,  and since you have contributed nothing of consequence to this 
thread your opinion means as much to me as the kid who lives next door 
that runs his works 3 person exchange server.


OH, you do not want to know how to get postfix to check for mailbox 
existence at smtp time? Okay.




My interest was in not having to change the current setup where I am 
now, which as I said is fed by bunch of sendmail servers that handle 
the job well, I was just exploring other possibilities, where I am now 
we certainly will not move from vpopmail because all that data on 
those FAS6000's would be a nightmare if something went wrong, and I'm 
very happy with vpopmail, its very effcient and fast.




No way did I imply moving away from vpopmail. Why build your own when 
vpopmail does such an excellent job of it?


In both setups, use of vpopmail tools is basically all that needs 
running to configure postfix after the main postfix configuration is 
done. If vpopmail does not have that domain or that user, it is get lost 
at RCPT TO.


What are you using for your backend? mysql or cdb? Did your sendmail 
bigot of a mind prevent you from seeing that postfix can directly use 
vpopmail user databases for user existence checking? I have done a cdb 
patch for sendmail if you want to continue to use sendmail but it was 
done for sendmail 8.12.7 so I guess it probably needs updating...





Re: [vchkpw] vpopmail and postfix

2007-08-24 Thread Quey

Rick,
I did not bother to read the guys second post once I got as far as 
outblaze as that said enough, however,  how can anything to do with 
vpopmail be OT ? I had a private email from Wietse  overnight showing me 
a work around, my only concern about postfix using mysql to auth user 
and get the dir for maildir how was it knowing/creating the users dir if 
not using any vpopmails utils adding users, since we do by direct INSERT 
into mysql where initially P/F would have no clue to its name where to 
put the mail, I have my answer so I don't need to carry on with this 
thread, however the point is vpopmail is a powerful pop3d, therefor 
getting any MTA to co-operate with it, I would have thought would be 
on topic, are you saying we can only discuss vpopmail and qmail related 
issues? Not being sarcastic,  just inquiring as why you are limiting 
discussions, I am fully aware of your alliances with qmail, is this the 
reason? As I would have thought the wider available usage the better, 
perhaps this is why google shows no help.


If you feel a reply is warranted (even off list is fine), else this was 
my last word on the matter.


Q


Rick Widmer wrote:

And this has what to do with vpopmail?

This is a VPOPMAIL list, not a sendmail list, or a postfix list.  I 
don't mind qmail questions here, but this is way too far off topic to 
continue.


Rick




Re: [vchkpw] vpopmail and postfix

2007-08-24 Thread Rick Widmer



Quey wrote:

[taken out of order...]

 If you feel a reply is warranted (even off list is fine), else this
 my last word on the matter.

Sorry you got caught up in this...  Here is the answer I wish I would 
have posted long ago.  I've been busy with other things...


[from the first message in this thread]
snip

 has anyone actually got postfix to work with vpopmail using the 
current stable release?


Not that I know of.  Vpopmail is tightly integrated with qmail, and 
making it work with another mail server is probably easiest if you just 
start from scratch.


If you have any vpopmail related questions, please start a new thread...


I did not bother to read the guys second post once I got as far as 
outblaze as that said enough, however,  


I did.  It is the message I replied to.


 how can anything to do with vpopmail be OT ?
 I would have thought would be on topic, are you saying we can only
 discuss vpopmail and qmail related issues?

No, but I expect to see more vpopmail content than argument about 
sendmail or postfix.  Vpopmail does not support either of them.


Postfix - used 20 times

Sendmail - used 17 times

vpopmail - used 8 times

qmail - used 2 times

This thread looks more like a sendmail vs. postfix rant to me...  It 
does not belong here.




I am fully aware of your alliances with qmail, is this the reason?


I have no alliance with qmail, but I do subscribe to its list.  Vpopmail 
was written as a virtual domain system for qmail long before I started 
using it.  It is tightly integrated with qmail from top to bottom.  If 
you, or anyone else, want to submit patches to make it work with another 
mail system, they will be considered.  Do not underestimate the effort 
this will take.


Rick


Re: [vchkpw] vpopmail and postfix

2007-08-23 Thread Christopher Chan

Quey wrote:

Hi All,

Currently we have a large setup of domains and users, we have a couple 
of qmail boxes, which are fed by front line sendmail boxes, since its a 
sinch to have all todays modern anti-spam and whatever else, this way 
qmail machines only ever see real email (apart from answering a sendmail 
milter question for users existence,  as much as I detest postfix, it 
has close to the same capabilites as our sendmails, and is apprently 
capable of working with vpopmail, I have followed the  postfix.txt file, 
however it does not work, it does not deliver mail to the user, it 
blindly accepts mail for non existent users (who knows what it does with 
it anyway since it doesn't deliver to users that do exist) so has anyone 
actually got postfix to work with vpopmail using the current stable 
release? If so did you run into this problem, any hints? or is it my 
subconcious dislike of postfix that made me overlook something :)?




Detest sendmail? I frigging got rid of the custom mysql table enabled 
sendmail when it started killing the system due to a minimum three month 
long bounce flood and replaced it with postfix in 2003 when I work for a 
service provider that manages over 30 million mailboxes and handles 200 
million email transactions on average daily. postfix has far more 
flexibility in its rules although less power/control than sendmail rulesets.


As for integrating postfix with vpopmail, I have setup two different 
systems. In the first one, qmail will do the final delivery and so 
dot-qmail is in effect. In the second system, qmail is all but 
eliminated. Local delivery is handled by postfix but dot-qmail 
capabilities were lost.


I think it is your subconscious dislike of postfix that is preventing 
you from exploring postfix and really make full use of its capabilities.


[vchkpw] vpopmail and postfix

2007-08-21 Thread Quey

Hi All,

Currently we have a large setup of domains and users, we have a couple 
of qmail boxes, which are fed by front line sendmail boxes, since its a 
sinch to have all todays modern anti-spam and whatever else, this way 
qmail machines only ever see real email (apart from answering a sendmail 
milter question for users existence,  as much as I detest postfix, it 
has close to the same capabilites as our sendmails, and is apprently 
capable of working with vpopmail, I have followed the  postfix.txt file, 
however it does not work, it does not deliver mail to the user, it 
blindly accepts mail for non existent users (who knows what it does with 
it anyway since it doesn't deliver to users that do exist) so has anyone 
actually got postfix to work with vpopmail using the current stable 
release? If so did you run into this problem, any hints? or is it my 
subconcious dislike of postfix that made me overlook something :)?


TIA
Q




[vchkpw] vpopmail and postfix

2004-02-24 Thread Martin Sarajervi
hi,

I'm having trouble combining postfix and vpopmail. I followed
http://www.inter7.com/vpopmail/postfix.txt, but it's very minimal.
I add my domain with vadddomain and it all works fine, but when I send the
mail I get relay reject in postfix:

Feb 24 10:59:32 poseidon postfix/smtpd[16161]: reject: RCPT from
smtp.exo.no[212.33.139.22]: 554 [EMAIL PROTECTED]: Recipient address
rejected: Relay access denied; from=[EMAIL PROTECTED] to=[EMAIL PROTECTED]

I understand that postfix doesn't read the virtualdomains and rcpthosts in
/var/qmail/control, but how do I make postfix accept my messages?
Will I have to add the domains in some postfix config file manually for it
to work?

Anyone know any other info on the web on this subject?

--
Martin




[vchkpw] Vpopmail and Postfix + LDAP

2003-02-27 Thread Alessandro A.
Someone tried Vpopmail with Postfix and LDAP support?

Thanks!

Alex