[courier-users] Workaround a broken SMTP server

2004-05-21 Thread Mircea Damian




Hi,

Is there a way to disable outgoing esmtp TLS encryption for some
specific mail servers?

For example I have some messages into the queue for a domain for which
the mail server is badly configured:
telnet mail.digicom.ro 25
Trying 194.102.203.4...
Connected to mail.digicom.ro.
Escape character is '^]'.
220 mail.digicom.ro ESMTP
EHLO localhost
250-mail.digicom.ro
250-STARTTLS
250-AUTH LOGIN CRAM-MD5 PLAIN
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-PIPELINING
250-8BITMIME
250 SIZE 0
STARTTLS
454 TLS not available: missing certificate (#4.3.0)


The 454 message is a temporary failure but as RFC 3207 states in
chapter 4:
"If the client receives the 454 response, the client must decide
   whether or not to continue the SMTP session.  Such a decision is
   based on local policy."

I would like to be able to continue the SMTP session or to ignore the
STARTTLS capability which is wrongly advertised in this case. Is this
possible?

-- 


  

  Mircea Damian


  Manager Infrastructura Metropolitana - Internet
 Data


  Astral Telecom


  Mihai Bravu 223


  Sector 3, cod 030301


  Tel:
  021 326 5003


  Fax:
  021 326 6196


  GSM:
  0745 128 110

  

www.astral.ro



inline: logo2.gif

[courier-users] Courier 0.45.5 IMAPD test after compilation fails if /etc/courier/maildirshared is present

2004-05-21 Thread Aleksander Adamowski
Hi!
I were building Courier 0.45.5.
Build has run fine, but during the tests imapd test failed with non-zero 
code.

Upon further investigation, it turned out that output from tests 
includes my installation-specific shared maildirs on that system. Hence 
te output from IMAP LIST commands doesn't match the reference output in 
testsuite.txt and test fails.

This is due to the fact that imap testsuite runs imapd server in such a 
way that it reads the global system-wide maildirshared config file and 
makes the shared maildirs listed there avaiable to the client (also run 
by testsuite). When I temporarily rename /etc/courier/maildirshared 
tests complete with success code.

So, this is a temporary workaround, but the testsuite needs to be 
corrected so that system-wide Courier configuration doesn't affect its 
results.

--
Best Regards,
   Aleksander Adamowski
   GG#: 274614
   ICQ UIN: 19780575 
	http://olo.ab.altkom.pl


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Workaround a broken SMTP server

2004-05-21 Thread Anand Buddhdev
On Fri, May 21, 2004 at 11:22:19AM +0300, Mircea Damian wrote:

 Hi,
 
 Is there a way to disable outgoing esmtp TLS encryption for some 
 specific mail servers?

echo 'broken.domain:mail.broken.domain/SECURITY=NONE'  /etc/courier/esmtproutes

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] fetchmail times out when talking to courier smtpd

2004-05-21 Thread Felix Maibaum
Am Mittwoch, 19. Mai 2004 21:43 schrieb Gordon Messmer:
 Felix Maibaum wrote:

 If you set up your maildrop rules to use spamc as an xfilter, then you
 can deliver mail directly to maildrop.  It's best to do this... your
 mail is less likely to be rejected.  If courier won't accept a message
 (for instance, because the sender's DNS went offline never to return),
 that message will get stuck on your POP server, and fetchmail will
 download it every time it checks, and generally waste a lot of bandwidth.


great, now the mail at least arrives on my system. The problem is, that it 
only arrives in the correct account if fetchmail is running as the user that 
it is fetching mail for. If I try to use system-wide fetchmail, then all mail 
ends up in the fetchmail users homedir, /var/run/fetchmail. any ideas about 
that?
I suppose using smtp would help, but that brings me back to the original 
problem.

regards

felix 


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] how do I make courier use a smarthost that requires authentication?

2004-05-21 Thread Anand Buddhdev
On Thu, May 20, 2004 at 10:34:14PM +0200, Felix Maibaum wrote:

 Hi!
 
 Can anyone tell me how I can make courier use a smarthost that needs 
 authentication for outgoing mail?

echo ':smart.host'  /etc/courier/esmtproutes
echo 'smart.host username password'  /etc/courier/esmtpauthclient

No need to restart courier. The changes will be noticed almost
immediately as new courieresmtp clients start up to deliver email.

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Aliases in MySQL

2004-05-21 Thread Pavel M. Rebrov
Hello everyone!

Could anyone tell me, is there a way to get aliases into MySQL database?


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] grrrr

2004-05-21 Thread Robert Horton
I am sorry to keep bringing this up, but I have tried everything and am 
not sure where to turn next!

The issue: one particular domain *appears* to be using me as a relay. 
The messages sit in my mailq and my log grows and grows.  I have only a 
few actual users right now and I want to get this addressed before I 
get too many.

My smtpaccess file ONLY has allow,RELAYCLIENT for localhost and the IP 
I registered for my domain. My locals file only has localhost and my 
domain and my esmtpacceptmailfor also is localhost and my domain as is 
hosteddomains. My installation is nothing special nor have I made any 
drastic changes to anything.

Now, to be clear, I do not receive ANY spam from this domain or any 
other for that matter so I do not think this is a filtering issue, 
although it may be.

So I guess my question has a few options:
A.) How do I prevent this one domain from attempting to go through me 
and further HOW are they doing it?

B.) How can I set the mailq so it does not hold onto these emails 
thereby slowing MY mail down? NOTE: I am not asking how to remove all 
the messages, I know how to do that. :)

C.) Is there some place that I have not looked that I should be 
looking? Is this perhaps not even a courier issue but perhaps something 
in my system? (I don't think so but it does not hurt to consider it.)

I am running an LFS system with the 2.4.25 kernel.
Again I apologize for the continued whining and posting, but this is 
very frustrating to me and I would very much like to make it stop, so 
any help whatsoever, even if you think it is obscure, would be greatly 
appreciated.

Thanks in advance,
Rob

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Aliases in MySQL

2004-05-21 Thread David Gomillion
I'm not sure exactly the mechanism, but Quica seems to use the MySQL
database to keep what it calls forwards, which act all for the world
like aliases.  It appears that it is creating a regular account, and
then creating a .courier file with the address of where the message
should go.

I wanted to take a second and say that quica is pretty nice.  It give
Courier a good front-end.  Although it is far from perfect, is has made
it easier for me to have some non-technical people assist in account
maintenance.  So, if anyone is looking for a web-based front-end, you
might want to glance at quica.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Pavel M. Rebrov
 Sent: Friday, May 21, 2004 9:06 AM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Aliases in MySQL
 
 
 Hello everyone!
 
 Could anyone tell me, is there a way to get aliases into 
 MySQL database?
 
 
 ---
 This SF.Net email is sponsored by: Oracle 10g
 Get certified on the hottest thing ever to hit the market... 
 Oracle 10g. 
 Take an Oracle 10g class now, and we'll give you the exam 
 FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: 
 https://lists.sourceforge.net/lists/listinfo/c ourier-users
 



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Workaround a broken SMTP server

2004-05-21 Thread Mircea Damian





Thanks, that is it!

Pushing that forward: is it possible to fallback in case of 454
message for any outgoing mail server?

(I mean: I want to send it encrypted but if that fails with 454 just go
over it)


Anand Buddhdev wrote:

  On Fri, May 21, 2004 at 11:22:19AM +0300, Mircea Damian wrote:

  
  
Hi,

Is there a way to disable outgoing esmtp TLS encryption for some 
specific mail servers?

  
  
echo 'broken.domain:mail.broken.domain/SECURITY=NONE'  /etc/courier/esmtproutes

  


-- 


  

  Mircea Damian


  Manager Infrastructura Metropolitana - Internet
 Data


  Astral Telecom


  Mihai Bravu 223


  Sector 3, cod 030301


  Tel:
  021 326 5003


  Fax:
  021 326 6196


  GSM:
  0745 128 110

  

www.astral.ro



inline: logo2.gif

[courier-users] Re: grrrr

2004-05-21 Thread Lloyd Zusman
The other day, I posted a syslog-based proceure that you can use to
detect when undeliverable error bounces are getting repeatedly queued on
your side, and then to automatically remove them from your queue.

Look back in the mailing list for posts by me during this week, and
you'll find a description of the method that I use within syslog, and in
a second message by me, you'll find the Perl script that I use to
actually delete the messages.

This script can be modified to look at any criteria in the queue control
file and any headers or body data in the message, and to use that info
to decide whether the message should be removed from the queue.

It's a bit of a hack, but it works well for me.


 I am sorry to keep bringing this up, but I have tried everything and am
 not sure where to turn next!

 The issue: one particular domain *appears* to be using me as a
 relay. The messages sit in my mailq and my log grows and grows.  I have
 only a few actual users right now and I want to get this addressed
 before I get too many.

 My smtpaccess file ONLY has allow,RELAYCLIENT for localhost and the IP I
 registered for my domain. My locals file only has localhost and my
 domain and my esmtpacceptmailfor also is localhost and my domain as is
 hosteddomains. My installation is nothing special nor have I made any
 drastic changes to anything.

 Now, to be clear, I do not receive ANY spam from this domain or any
 other for that matter so I do not think this is a filtering issue,
 although it may be.

 So I guess my question has a few options:

 A.) How do I prevent this one domain from attempting to go through me
 and further HOW are they doing it?

 B.) How can I set the mailq so it does not hold onto these emails
 thereby slowing MY mail down? NOTE: I am not asking how to remove all
 the messages, I know how to do that. :)

 C.) Is there some place that I have not looked that I should be looking?
 Is this perhaps not even a courier issue but perhaps something in my
 system? (I don't think so but it does not hurt to consider it.)

 I am running an LFS system with the 2.4.25 kernel.

 Again I apologize for the continued whining and posting, but this is
 very frustrating to me and I would very much like to make it stop, so
 any help whatsoever, even if you think it is obscure, would be greatly
 appreciated.

 Thanks in advance,

 Rob



 ---
 This SF.Net email is sponsored by: Oracle 10g
 Get certified on the hottest thing ever to hit the market... Oracle
 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
 http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


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



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Workaround a broken SMTP server

2004-05-21 Thread Anand Buddhdev
On Fri, May 21, 2004 at 06:35:26PM +0300, Mircea Damian wrote:

 Thanks, that is it!
 
 Pushing that forward: is it possible to fallback in case of 454 message  
 for any outgoing mail server?
 
 (I mean: I want to send it encrypted but if that fails with 454 just go 
 over it)

You can't do that in courier. You can either turn off TLS on a per
domain basis, or you can do it globally by setting ESMTP_USE_TLS=0 in
the /etc/courier/courierd file. But you can't tell courier to ignore
the TLS error and continue with an unencrypted session.

 Anand Buddhdev wrote:
 
 On Fri, May 21, 2004 at 11:22:19AM +0300, Mircea Damian wrote:
 
  
 
 Hi,
 
 Is there a way to disable outgoing esmtp TLS encryption for some 
 specific mail servers?

 
 
 echo 'broken.domain:mail.broken.domain/SECURITY=NONE'  
 /etc/courier/esmtproutes
 
  
 
 
 -- 
 http://www.astral.ro/
 *Mircea Damian*
 Manager Infrastructura Metropolitana - Internet  Data
 Astral Telecom
 Mihai Bravu 223
 Sector 3, cod 030301
 Tel:  021 326 5003
 Fax:  021 326 6196
 GSM:  0745 128 110
 
 www.astral.ro http://www.astral.ro/

-- 
Anand Buddhdev
Celtel International



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] grrrr

2004-05-21 Thread Gordon Messmer
Robert Horton wrote:
A.) How do I prevent this one domain from attempting to go through me 
and further HOW are they doing it?
Post the log messages that indicate that you're being used as a relay, 
and we may be able to answer that question.


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] fetchmail times out when talking to courier smtpd

2004-05-21 Thread Gordon Messmer
Felix Maibaum wrote:
great, now the mail at least arrives on my system. The problem is, that it 
only arrives in the correct account if fetchmail is running as the user that 
it is fetching mail for. If I try to use system-wide fetchmail, then all mail 
ends up in the fetchmail users homedir, /var/run/fetchmail. any ideas about 
that?
If you're fetching mail for several users, I usually run a fetchmail per 
user (which gives each user the ability to change their pop password 
without hassling the local admin to fix fetchmail), or use sendmail as 
the mda:

defaults
fetchall, ssl,
mda /usr/sbin/sendmail %T;
This method also avoids SMTP and its associated problems.

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] grrrr

2004-05-21 Thread Robert Horton
I had not tried that. Thank you! After registering it told me it 
appeared my server accepted an email to relay.

Which adds to the confusion because I have no idea WHY it would accept 
it. Like I stated, I ONLY have localhost and my IP setup as 
relayclients in the smptaccess file...

So I have no clue *sighs*
On Friday, May 21, 2004, at 09:32 US/Pacific, Mike Handley wrote:
Hi Rob,
I don't know if this is any use to you but have you tried the 
following to
see if it throws up any clues?

 http://www.abuse.net/relay.html
Apologies if you've already tried it :)
Mike Handley
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Robert Horton
Sent: 21 May 2004 15:39
To: [EMAIL PROTECTED]
Subject: [courier-users] g
I am sorry to keep bringing this up, but I have tried
everything and am
not sure where to turn next!
The issue: one particular domain *appears* to be using me as a relay.
The messages sit in my mailq and my log grows and grows.  I
have only a
few actual users right now and I want to get this addressed before I
get too many.
My smtpaccess file ONLY has allow,RELAYCLIENT for localhost
and the IP
I registered for my domain. My locals file only has localhost and my
domain and my esmtpacceptmailfor also is localhost and my
domain as is
hosteddomains. My installation is nothing special nor have I made any
drastic changes to anything.
Now, to be clear, I do not receive ANY spam from this domain or any
other for that matter so I do not think this is a filtering issue,
although it may be.
So I guess my question has a few options:
A.) How do I prevent this one domain from attempting to go through me
and further HOW are they doing it?
B.) How can I set the mailq so it does not hold onto these emails
thereby slowing MY mail down? NOTE: I am not asking how to remove all
the messages, I know how to do that. :)
C.) Is there some place that I have not looked that I should be
looking? Is this perhaps not even a courier issue but perhaps
something
in my system? (I don't think so but it does not hurt to consider it.)
I am running an LFS system with the 2.4.25 kernel.
Again I apologize for the continued whining and posting, but this is
very frustrating to me and I would very much like to make it stop, so
any help whatsoever, even if you think it is obscure, would
be greatly
appreciated.
Thanks in advance,
Rob

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market...
Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe:
https://lists.sourceforge.net/lists/listinfo/courier-users


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Question on attachment size limit

2004-05-21 Thread john smith
How do I set the maximum size allowed for an attachment? I found the 
following in the esmtpd file ULIMIT=. The value specified after ULIMIT= what 
size does it equal bytes, Kilobytes, or Megabytes and would that be what I 
needed to set? Also does courier have a maximum size limit that would 
override whatever was set by the ULIMIT= value?

Thanks
_
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE 
download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-21 Thread Jerry Amundson
Robert Horton writes: 

I am sorry to keep bringing this up, but I have tried everything and am 
not sure where to turn next! 

The issue: one particular domain *appears* to be using me as a relay. The 
messages sit in my mailq and my log grows and grows.  I have only a few 
actual users right now and I want to get this addressed before I get too 
many.
Try posting entries from syslog which show when these messages are delivered 
to you. The session will have something like  courieresmtpd: started,ip= 
and continue from there... 

My smtpaccess file ONLY has allow,RELAYCLIENT for localhost and the IP I 
registered for my domain. My locals file only has localhost and my domain 
and my esmtpacceptmailfor also is localhost and my domain as is 
hosteddomains. My installation is nothing special nor have I made any 
drastic changes to anything.
You have just the one file in smtpaccess/ right?
And in it the IP addresses and actions are separated by *a single tab 
character* right?
You should not have the IP I registered for my domain in it - that IP does 
not *relay* to you - it is you! 

jerry 


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-21 Thread Robert Horton
On Friday, May 21, 2004, at 10:03 US/Pacific, Jerry Amundson wrote:
Robert Horton writes:
I am sorry to keep bringing this up, but I have tried everything and  
am not sure where to turn next! The issue: one particular domain  
*appears* to be using me as a relay. The messages sit in my mailq and  
my log grows and grows.  I have only a few actual users right now and  
I want to get this addressed before I get too many.
Try posting entries from syslog which show when these messages are  
delivered to you. The session will have something like   
courieresmtpd: started,ip= and continue from there...

 Here are the last 40 lines of my syslog:
May 21 10:01:56 kitykage courierd:  
started,id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],m 
odule=esmtp,host=sinamail.com,addr=[EMAIL PROTECTED]
May 21 10:01:56 kitykage courierd:  
started,id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],m 
odule=esmtp,host=sinamail.com,addr=[EMAIL PROTECTED]
May 21 10:01:56 kitykage courierd:  
started,id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],m 
odule=esmtp,host=sinamail.com,addr=[EMAIL PROTECTED]
May 21 10:01:56 kitykage courierd:  
started,id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],m 
odule=esmtp,host=sinamail.com,addr=[EMAIL PROTECTED]
May 21 10:01:56 kitykage courierd:  
started,id=0008EC36.40AE34C4.3751,from=[EMAIL PROTECTED],module 
=esmtp,host=sinamail.com,addr=[EMAIL PROTECTED]
May 21 10:01:56 kitykage courierd: Waiting.  shutdown time=none, wakeup  
time=Fri May 21 10:02:00 2004, queuedelivering=360, inprogress=16
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED]: Connection timed out
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED],status: deferred
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED]: Connection timed out
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED],status: deferred
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED]: Connection timed out
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED],status: deferred
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED]: Connection timed out
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC3F.40AE34D0.3767,from=[EMAIL PROTECTED],addr=jxz 
[EMAIL PROTECTED],status: deferred
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC36.40AE34C4.3751,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED] 
amail.com: Connection timed out
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC36.40AE34C4.3751,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED] 
amail.com,status: deferred
May 21 10:01:56 kitykage courierd:  
completed,id=0008EC36.40AE34C4.3751
May 21 10:01:56 kitykage courierd:  
completed,id=0008EC3F.40AE34D0.3767
May 21 10:01:56 kitykage courierd: Waiting.  shutdown time=none, wakeup  
time=Fri May 21 10:02:00 2004, queuedelivering=360, inprogress=14
May 21 10:01:56 kitykage courieresmtp:  
id=0008EBCF.40AE35F4.3CF6,from=[EMAIL PROTECTED],addr=fu 
[EMAIL PROTECTED]: 250  
[EMAIL PROTECTED] Queued mail for  
delivery
May 21 10:01:56 kitykage courieresmtp:  
id=0008EBCF.40AE35F4.3CF6,from=[EMAIL PROTECTED],addr=fu 
[EMAIL PROTECTED],size=3623,success: delivered: mx3.hotmail.com  
[65.54.167.5]
May 21 10:01:56 kitykage courieresmtp:  
id=0008EBCF.40AE35F4.3CF6,from=[EMAIL PROTECTED],addr=fu 
[EMAIL PROTECTED],size=3623,status: success
May 21 10:01:56 kitykage courierd:  
completed,id=0008EBCF.40AE35F4.3CF6
May 21 10:01:56 kitykage courierd: Waiting.  shutdown time=none, wakeup  
time=Fri May 21 10:02:00 2004, queuedelivering=359, inprogress=13
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC88.40AE3602.3D28,from=[EMAIL PROTECTED],addr= 
[EMAIL PROTECTED]: 554 delivery error: dd This user doesn't  
have a yahoo.com.tw account ([EMAIL PROTECTED]) [0] -  
mta128.mail.tpe.yahoo.com
May 21 10:01:56 kitykage courieresmtp:  
id=0008EC88.40AE3602.3D28,from=[EMAIL PROTECTED],addr= 
[EMAIL PROTECTED],status: failure
May 21 10:01:56 kitykage courierd:  
completed,id=0008EC88.40AE3602.3D28
May 21 10:01:56 kitykage courierd:  
started,id=0008EC88.40AE3602.3D28,from=,module=dsn,host=,addr=4ho 
[EMAIL PROTECTED]
May 21 10:01:56 kitykage courierd: Waiting.  shutdown time=none, wakeup  
time=Fri May 21 10:02:00 2004, queuedelivering=359, inprogress=13
May 21 10:01:56 kitykage courieresmtpd:  
started,ip=[:::219.91.111.230]
May 21 10:01:56 kitykage courierd:  
newmsg,id=0008EBCF.40AE3604.3D5A: dns; localhost (localhost  
[127.0.0.1])
May 21 10:01:56 kitykage courierd:  

Re: [courier-users] grrrr

2004-05-21 Thread William Hue
Robert,

Don't put the IP address registered for your domain.
Only allow relaying for localhost and your internal class-C network.
E.g.:

127.0.0.1   allow,RELAYCLIENT
192.168 allow,RELAYCLIENT


William


  My smtpaccess file ONLY has allow,RELAYCLIENT for localhost
  and the IP
  I registered for my domain.


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread Gordon Messmer
Robert Horton wrote:
Yes I have one smtpaccess file called default. I shall post what I  
have for you to see as well:

Did you run makesmtpaccess after the last time you updated the file?
check:
ls -l /etc/courier/smtpaccess*
Compare the modification time on smtpaccess.dat to the mtime on the 
files in the smtpaccess directory.


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] grrrr

2004-05-21 Thread Jeff Jansen
On Friday 21 May 2004 14:38, Robert Horton wrote:
 Again I apologize for the continued whining and posting, but this is 
 very frustrating to me and I would very much like to make it stop, so 
 any help whatsoever, even if you think it is obscure, would be greatly 
 appreciated.

It looks to me like you are an open relay:

[EMAIL PROTECTED] jeff]$ telnet  24.17.224.197 25
Trying 24.17.224.197...
Connected to 24.17.224.197.
Escape character is '^]'.
helo domain.com
220 mail.agarithil-nost.com ESMTP
250 mail.agarithil-nost.com Ok.
mail from:[EMAIL PROTECTED]
250 Ok.
rcpt to:[EMAIL PROTECTED]
250 Ok

Something is not right because I should get back a 513 Relaying denied error 
after the rcpt to command.  Something's not right.
 






---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] grrrr

2004-05-21 Thread David Gomillion
I can say ditto, except that my server did NOT relay the message.  If
your server failed on message 6, then it may or may not be an open
relay.  Message 6 has the following:

 250 Ok
 MAIL FROM:[EMAIL PROTECTED]
 250 Ok.
 RCPT TO:user-(mynumberhere)[EMAIL PROTECTED]
 250 Ok.
 DATA
 354 Ok.
 (message body)
 250 Ok. 40AE5700.7407

My server accepted the message, and then promptly shipped it off to the
catch-all for the domain.  So, it's NOT a relay, even though the test
told me that it may be.  It seems other servers will reformat the % into
the @ and send the message back out the queue.

My server is stock, I built my own RPMs from the tarball of 0.45.4.  And
I must say that I am very impressed with Courier.  Thanks for all of
your work, Sam.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Robert Horton
 Sent: Friday, May 21, 2004 12:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [courier-users] g
 
 
 I had not tried that. Thank you! After registering it told me it 
 appeared my server accepted an email to relay.
 
 Which adds to the confusion because I have no idea WHY it 
 would accept 
 it. Like I stated, I ONLY have localhost and my IP setup as 
 relayclients in the smptaccess file...
 
 So I have no clue *sighs*
 On Friday, May 21, 2004, at 09:32 US/Pacific, Mike Handley wrote:
 
  Hi Rob,
 
  I don't know if this is any use to you but have you tried the
  following to
  see if it throws up any clues?
 
   http://www.abuse.net/relay.html
 
  Apologies if you've already tried it :)
 
  Mike Handley
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Robert Horton
  Sent: 21 May 2004 15:39
  To: [EMAIL PROTECTED]
  Subject: [courier-users] g
 
  I am sorry to keep bringing this up, but I have tried 
 everything and 
  am not sure where to turn next!
 
  The issue: one particular domain *appears* to be using me 
 as a relay. 
  The messages sit in my mailq and my log grows and grows.  
 I have only 
  a few actual users right now and I want to get this 
 addressed before 
  I get too many.
 
  My smtpaccess file ONLY has allow,RELAYCLIENT for 
 localhost and the 
  IP I registered for my domain. My locals file only has 
 localhost and 
  my domain and my esmtpacceptmailfor also is localhost and my
  domain as is
  hosteddomains. My installation is nothing special nor have 
 I made any
  drastic changes to anything.
 
  Now, to be clear, I do not receive ANY spam from this 
 domain or any 
  other for that matter so I do not think this is a filtering issue, 
  although it may be.
 
  So I guess my question has a few options:
 
  A.) How do I prevent this one domain from attempting to go 
 through me 
  and further HOW are they doing it?
 
  B.) How can I set the mailq so it does not hold onto these emails 
  thereby slowing MY mail down? NOTE: I am not asking how to 
 remove all 
  the messages, I know how to do that. :)
 
  C.) Is there some place that I have not looked that I should be 
  looking? Is this perhaps not even a courier issue but perhaps 
  something in my system? (I don't think so but it does not hurt to 
  consider it.)
 
  I am running an LFS system with the 2.4.25 kernel.
 
  Again I apologize for the continued whining and posting, 
 but this is 
  very frustrating to me and I would very much like to make 
 it stop, so 
  any help whatsoever, even if you think it is obscure, would be 
  greatly appreciated.
 
  Thanks in advance,
 
  Rob
 
 
 
  ---
  This SF.Net email is sponsored by: Oracle 10g
  Get certified on the hottest thing ever to hit the 
 market... Oracle 
  10g. Take an Oracle 10g class now, and we'll give you the 
 exam FREE.
  http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
  ___
  courier-users mailing list
  [EMAIL PROTECTED]
  Unsubscribe:
  https://lists.sourceforge.net/lists/listinfo/courier-users
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by: Oracle 10g
 Get certified on the hottest thing ever to hit the market... 
 Oracle 10g. 
 Take an Oracle 10g class now, and we'll give you the exam FREE.
 http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: 
 https://lists.sourceforge.net/lists/listinfo/c ourier-users
 



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread Robert Horton
Yup..
mtime is the same. I did run makesmtpaccess and the restarted courierd. 
:)

On Friday, May 21, 2004, at 11:46 US/Pacific, Gordon Messmer wrote:
Robert Horton wrote:
Yes I have one smtpaccess file called default. I shall post what I  
have for you to see as well:
Did you run makesmtpaccess after the last time you updated the file?
check:
ls -l /etc/courier/smtpaccess*
Compare the modification time on smtpaccess.dat to the mtime on the 
files in the smtpaccess directory.


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 
10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Multiple domain hosting via MySQL

2004-05-21 Thread Joseph Pry
I'm new to the list. Please forgive me if I make a mistake.
I'm currently running Courier-MTA 0.45.4 under Gentoo Linux. I 
discovered, while setting Courier up to use the MySQL authentication 
daemon that users are not being found correctly in the database. I know 
I have the database connection right, and the table is correct, because 
I can authenticate users who belong to the same domain as the default 
domain in the MySQL settings.  Users in other domains, however, don't 
work. Eg:

Hosted domains: domain1.com, domain2.com
DEFAULT_DOMAIN (in authmysqlrc) is domain1.com
[EMAIL PROTECTED] and [EMAIL PROTECTED] are users in the database
[EMAIL PROTECTED] works fine (250 Ok.)
[EMAIL PROTECTED] returns 550 User unknown.
[EMAIL PROTECTED] also works, though doesn't exist in the database
Naturally, any normal local user on the machine is valid for all domains.
What I'm trying to determine is if this is a known issue, and if it is 
fixed in 0.45.5 or not.  Gentoo doesn't have an ebuild for 0.45.5 yet, 
and I want to make sure I don't waste my time trying to build 0.45.5 by 
hand (since Gentoo puts EVERYTHING in non-default places).

I haven't tried with Postgres yet but if I have no choice I suppose I 
can go that route. LDAP isn't an option, I'm not clued-in enough on that 
to make it work.

It LOOKS like the smtp daemon is only passing the user portion of the 
[EMAIL PROTECTED] string, instead of the whole thing, so the authmysql daemon 
adds @domain1.com and then does its checking. But I could be way off.

Thanks ahead of time for any help anyone can provide!
Joseph Pry

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] grrrr

2004-05-21 Thread Robert Horton
On Friday, May 21, 2004, at 12:06 US/Pacific, Jeff Jansen wrote:
On Friday 21 May 2004 14:38, Robert Horton wrote:
Again I apologize for the continued whining and posting, but this is
very frustrating to me and I would very much like to make it stop, so
any help whatsoever, even if you think it is obscure, would be greatly
appreciated.
It looks to me like you are an open relay:
[EMAIL PROTECTED] jeff]$ telnet  24.17.224.197 25
Trying 24.17.224.197...
Connected to 24.17.224.197.
Escape character is '^]'.
helo domain.com
220 mail.agarithil-nost.com ESMTP
250 mail.agarithil-nost.com Ok.
mail from:[EMAIL PROTECTED]
250 Ok.
rcpt to:[EMAIL PROTECTED]
250 Ok
Something is not right because I should get back a 513 Relaying 
denied error
after the rcpt to command.  Something's not right.

I agree, something is definately not right. Where should I look next? 
Any suggestions? Or am I just an anomaly? :)

Thanks.
Rob

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-21 Thread Robert Horton
On Friday, May 21, 2004, at 12:24 US/Pacific, Jerry Amundson wrote:
Robert Horton writes:
 Here are the last 40 lines of my syslog:
You need to go farther back. That only shows your servers attempts to 
*deliver* - we need to see how they were received in the first place, 
though it may not matter.
How much farther would you like? It looks pretty much (to my untrained 
eye) to be all the same, but I can give you as much as you like. As you 
can imagine it is pretty large at the moment.

Your message didn't indicate whether you only have a *single* tab 
character - I can't emphasize this one enough.
After you removed the registered IP, you ran makesmtpaccess, right?
Yes. I just double checked. There is but one single tab character after 
my declarations. And yes I ran makesmtpaccess and restarted the server.

Yes, as of this writing, you are an open relay - I don't know how it's 
possible, but you are...
jerry

Nor do I and hence my confusion. :)

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread keith
Title: Message



Is it possible that 
what you are seeing is just stacked up in the mail queue? I had a similar 
problem with Postfix. I was an open relay for one day and spent 4 days 
tracking down where all these messages in my logs were coming from even after I 
was certain I was no longer and open relay. turned out the mail queue was 
trying to send the backed up spam to addresses that were no longer valid or 
rejecting the spam. Once I cleaned out my mail queue everything was back 
to normal.

Not sure if this 
will help, but just a thought.

Keith 
Woolston-Young

BTW I'm not sure how 
to reply and get this quotedOutlook kept wanting to reply to people's 
addresses.


[courier-users] Courier for local mail delivery

2004-05-21 Thread Sven Jacobs
Dear newsgroup,

I am trying to set up Courier ESMTP for local mail delivery. Unfortunately it 
just doesn't want to accept mails send to [EMAIL PROTECTED] (for example). It 
gives me a 513 syntax error. It seems like Courier wants a fully qualified 
domain name, because it does work with [EMAIL PROTECTED] (which is 
set up in /etc/hosts). localhost and jupiter (which is the name of my 
computer) are set up in /etc/courier/locals though! I've also set up a 
symbolic link from locals to esmtpacceptmailfor.dir/local. 

Courier should not check for a valid domain name if it crosses a local domain, 
or do I miss something? What am I doing wrong? What is the magic setting?

Thanks for any help!


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Question on attachment size limit.

2004-05-21 Thread Russell Premont
How do I set the maximum size allowed for an attachment? I found the
following in the esmtpd file ULIMIT=. The value specified after ULIMIT= what
size does it equal bytes, Kilobytes, or Megabytes and would that be what I
needed to set? Also does courier have a maximum size limit that would
override whatever was set by the ULIMIT= value?

Thanks




---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread Robert Horton

On Friday, May 21, 2004, at 13:27 US/Pacific, keith wrote:

Is it possible that what you are seeing is just stacked up in the mail queue?  I had a similar problem with Postfix.  I was an open relay for one day and spent 4 days tracking down where all these messages in my logs were coming from even after I was certain I was no longer and open relay.  turned out the mail queue was trying to send the backed up spam to addresses that were no longer valid or rejecting the spam.  Once I cleaned out my mail queue everything was back to normal.
 
Not sure if this will help, but just a thought.
 
Keith Woolston-Young
 
BTW I'm not sure how to reply and get this quoted Outlook kept wanting to reply to people's addresses.


I have cleared the mailq completely a few times and restarted courier and it immediately starts again. :) Good suggestion though. :D

Thanks!


[courier-users] Re: grrrr

2004-05-21 Thread Robert Horton

SNIP

Yes. I just double checked. There is but one single tab character 
after my declarations. And yes I ran makesmtpaccess and restarted the 
server.
I'll bypass the list for the moment for the sake of speed... look for 
the -access parameter of couriertcpd to make sure we're on the same 
page...

[EMAIL PROTECTED] courier]# ps -ewwf | grep esmtpd
courier  18449 1  0 May14 ?00:00:16 
/usr/lib/courier/sbin/couriertcpd 
-stderrlogger=/usr/lib/courier/sbin/courierlogger -user=courier 
-group=courier -access=/etc/courier/smtpaccess.dat -maxprocs=20 
-maxperc=2 -maxperip=1 -pid=/home/courier/var/tmp/esmtpd.pid smtp 
/usr/lib/courier/sbin/courieresmtpd

Here is my output from the above command:
courier374 1  0 13:51 ?00:00:00 /usr/sbin/couriertcpd 
-stderrlogger=/usr/sbin/courierlogger -user=courier -group=courier 
-access=/etc/courier/smtpaccess.dat -maxprocs=40 -maxperc=5 -maxperip=5 
-pid=/var/run/courier/esmtpd.pid smtp /usr/sbin/courieresmtpd 
/usr/lib/courier/courier/modules/esmtp/authstart authdaemon
courier377 1  0 13:51 ?00:00:00 /usr/sbin/courierlogger 
courieresmtpd
courier388 1  0 13:51 ?00:00:00 /usr/sbin/couriertcpd 
-stderrlogger=/usr/sbin/courierlogger -stderrloggername=esmtpd-ssl 
-maxprocs=40 -maxperip=5 -maxperc=5 
-pid=/var/run/courier/esmtpd-ssl.pid 
-stderrlogger=/usr/sbin/courierlogger -user=courier -group=courier 
-access=/etc/courier/smtpaccess.dat -address=0 465 /usr/bin/couriertls 
-server -tcpd /usr/sbin/courieresmtpd 
/usr/lib/courier/courier/modules/esmtp/authstart authdaemon
courier391 1  0 13:51 ?00:00:00 /usr/sbin/courierlogger 
esmtpd-ssl


If it looks different, it's getting set incorrectly with ACCESSFILE in 
/etc/courier/esmtpd.

Also, what OS and file system? I recall seeing LFS, but am not 
positive...

jerry


Here is the line out of my esmptd file:
ACCESSFILE=${sysconfdir}/smtpaccess
and sysconfdir is /etc/courierNow...should that say 
${sysconfdir}/smtpaccess/[name_of_file]?

And, yes. LFS running 2.4.25 kernel.
Thanks for all your help in this. :) I really appreciate it.
Rob

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-21 Thread Robert Horton
Ok, the situation has changed slightly:
I now see lots of 513s in my logs, relaying denied, so I am wondering 
if removing my ip from the smtpaccess file was the culprit?

Anyway, now when I try to send mail to any other email address but mine 
(e.g. [EMAIL PROTECTED]) from work, which is not my localhost, it 
will not relay. Does this mean that for every user that is a remote 
user I have to add their IP to the smtpaccess file to allow them to 
send email?

(If any are wondering I changed my smtp host at work to my work smtp 
server, otherwise these emails would not have reached you all!) :D

Thanks!

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-21 Thread Sam Varshavchik
Robert Horton writes:
Yes I have one smtpaccess file called default. I shall post what I  
have for you to see as well:

  Default access policies for courieresmtpd
localhost   allow,RELAYCLIENT
Although this has nothing to do with your issue, what exactly gave you the 
idea that the smtpaccess files can contain hostnames?

Additionally, post the contains of your esmtpacceptmailfor file.


pgpBKCaa5oiun.pgp
Description: PGP signature


[courier-users] Re: Courier for local mail delivery

2004-05-21 Thread Sam Varshavchik
Sven Jacobs writes:
Dear newsgroup,
I am trying to set up Courier ESMTP for local mail delivery. Unfortunately it 
just doesn't want to accept mails send to [EMAIL PROTECTED] (for example). It 
gives me a 513 syntax error. It seems like Courier wants a fully qualified 
domain name, because it does work with [EMAIL PROTECTED] (which is 
set up in /etc/hosts). localhost and jupiter (which is the name of my 
computer) are set up in /etc/courier/locals though! I've also set up a 
symbolic link from locals to esmtpacceptmailfor.dir/local. 

Courier should not check for a valid domain name if it crosses a local domain, 
or do I miss something? What am I doing wrong? What is the magic setting?
There is no magic setting.  Courier requires fully-qualified domain names.


pgpho3wvjnohQ.pgp
Description: PGP signature


[courier-users] Re: Question on attachment size limit.

2004-05-21 Thread Sam Varshavchik
Russell Premont writes:
How do I set the maximum size allowed for an attachment? I found the
following in the esmtpd file ULIMIT=. The value specified after ULIMIT= what
size does it equal bytes, Kilobytes, or Megabytes and would that be what I
needed to set?
ULIMIT has nothing to do with the maximum size of an attachment.
Here's the description of ULIMIT, from the esmtpd configuration file:
#
#  Sets the maximum size of courieresmtpd's data segment
#
There's nothing here that refers to attachment sizes in any way.
You want to set the sizelimit configuration file, and/or override it by 
setting SIZELIMIT in the smtpaccess file.

See the courier(8) man page.


pgp5jFexYFbWT.pgp
Description: PGP signature


Re: [courier-users] Courier for local mail delivery

2004-05-21 Thread Jeff Jansen
On Friday 21 May 2004 20:25, Sven Jacobs wrote:
 Courier should not check for a valid domain name if it crosses a local 
domain, 
 or do I miss something? What am I doing wrong? What is the magic setting?

Courier checks for a period ('.') in any hostname.   It will reject any domain 
that doesn't have a period in it.  It has nothing to do with whether this 
domain is listed in locals or not.  You'll have to comment out the check in 
the source code and rebuild courier if you want to change this behavior.

Jeff Jansen


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier for local mail delivery

2004-05-21 Thread Sven Jacobs
On Saturday 22 May 2004 00:34, Sam Varshavchik wrote:
 There is no magic setting.  Courier requires fully-qualified domain names.

So what does that mean? It's not suited for local mail delivery? A lot of 
programs send mails to [EMAIL PROTECTED] addresses, fetchmail or cron for 
example. Do I have to use another MTA for my purpose?


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread Chris Petersen
 Anyway, now when I try to send mail to any other email address but mine 
 (e.g. [EMAIL PROTECTED]) from work, which is not my localhost, it 
 will not relay. Does this mean that for every user that is a remote 
 user I have to add their IP to the smtpaccess file to allow them to 
 send email?

Why not just turn on authenticated SMTP?  No need to open ANY IP's to
relayclient.

-Chris



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread Robert Horton
On Friday, May 21, 2004, at 15:31 US/Pacific, Sam Varshavchik wrote:
Robert Horton writes:
Yes I have one smtpaccess file called default. I shall post what I  
have for you to see as well:
  Default access policies for courieresmtpd
localhost   allow,RELAYCLIENT
Although this has nothing to do with your issue, what exactly gave you 
the idea that the smtpaccess files can contain hostnames?
I was just curious actually :)
Additionally, post the contains of your esmtpacceptmailfor file.
Here it is:
agarithil-nost.com
agarithil-nost.com

---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier for local mail delivery

2004-05-21 Thread Jeff Jansen
On Friday 21 May 2004 22:52, Sven Jacobs wrote:
 So what does that mean? It's not suited for local mail delivery? A lot of 
 programs send mails to [EMAIL PROTECTED] addresses, fetchmail or cron for 
 example. Do I have to use another MTA for my purpose?

It means that you either need to patch courier to accept messages in this form 
or make sure that no programs send out messages addressed to 
[EMAIL PROTECTED].  Cron sends to whatever user you tell it to, usually in the 
form [EMAIL PROTECTED].  So make sure that 'hostname' returns a machine name 
that is in your locals file.  Fetchmail, I believe, will do the same - it 
tries to get the 'hostname' and then falls back to localhost if it doesn't.  
(But don't quote me on that.)  

And while you're checking make sure that programs don't send to postmaster 
or any other address without a fully qualified domain because courier will 
reject that as well.  (In this case I patch courier to accept a bare 
postmaster - but nothing else - because I had some program that insisted on 
sending it that way.  Although I can't even remember any more what that 
program was. :-)

Jeff Jansen


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier for local mail delivery

2004-05-21 Thread Phillip Hutchings
On 22/05/2004, at 10:52 AM, Sven Jacobs wrote:
On Saturday 22 May 2004 00:34, Sam Varshavchik wrote:
There is no magic setting.  Courier requires fully-qualified domain 
names.
So what does that mean? It's not suited for local mail delivery? A lot 
of
programs send mails to [EMAIL PROTECTED] addresses, fetchmail or cron for
example. Do I have to use another MTA for my purpose?
They do? Could have fooled me, because the always seem to send to the 
address I tell them to...

I guess the trick here is to properly configure those programs so they 
send to a FQDN.
--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/


smime.p7s
Description: S/MIME cryptographic signature


Re: [courier-users] Re: grrrr

2004-05-21 Thread Jeff Jansen
Looks like you fixed it, whatever you did.

[EMAIL PROTECTED] jeff]$ telnet  24.17.224.197 25
Trying 24.17.224.197...
Connected to 24.17.224.197.
Escape character is '^]'.
helo domain.com
220 mail.agarithil-nost.com ESMTP
250 mail.agarithil-nost.com Ok.
mail from:[EMAIL PROTECTED]
250 Ok.
rcpt to:[EMAIL PROTECTED]
513 Relaying denied.

Now just make sure any roaming users have authenticated SMTP enabled in 
their mail clients and you're set to go.  (I'd also make sure they using 
encryption, especially if they use LOGIN or PLAIN authentication.)

Jeff Jansen


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-21 Thread Sam Varshavchik
Jeff Jansen writes:
Looks like you fixed it, whatever you did.
[EMAIL PROTECTED] jeff]$ telnet  24.17.224.197 25
Trying 24.17.224.197...
Connected to 24.17.224.197.
Escape character is '^]'.
helo domain.com
220 mail.agarithil-nost.com ESMTP
250 mail.agarithil-nost.com Ok.
mail from:[EMAIL PROTECTED]
250 Ok.
rcpt to:[EMAIL PROTECTED]
513 Relaying denied.
Now just make sure any roaming users have authenticated SMTP enabled in 
their mail clients and you're set to go.  (I'd also make sure they using 
encryption, especially if they use LOGIN or PLAIN authentication.)
I suspect that he had a NAT firewall which forwarded all incoming port 25 
connections to his server.

Naturally, everyone who would connect to the server would have, from the 
server's perspective, the firewall's IP address, to which he granted 
relaying privileges.




pgpsjQuKJtlRH.pgp
Description: PGP signature


Re: [courier-users] Re: grrrr

2004-05-21 Thread Jeff Jansen
On Friday 21 May 2004 23:56, Sam Varshavchik wrote:
 I suspect that he had a NAT firewall which forwarded all incoming port 25 
 connections to his server.
 
 Naturally, everyone who would connect to the server would have, from the 
 server's perspective, the firewall's IP address, to which he granted 
 relaying privileges.

That would mean that he was doing Source NAT from outside to his internal 
network, right?  That would seem to me to be a *very* bad idea and a really 
misconfigured firewall.   Port forwarding should be Destination NAT and leave 
the source ip address alone.  Or am I missing something?  

Jeff Jansen


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: grrrr

2004-05-21 Thread William Hue
Robert,

See AUTHMODULELIST in courier's etc/esmtpd file.

William


Robert Horton wrote:
 
 Ok, the situation has changed slightly:
 
 I now see lots of 513s in my logs, relaying denied, so I am wondering
 if removing my ip from the smtpaccess file was the culprit?
 
 Anyway, now when I try to send mail to any other email address but mine
 (e.g. [EMAIL PROTECTED]) from work, which is not my localhost, it
 will not relay. Does this mean that for every user that is a remote
 user I have to add their IP to the smtpaccess file to allow them to
 send email?
 
 (If any are wondering I changed my smtp host at work to my work smtp
 server, otherwise these emails would not have reached you all!) :D
 
 Thanks!
 
 ---
 This SF.Net email is sponsored by: Oracle 10g
 Get certified on the hottest thing ever to hit the market... Oracle 10g.
 Take an Oracle 10g class now, and we'll give you the exam FREE.
 http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users