Re: [courier-users] Re: bofh badfrom weirdness...

2004-05-17 Thread Chris Petersen
  Do legit servers ever send messages with no envelope sender?
 Yes.  All bounces are sent with an empty envelope sender.

Ah, well then good reason not to block them.

Guess I look into writing a From pythonfilter to supplement bofh.

thanks.

-Chris



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Fallback to backup (secondary) MX

2004-05-17 Thread Martin Horak
Hello courier users.
I have a problem with courier server - especially SMTP module.
I send a mail through transparent mail proxy on our firewall. When the 
primary MX of recipient's domain in unreachable, i get this reply from 
relay:
421 4.4.1 Unable to contact destination

Other MX records aren't tried and the mail is deferred. I'd like courier 
to contact backup MX'es before deferring the mail.
How can I achieve this?

Thank you very much for answer.
Martin Horak

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Fallback to backup (secondary) MX

2004-05-17 Thread Sam Varshavchik
Martin Horak writes:
Hello courier users.
I have a problem with courier server - especially SMTP module.
I send a mail through transparent mail proxy on our firewall. When the
primary MX of recipient's domain in unreachable, i get this reply from
relay:
421 4.4.1 Unable to contact destination
There is no such error message in Courier.
Other MX records aren't tried and the mail is deferred. I'd like courier
to contact backup MX'es before deferring the mail.
How can I achieve this?
You can achieve what you want by learning a little bit about SMTP first.  If
the above message is received in response to a delivery attempt, the message
is interpreted as an indication of a temporary failure, and to try again
later.  That is later, and not try another mail relay now.  Do to
otherwise would be a behavior more akin of a spam generator, and is likely
to get you blacklisted as such.


pgpjZFLt09ERB.pgp
Description: PGP signature


Re: [courier-users] Re: 412 You are whitelisted ....

2004-05-17 Thread Lindsay Haisley
Thus spake Alessandro Vesely on Sun, May 16, 2004 at 05:31:35AM CDT
 Lindsay Haisley wrote:
  The issue boils down to the fact that SMCs ('stupid mail clients') are far
  more likely to need an exemption from content filtering than are remote
  servers.
 
 To be honest to MUAs, we should note that to properly handle 4xx
 responses one needs to manage a queue, which in general is not
 their job (although trying once more would suffice in this case.)

All SMCs are MUAs.  Some MUAs are also SMCs ;-)
 
  Connections using authenticated SMTP are also likely to be SMCs and thus
  require such an exemption.
 
 So the equation RELAYCLIENT = MUA still holds.

No question about this.  If courier is going to implement a content
filtering exemption for RELAYCLIENT hosts, my point is that it should do
likewise for MUAs connecting through authenticated SMTP.

  but what with the rise of various anti-spam
  technologies such as SPF I would expect that there would be an increase in
  the use of authenticated SMTP.
 
 Yes, large ISPs are better off if they stop relaying for _local_
 addresses w/o auth. Fastweb, for one, is a large Italian ISP who did so.
 Those who don't will get on spamhaus or MAPS every now and then, I suppose.

I've been out of the ISP business for years, working only as an occasional
consultant for a regional ISP in Texas, but I do know that any ISP with a
substantial number of non-techie customers that started requiring auth SMTP
and stopped relaying for local clients had better have all their tech
support folks on notice to work overtime for at least a couple of weeks!

It's a funny thing about email.  People think of the Web when they think of
the Internet, and if their web service goes south, they get pretty unhappy,
but if their email quits working, they come after you with a rope grin.

-- 
Lindsay Haisley   | Everything works| PGP public key
FMP Computer Services |   if you let it |  available at
512-259-1190  |(The Roadie)  | http://www.fmp.com/pubkeys
http://www.fmp.com|  |


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Adding TO when delivered to ALIAS

2004-05-17 Thread Randall Shaw
Say you have a single mailbox (virtual or not, doesn¹t matter):
[EMAIL PROTECTED]

Now, say you have in the file /[courierpath]/etc/aliases/yourdomain.com some
aliases like:
[EMAIL PROTECTED]: [EMAIL PROTECTED]
[EMAIL PROTECTED]: [EMAIL PROTECTED]


When courier receives mail to be delivered to yourdomain.com, it does its
normal routine and finds that the delivery is for an alias, and then it
sends it to the actual email for the alias definition. That¹s all fine.
Works great.

However, sometimes people (mostly friggen spammers) don't include the TO
email address in the email. This gets left out somehow. However, it still
gets delivered (so courier obviously knows!). When you receive the email
that was sent to an alias, it goes to your spamdrop mailbox, and you cant
figure out which alias it was sent too. Even while examining the full
internet headers.

So... My question is... There a setting I am missing? Somewhere the headers
can be written too to add the actual destination address? Or maybe something
else.

Ideally I would have liked the aliases files to handle something like:
[EMAIL PROTECTED]: bizzwang [EMAIL PROTECTED]
[EMAIL PROTECTED]: wingding [EMAIL PROTECTED]

Then, when its delivered, you would see it as a name to the mailbox address.

I'm a nut with aliases... Same with some clients. We make a new alias for
any new service, or site, or account created that needs an email box.

I then monitor my spam intake, and see where they sent spam too (which
alias). That way I know who the frelling idiots were who sold my email out.
Then I drop that alias and say goodbye to the spam from them. However, when
that spam gets delivered lacking the needed headers... I cant for the life
of me figure out what alias it was delivered too! AGH! Like lately these
lame MS Security Patch virus emails... Grrr.

Help? Please?



-Randall Shaw



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread Michelle Konzack
Am 2004-05-17 13:52:41, schrieb Randall Shaw:
Say you have a single mailbox (virtual or not, doesn¹t matter):
[EMAIL PROTECTED]

However, sometimes people (mostly friggen spammers) don't include the TO
email address in the email. This gets left out somehow. However, it still

If I get empty To: I reject the Message !

-Randall Shaw

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.asc
Description: Digital signature


[courier-users] Courier IMAP and authmysql

2004-05-17 Thread Cary Collett

I'm trying to get IMAP authenticating via MySQL. As
near as I can tell I have authmysqlrc set up properly.
The authmysql module is in the auth modules list in
authdaemonrc. MySQL is running, the ID  password
work. However, I never see any authentication queries
in the MySQL log and the mail log reports that the
login failed.

So, I'm at a loss as to what I'm doing wrong here.
Help?

System details:
Red Hat FC1/x86, MySQL 4.0 rpms, courier 0.42.0 built
with rpmbuild.

authmysqlrc:

MYSQL_SERVERlocalhost
MYSQL_USERNAME  postfix
MYSQL_PASSWORD  foobar
MYSQL_SOCKET/etc/mysql.sock
MYSQL_PORT  0
MYSQL_OPT   0
MYSQL_DATABASE  postfix
MYSQL_USER_TABLEmailbox
MYSQL_CRYPT_PWFIELD password
MYSQL_UID_FIELD '89'
MYSQL_GID_FIELD '89'
MYSQL_LOGIN_FIELD   username
MYSQL_HOME_FIELD'/a/postfixDirs/vhosts'
MYSQL_NAME_FIELDname
MYSQL_MAILDIR_FIELD maildir


Thanks,
Cary





__
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread Randall Shaw
Michelle Konzack scribbled something like:

 Am 2004-05-17 13:52:41, schrieb Randall Shaw:
 Say you have a single mailbox (virtual or not, doesn¹t matter):
 [EMAIL PROTECTED]
 
 However, sometimes people (mostly friggen spammers) don't include the TO
 email address in the email. This gets left out somehow. However, it still
 
 If I get empty To: I reject the Message !
 
 -Randall Shaw
 
 Greetings
 Michelle

Hmm... Is there a way to do this at the server ? I can surely setup mail
actions in our email clients... But I would rather not waste the bandwidth
and storage for such junk mail, and just have them pitched completely at the
server doors.



-Randall Shaw



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Rejecting empty To: messages

2004-05-17 Thread Chris Petersen
 For that matter how does one reject a message with a To: field that is 
 not even at my domain?

You don't want to do this.  Many listserv programs send to themselves
(including this one).  Also, don't forget that it's also completely
possible to have a blank To field and a full Cc field (weird, but it
works), or have a message to someone else, but cc'd to you.

-Chris



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Rejecting empty To: messages

2004-05-17 Thread Robert Horton
On Monday, May 17, 2004, at 13:16 US/Pacific, Chris Petersen wrote:
For that matter how does one reject a message with a To: field that is
not even at my domain?
You don't want to do this.  Many listserv programs send to themselves
(including this one).  Also, don't forget that it's also completely
possible to have a blank To field and a full Cc field (weird, but it
works), or have a message to someone else, but cc'd to you.
-Chris
Very good point! I guess my question would point me back to setting up 
good spam filtering then. And, like I said, I have never done that and 
do not know where to begin. I have read the courier docs but they I do 
not think I followed it very well. Any help/suggestions would be 
appreciated. :)


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Rejecting empty To: messages

2004-05-17 Thread Lloyd Zusman
Robert Horton [EMAIL PROTECTED] writes:

 On Monday, May 17, 2004, at 13:16 US/Pacific, Chris Petersen wrote:

 For that matter how does one reject a message with a To: field that is
 not even at my domain?

 You don't want to do this.  Many listserv programs send to themselves
 (including this one).  Also, don't forget that it's also completely
 possible to have a blank To field and a full Cc field (weird, but it
 works), or have a message to someone else, but cc'd to you.

 -Chris


 Very good point! I guess my question would point me back to setting up
 good spam filtering then. And, like I said, I have never done that and
 do not know where to begin. I have read the courier docs but they I do
 not think I followed it very well. Any help/suggestions would be
 appreciated. :)

You can do just about any filtering you want within what Courier calls a
global filter.  You can do a man courierfilter to get info about
this.  In a global filter, you have access to all the headers and body
text of a message, and you can use that info to implement your chosen
filtering mechanisms, which can then be used to reject unwanted
messages.

The setup is a bit complex for global filters, and people have written
tools to help simplify this.

One such tool is the Perl package called Courier::Filter.

Another is the Python package called courier-pythonfilter.

Courier provides another filtering mechanism called local filters.
These are applied later in the message delivery process, after the
global filters have provisionally passed the messages.  You can use
maildrop or other similar packages to aid in this local filtering.

Do a man localmailfilter for info.

I should warn you, however, that in addition to understanding how
Courier delivers messages, you also need to have a fairly extensive
knowledge of internet protocols in order to have any kind of success at
filtering spam using your own, home-grown methods.  You need to look at
the RFC's (official internet protocol specifications) and understand
what is _supposed_ to happen when email is being delivered before you
can begin to understand how to block the illegal stuff.  A good RFC to
start with is RFC-2821.

If you want to punt on all this, you can make use of software like
SpamAssassin and TMDA (to name two out of many), which are pre-written
packages that work with most MTA's.  If used correctly, these do a
fairly good job at spam protection.  But I still recommend you read
and understand (at least at a high level) RFC-2821 and other similar
documents.



-- 
 Lloyd Zusman
 [EMAIL PROTECTED]
 God bless you.



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread Sam Varshavchik
Randall Shaw writes:
Michelle Konzack scribbled something like:
Am 2004-05-17 13:52:41, schrieb Randall Shaw:
Say you have a single mailbox (virtual or not, doesnt matter):
[EMAIL PROTECTED]

However, sometimes people (mostly friggen spammers) don't include the TO
email address in the email. This gets left out somehow. However, it still
If I get empty To: I reject the Message !
-Randall Shaw
Greetings
Michelle
Hmm... Is there a way to do this at the server ?
Yes there, but it's a fairly complicated process.  You will need to activate
a few configuration settings, install a few files, and write a few scripts. 
And there are even two different ways of going about it.

Start by reading the localmailfilter man page.
For an alternative approach, read the courierperlfilter man page.


pgpKOPrO3oGrk.pgp
Description: PGP signature


[courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread Jeff Potter
Say you have a single mailbox (virtual or not, doesnt matter):
[EMAIL PROTECTED]

However, sometimes people (mostly friggen spammers) don't include 
the TO
email address in the email. This gets left out somehow. However, it 
still
Hmm... Is there a way to do this at the server ? I can surely setup 
mail
actions in our email clients... But I would rather not waste the 
bandwidth
and storage for such junk mail, and just have them pitched completely 
at the
server doors
In /etc/courier/courierd:
DEFAULTDELIVERY=| /usr/lib/courier/bin/preline 
/usr/lib/courier/bin/maildrop

You might also want to look into using a .courier-default file to 
manage all the variant email addresses, too...

best,
Jeff
---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] aliasdir/Maildir mbox file.

2004-05-17 Thread Dan
So does anyone have any idea why courier is delivering to this file for users
that don't exist?

Dan


- Original Message - 
From: Dan [EMAIL PROTECTED]
To: Courier Users List [EMAIL PROTECTED]
Sent: Sunday, May 16, 2004 5:03 AM
Subject: Re: [courier-users] aliasdir/Maildir mbox file.


 # ls -la /usr/lib/courier/etc/aliasdir/
 total 12
 drwxr-xr-x2 courier  courier  4096 May 15 10:44 .
 drwxr-xr-x   13 courier  courier  4096 May 15 10:41 ..
 -rw---1 courier  courier  2895 May 15 10:44 Maildir
 #

 Alas, no hidden files...

 Dan

 - Original Message - 
 From: Jeff Jansen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, May 16, 2004 1:05 AM
 Subject: Re: [courier-users] aliasdir/Maildir mbox file.


  On Saturday 15 May 2004 17:59, Dan wrote:
   May 15 10:44:36 hostname courierd:
   started,id=0006E299.40A65704.0861,from=[EMAIL PROTECTED],
   module=local, [EMAIL PROTECTED]
   /usr/lib/courier/etc/aliasdir!!,addr=alias
 
  Well it sure looks to me like courier *thinks* you have an alias defined.
  Humor me for a moment please and make sure that
 
  ls -a /usr/lib/courier/etc/aliasdir
 
  show nothing in that directory.  (.courier files are hidden so you'll need
  the '-a' switch.  That has tripped me up more than once. :-)
 
  Jeff Jansen
 
 
  ---
  This SF.Net email is sponsored by: SourceForge.net Broadband
  Sign-up now for SourceForge Broadband and get the fastest
  6.0/768 connection for only $19.95/mo for the first 3 months!
  http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
  ___
  courier-users mailing list
  [EMAIL PROTECTED]
  Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 


 ---
 This SF.Net email is sponsored by: SourceForge.net Broadband
 Sign-up now for SourceForge Broadband and get the fastest
 6.0/768 connection for only $19.95/mo for the first 3 months!
 http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread Randall Shaw
Jeff Potter scribbled something like:

 In /etc/courier/courierd:
 DEFAULTDELIVERY=| /usr/lib/courier/bin/preline
 /usr/lib/courier/bin/maildrop
 
 You might also want to look into using a .courier-default file to
 manage all the variant email addresses, too...

Ok.

Our current DEFAULTDELIVERY is DEFAULTDELIVERY=./Maildir

Setting to use maildrop just seemed to break things.

And setting it to:
DEFAULTDELIVERY=| /usr/lib/courier/bin/preline ./Maildir

Just gave a bunch of permission denied errors in the log.



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Clearing the MailQ and rejecting...

2004-05-17 Thread Randall Shaw

(I read the man page on these, very little help as always)

Isn't there a command to clear the ENTIRE mailq ? Cancelmsg just does one at
a time. I want to clear out an entire queue.

Main reason is, spammers are sending spam to our users, but it gets bounced
because spammers are idiots. However, since it bounces, and spammers use
faulty from and return addresses, this crap gets deferred into a massive
backlog that just goes on for miles and puts our server into a tissy of
trying to return it.

I took the most obvious hog, which is @com.com and tried all these in
etc/bofh:
spamtrap @com.com
badfrom @com.com
freemail @com.com

...it seems to do nothing to prevent them from filling up the mailq and
making our maillog a good 50mb a day.

It forced me to reduce the time till failure to help combat this (queuetime,
esmtpdelay, retryX).

I havnt touched any of the defaults regarding rejecting bad MX and DNS and
whatnot emails. Those should be fine.

Log entry example:
May 17 17:47:38 x courierd:
started,id=0012BC9A.40A673A1.2CC4,from=,module=esmtp,host=com.com,addr
=[EMAIL PROTECTED]
May 17 17:47:38 x courierd: completed,id=0012BC7D.40A673A2.2CD1
May 17 17:47:38 x courieresmtp:
id=0012BC9A.40A673A1.2CC4,from=,addr=[EMAIL PROTECTED]: Connection
timed out
May 17 17:47:38 x courieresmtp:
id=0012BC9A.40A673A1.2CC4,from=,addr=[EMAIL PROTECTED],status: deferred

This crap fills the log files up like you wouldn't believe.
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] ... I mean, really! COMEON!


-Randall Shaw

(Oh, and Yes. The From: header has absolutely nothing to do with the return
address. Look at the Return-Path: header. Might want to add that sort of
clarification into the DOCS in regards to 'badFROM' *cough*.)



-Randall Shaw



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] aliasdir/Maildir mbox file.

2004-05-17 Thread Tim Hunter
I wasnt paying attention to the first part of this thread but do you have
anything setup like what is listed as an alias at a hosted domain
http://www.courier-mta.org/makehosteddomains.html ?


Dan wrote:
 So does anyone have any idea why courier is delivering to this file
 for users that don't exist?

 Dan


 - Original Message -
 From: Dan [EMAIL PROTECTED]
 To: Courier Users List [EMAIL PROTECTED]
 Sent: Sunday, May 16, 2004 5:03 AM
 Subject: Re: [courier-users] aliasdir/Maildir mbox file.


 # ls -la /usr/lib/courier/etc/aliasdir/
 total 12
 drwxr-xr-x2 courier  courier  4096 May 15 10:44 .
 drwxr-xr-x   13 courier  courier  4096 May 15 10:41 ..
 -rw---1 courier  courier  2895 May 15 10:44 Maildir
 #

 Alas, no hidden files...

 Dan

 - Original Message -
 From: Jeff Jansen [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, May 16, 2004 1:05 AM
 Subject: Re: [courier-users] aliasdir/Maildir mbox file.


 On Saturday 15 May 2004 17:59, Dan wrote:
 May 15 10:44:36 hostname courierd:
 started,id=0006E299.40A65704.0861,from=[EMAIL PROTECTED],
 module=local, [EMAIL PROTECTED]
 /usr/lib/courier/etc/aliasdir!!,addr=alias

 Well it sure looks to me like courier *thinks* you have an alias
 defined. Humor me for a moment please and make sure that

 ls -a /usr/lib/courier/etc/aliasdir

 show nothing in that directory.  (.courier files are hidden so
 you'll need the '-a' switch.  That has tripped me up more than
 once. :-)

 Jeff Jansen





---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] aliasdir/Maildir mbox file.

2004-05-17 Thread Randall Shaw

Somehow, you have an entry in your userdb (or mysqldb or whatever you are
using for your user database), that is delivering [EMAIL PROTECTED] to
the aliasdir.

Might want to list out your user database and see who has a homedir of
/usr/lib/courier/etc/aliasdir/. Then, you might notice that the user
account starts with alias. Which to courier means that any email sent to
this domain that DOESN¹T match another mailbox, gets filed into this
directory.

I use them sparingly, because spammers like to use dictionary attacks on
many domains. All of those would eventually end up in the alias mailbox for
a domain! oop!

I hope I am correct on this. The '[EMAIL PROTECTED]' is the behavior I have on
our two servers, so I know it is at least partially true =)


Dan scribbled something like:

 So does anyone have any idea why courier is delivering to this file for users
 that don't exist?
 
 Dan
 
 - Original Message -
 From: Dan [EMAIL PROTECTED]
 To: Courier Users List [EMAIL PROTECTED]
 Sent: Sunday, May 16, 2004 5:03 AM
 Subject: Re: [courier-users] aliasdir/Maildir mbox file.
 
 
 # ls -la /usr/lib/courier/etc/aliasdir/
 total 12
 drwxr-xr-x2 courier  courier  4096 May 15 10:44 .
 drwxr-xr-x   13 courier  courier  4096 May 15 10:41 ..
 -rw---1 courier  courier  2895 May 15 10:44 Maildir
 #
 
 Alas, no hidden files...
 
 Dan
 


-Randall Shaw



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] aliasdir/Maildir mbox file.

2004-05-17 Thread Dan
I can promise you that 1) the only authentication methods I am using are:

authmodulelist=authcram authuserdb authshadow

and 2) I have only ONE userdb entry (read: 1 file in etc/userdb/ with 1 line in
it) and the address looks nothing like *alias*, nor does it have the home
directory of /usr/lib/courier/etc/aliasdir/.  From what I understand of how
courier figures out how to deliver a mail, there's no reason it should be
writing to this file.  I even recursively grepped for the string alias in
every file in the etc directory and the only file that has that string in it is
aliases/system, and those are comment lines.

Dan


- Original Message - 
From: Randall Shaw [EMAIL PROTECTED]
To: Courier Users List [EMAIL PROTECTED]
Sent: Monday, May 17, 2004 6:24 PM
Subject: Re: [courier-users] aliasdir/Maildir mbox file.



Somehow, you have an entry in your userdb (or mysqldb or whatever you are
using for your user database), that is delivering [EMAIL PROTECTED] to
the aliasdir.

Might want to list out your user database and see who has a homedir of
/usr/lib/courier/etc/aliasdir/. Then, you might notice that the user
account starts with alias. Which to courier means that any email sent to
this domain that DOESN¹T match another mailbox, gets filed into this
directory.

I use them sparingly, because spammers like to use dictionary attacks on
many domains. All of those would eventually end up in the alias mailbox for
a domain! oop!

I hope I am correct on this. The '[EMAIL PROTECTED]' is the behavior I have on
our two servers, so I know it is at least partially true =)


Dan scribbled something like:

 So does anyone have any idea why courier is delivering to this file for users
 that don't exist?

 Dan

 - Original Message -
 From: Dan [EMAIL PROTECTED]
 To: Courier Users List [EMAIL PROTECTED]
 Sent: Sunday, May 16, 2004 5:03 AM
 Subject: Re: [courier-users] aliasdir/Maildir mbox file.


 # ls -la /usr/lib/courier/etc/aliasdir/
 total 12
 drwxr-xr-x2 courier  courier  4096 May 15 10:44 .
 drwxr-xr-x   13 courier  courier  4096 May 15 10:41 ..
 -rw---1 courier  courier  2895 May 15 10:44 Maildir
 #

 Alas, no hidden files...

 Dan



-Randall Shaw



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=ick
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] aliasdir/Maildir mbox file.

2004-05-17 Thread Randall Shaw
Well... Wow.

That does sound strange! Thought surely you had an entry in a user
database... But I guess that is surely not the case. Sorry, but that is all
I had, maybe one of the gurus can figure it out for you. Sounds like a fun
problem! Well, maybe not fun for you...



-Randall Shaw



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] How to throttle message sending (as an abuse prevention) ?

2004-05-17 Thread Peter Holm
Hi,

is it possible to throttle the number of mails sent by users to
prevent the abuse of a mailserver, e.g. to allow people only to send
one message per minute?

Thanks again for your attention!

Have a nice day,
Peter


---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62alloc_ida84op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Adding TO when delivered to ALIAS

2004-05-17 Thread David Newall
On Tue, 2004-05-18 at 08:59, Jeff Potter wrote:
 You might also want to look into using a .courier-default file to 
 manage all the variant email addresses, too...

The trouble with using a .courier-default file (as I've sadly
discovered) is that you end up receiving all email, even those which
can't possibly be delivered.  Of course, the emails that can't be
delivered get bounced; but my experience is that the DSN's are
undeliverable and so sit in the queue for ages.



---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Clearing the MailQ and rejecting...

2004-05-17 Thread Gordon Messmer
Randall Shaw wrote:
Main reason is, spammers are sending spam to our users, but it gets bounced
because spammers are idiots.
Clarify.  Idiots email my users all the time and messages don't bounce. 
  Perhaps you can find out exactly why messages are bouncing and 
address that issue.

---
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562alloc_id=6184op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users