[vchkpw] GLOBAL ADDRESS BANNING

2005-11-11 Thread Michele \(System Administrator\)
Hi, i need to ban all mails from a particular domain on my vpopmail
installation, for all virtual domains, possibly bouncing them to a specified
mail address;
i.e.
All mails from @somedomain.com delivered to any virtual domain on my server,
must be blocked or bounced to another address.

Thanks for help.





Re: [vchkpw] GLOBAL ADDRESS BANNING

2005-11-11 Thread Rick Macdougall

Michele (System Administrator) wrote:

Hi, i need to ban all mails from a particular domain on my vpopmail
installation, for all virtual domains, possibly bouncing them to a specified
mail address;
i.e.
All mails from @somedomain.com delivered to any virtual domain on my server,
must be blocked or bounced to another address.



Hi,

Add the domain name to badmailfrom in /var/qmail/control

Just the domain name, no @.

Regards,

Rick



Re: [vchkpw] GLOBAL ADDRESS BANNING

2005-11-11 Thread Jeremy Kitchen
On Friday 11 November 2005 05:12 am, Rick Macdougall wrote:
 Michele (System Administrator) wrote:
  Hi, i need to ban all mails from a particular domain on my vpopmail
  installation, for all virtual domains, possibly bouncing them to a
  specified mail address;
  i.e.
  All mails from @somedomain.com delivered to any virtual domain on my
  server, must be blocked or bounced to another address.

 Hi,

 Add the domain name to badmailfrom in /var/qmail/control

 Just the domain name, no @.

actually, I think to ban a full domain you need the @

regardless, this is a pointless effort.  Changing your envelope sender is 
trivial.  What Problem Are You Trying To Solve?

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgpOXSwM373qT.pgp
Description: PGP signature


[vchkpw] IMAP before SMTP

2005-11-11 Thread Nicklas Bondesson
I'm having a hard time getting IMAP before SMTP to work.

It seems like the remote ip address is not visible to get_remote_ip() in
vpopmail. I'm using qmail, vpopmail with a mysql backend and Courier-IMAP
(v3.0.8). 

Problem:

The remote ip is not inserted into the relay table. If I check the lastauth
table i only get imap in the remote_ip field.

Any ideas?


Thanks,

Nicklas B




Re: [vchkpw] IMAP before SMTP

2005-11-11 Thread Rick Macdougall

Nicklas Bondesson wrote:

I'm having a hard time getting IMAP before SMTP to work.

It seems like the remote ip address is not visible to get_remote_ip() in
vpopmail. I'm using qmail, vpopmail with a mysql backend and Courier-IMAP
(v3.0.8). 


Problem:

The remote ip is not inserted into the relay table. If I check the lastauth
table i only get imap in the remote_ip field.

Any ideas?



Hi,

It is not possible at all with the 4.x series of Courier-imap.  I'm not 
sure about the 3.x series or maybe Binc Imap.


Regards,

Rick



RE: [vchkpw] IMAP before SMTP

2005-11-11 Thread Nicklas Bondesson
I was able to get it working after i recompiled courier-imap.

Thanks,

Nicklas B

 -Original Message-
 From: Rick Macdougall [mailto:[EMAIL PROTECTED] 
 Sent: den 12 november 2005 00:28
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] IMAP before SMTP
 
 Nicklas Bondesson wrote:
  I'm having a hard time getting IMAP before SMTP to work.
  
  It seems like the remote ip address is not visible to 
 get_remote_ip() 
  in vpopmail. I'm using qmail, vpopmail with a mysql backend and 
  Courier-IMAP (v3.0.8).
  
  Problem:
  
  The remote ip is not inserted into the relay table. If I check the 
  lastauth table i only get imap in the remote_ip field.
  
  Any ideas?
  
 
 Hi,
 
 It is not possible at all with the 4.x series of 
 Courier-imap.  I'm not sure about the 3.x series or maybe Binc Imap.
 
 Regards,
 
 Rick
 
 
 




Re: [vchkpw] IMAP before SMTP

2005-11-11 Thread Jack Kerouac
 The remote ip is not inserted into the relay table. If I check the
 lastauth
 table i only get imap in the remote_ip field.

 
 It is not possible at all with the 4.x series of Courier-imap.  I'm not
 sure about the 3.x series or maybe Binc Imap.

Works fine with BincIMAP (which, IMHO, is a way saner IMAP than 
Courier).

--
Jack


Re: [vchkpw] IMAP before SMTP

2005-11-11 Thread Rick Macdougall

Nicklas Bondesson wrote:

I was able to get it working after i recompiled courier-imap.



Hi,

Just for my personal info, what version of courier-imap was it ?

Rick



RE: [vchkpw] IMAP before SMTP

2005-11-11 Thread Nicklas Bondesson
Courier-IMAP 3.0.8 (the last one in the 3.x series).

Thanks,

Nicklas B

 -Original Message-
 From: Rick Macdougall [mailto:[EMAIL PROTECTED] 
 Sent: den 12 november 2005 00:59
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] IMAP before SMTP
 
 Nicklas Bondesson wrote:
  I was able to get it working after i recompiled courier-imap.
  
 
 Hi,
 
 Just for my personal info, what version of courier-imap was it ?
 
 Rick
 
 
 




Re: [vchkpw] IMAP before SMTP

2005-11-11 Thread Michael Bowe
 Original Message - 


From: Rick Macdougall [EMAIL PROTECTED]




Nicklas Bondesson wrote:

I'm having a hard time getting IMAP before SMTP to work.

It seems like the remote ip address is not visible to get_remote_ip() in
vpopmail. I'm using qmail, vpopmail with a mysql backend and Courier-IMAP
(v3.0.8). Problem:

The remote ip is not inserted into the relay table. If I check the 
lastauth

table i only get imap in the remote_ip field.

Any ideas?



Hi,

It is not possible at all with the 4.x series of Courier-imap.  I'm not 
sure about the 3.x series or maybe Binc Imap.



( 
http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm#ROAMING_USERS  
)


IMAP-before-SMTP is possible when using Courier-IMAP v3.x. However it only 
works when configured --with-authvchkpw --without-authdaemon. When 
running --without-authdaemon, Courier-IMAP's authvchkpw code is able to make 
use of vpopmail's roaming user functions to allow IMAP-before-SMTP 
functionality. IMAP-before-SMTP is not possible when Courier-IMAP has been 
complied --with-authdaemon, because in this mode the user's IP address is 
not made available to the authvchkpw code (via the TCPREMOTEIP env var). 
Also note that in Courier-IMAP v4.x and later, --without-authdaemon 
functionality is no longer available thus preventing IMAP-before-SMTP from 
working.


Michael.