[courier-users] outgoing mail setting?

2007-01-05 Thread Brian S. Meehan
Hi,
I searched the web docs and courier archives but couldn't find the answer.
I am on rr.com and my mail server currently sends out mail just fine,
except to any other rr.com domain, however, I know that if I set the
outgoing mail to all go through my ISP's outgoing smtp server, then it
should all go successfully.
The courier-mta version I have is older, from early 2005. Please don't ask
me to update as everything else works just fine.

Where is the file that I can add in my ISP's outgoing mail server and then
tell it to use that host for ALL emails, or at least to use it for any
emails going to any other rr.com domain?

Thanks,
Brian



-- 
All people who think everything is either black or white are idiots.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] outgoing mail setting?

2007-01-05 Thread Sam Varshavchik

Brian S. Meehan writes:


Where is the file that I can add in my ISP's outgoing mail server and then
tell it to use that host for ALL emails, or at least to use it for any
emails going to any other rr.com domain?


esmtproutes.

See the courier(8) man page.




pgp3ko0wyKEgc.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] outgoing mail problem

2005-07-03 Thread dave
After the latest upgrade, the following problem emerged, I can send mail 
fine from webmail, but using the Mac mall program, the message never seems 
to arrive. The logs have something like: 


Jul  3 12:11:34 gatekey imapd: Connection, ip=[:::24.234.157.189]
Jul  3 12:11:34 gatekey imapd: LOGIN, [EMAIL PROTECTED], 
ip=[:::24.234.157.189], protocol=IMAP

Jul  3 12:11:39 gatekey imapd: Connection, ip=[:::24.234.157.189]
Jul  3 12:11:39 gatekey imapd: LOGIN, [EMAIL PROTECTED], 
ip=[:::24.234.157.189], protocol=IMAP

Jul  3 12:12:09 gatekey courieresmtpd: started,ip=[:::24.234.157.189]
Jul  3 12:12:09 gatekey courieresmtpd: courieresmtpd: STARTTLS failed: 
DEBUG: Unexpected SSL connection shutdown.

Jul  3 12:12:12 gatekey courieresmtpd: started,ip=[:::24.234.157.189]
Jul  3 12:12:12 gatekey courierd: newmsg,id=00185330.42C8388C.1E33: dns; 
[24.234.157.189] ([:::24.234.157.189])
Jul  3 12:12:12 gatekey courierd: 
started,id=00185330.42C8388C.1E33,from=[EMAIL PROTECTED],module 
=esmtp,host=hotmail.com,addr=[EMAIL PROTECTED]
Jul  3 12:12:12 gatekey courierd: Waiting.  shutdown time=none, wakeup 
time=none, queuedelivering=1, inprogress=1

[EMAIL PROTECTED] sbin]# tail /var/log/maillog
Jul  3 12:12:12 gatekey courierd: newmsg,id=00185330.42C8388C.1E33: dns; 
[24.234.157.189] ([:::24.234.157.189])
Jul  3 12:12:12 gatekey courierd: 
started,id=00185330.42C8388C.1E33,from=[EMAIL PROTECTED],module 
=esmtp,host=hotmail.com,addr=[EMAIL PROTECTED]
Jul  3 12:12:12 gatekey courierd: Waiting.  shutdown time=none, wakeup 
time=none, queuedelivering=1, inprogress=1
Jul  3 12:13:12 gatekey courieresmtp: 
id=00185330.42C8388C.1E33,from=[EMAIL PROTECTED],addr=dmadance 
@hotmail.com: 250  
[EMAIL PROTECTED] Queued mail for 
delivery
Jul  3 12:13:12 gatekey courieresmtp: 
id=00185330.42C8388C.1E33,from=[EMAIL PROTECTED],addr=dmadance 
@hotmail.com,size=637,success: delivered: mx3.hotmail.com [65.54.253.99]
Jul  3 12:13:12 gatekey courieresmtp: 
id=00185330.42C8388C.1E33,from=[EMAIL PROTECTED],addr=dmadance 
@hotmail.com,size=637,status: success

Jul  3 12:13:12 gatekey courierd: completed,id=00185330.42C8388C.1E33
Jul  3 12:13:12 gatekey courierd: Waiting.  shutdown time=Sun Jul  3 
12:58:10 2005, wakeup time=Sun Jul  3 12:58:10 2005, queuedelivering=0, 
inprogress=0 

It appears that the message is delivered, but it never arrives. I can send 
mail to other accounts on my server just fine. When I send via webmail, it 
arrives with very little delay. I seem to be able to receive mail just fine 
from the outside world. 

Any suggestions? 




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] outgoing mail

2004-03-11 Thread Kóczán Péter
Hi,

I've asked this question before, and got the answer that I shall use
mailfilter for it, but afterwards I couldn't manage to get it work.

So my problem was that I use courier, and people who have account to the
server can send mail after authentication, which is not a problem. The
problem is that they - after auth - can send mail from any address, even if
it is not hosted on my server. So I need to specify email address(es) for
each email account on the server.

I would appreciate a working example for this, in any way. I use mysql auth
btw.

Thanks in advance,

Peter Koczan



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] outgoing mail

2004-03-11 Thread Phillip Hutchings
On 12/03/2004, at 6:22 AM, Kóczán Péter wrote:

Hi,

I've asked this question before, and got the answer that I shall use
mailfilter for it, but afterwards I couldn't manage to get it work.
So my problem was that I use courier, and people who have account to 
the
server can send mail after authentication, which is not a problem. The
problem is that they - after auth - can send mail from any address, 
even if
it is not hosted on my server. So I need to specify email address(es) 
for
each email account on the server.
You are using SMTP. It's a problem with the protocol, not the server. 
It would be possible to check using a courierfilter that the From: 
header was from your server, if the top Received: header has the AUTH 
keyword.

--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/


smime.p7s
Description: S/MIME cryptographic signature


Re: [courier-users] Outgoing mail and SpamAssasin (courierfilter?)

2003-10-30 Thread Systems Administrator
On Mon, 27 Oct 2003, Phillip Hutchings wrote:

 Ah, makes sense. You would need a courierfilter on the incoming SMTP.
 Check out courierperlfilter. Basically you need to pass the message
 through to spamassassin. Check the share/perlfilter-example.pl file for
 how to implement the filter, then you want something like this in the
 perlfilter example.

 #Look for these lines:
 #  Here's where the custom content filter is implemented.  Use
 filehandles
 #  so that cleanup's automatic.

 my $fh=new IO::File  $filename;

  return  unless defined $fh;

 #and insert code replacing the while loop

 my $filt = new Mail::SpamAssassin();
 my $status = $spamtest-check ($mail);
   if ($status-is_spam ()) {
   return '550 Spam Denied';
   }
 return '';

 Probably some mistake there, but hopefully some list member will point
 out where.

Found one bug.  Here's what I inserted.

`echo hi  /tmp/spf.log`;

my $mail = Mail::SpamAssassin::NoAudit-new({'data' = *$fh});

my $filt = new Mail::SpamAssassin();
my $status = $filt-check ($mail);
if ($status-get_hits()  20) {
return '550 Spam Denied';
}
return '';


Only one problem -- it never creates the /tmp/spf.log file -- I
think it's not being run.  I've run filterctl start perlfilter and
courierfilter start, and the following file is:

/etc/courier/filters/perlfilter

/usr/local/bin/spamassassin-filter.pl


...which is of course where I keep the script.  Anyway, can anyone
tell me if there's a way to get more debugging information/errors from
these scripts?  I've looked in the logs, but all I see is stuff about
starting and stopping perlfilter.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Outgoing mail and SpamAssasin (courierfilter?)

2003-10-26 Thread Systems Administrator
Hi all.  I have two linked questions:
1.  Am I right in understanding that the tool of choice for filtering
*outgoing* mail is that documented in the courierfilter man page?
2.  If so, has anyone got a script that works with courierfilter and
SpamAssassin?

[Versions:
Courier: 0.42.2-1.7.2
Redhat: 7.2
Perl: 5.6.1
]

Slightly longer version -- some of our ISP customers are being
used for relaying spam, and I'm trying to fix it.



--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Outgoing mail and SpamAssasin (courierfilter?)

2003-10-26 Thread Phillip Hutchings
On 27/10/2003, at 5:10 PM, Systems Administrator wrote:

On Mon, 27 Oct 2003, Phillip Hutchings wrote:

Slightly longer version -- some of our ISP customers are being
used for relaying spam, and I'm trying to fix it.
There's a more important question here - how are they being used for
spam relaying? More security is the answer, not screening the spam. If
clients need to send emails from outside your network, use
authenticated SMTP, not IP screening.
	Doing this already.

If their computers are being used for relaying, get them to close the
ports or secure their computers further.
Ports?  What are ports?  Secure?  I just use it for e-mail?  Virus
checker?  Well, only if it came with the computer.
	:).  This is an ISP.  Not only that, but we specialise in users
who don't know that much about computers.  So asking them to do these
things is often a problem.  Likewise, if a real spammer ever signs up 
for
our service, I want the server to automatically prevent them from 
sending
any spam.  My basic approach is that our users will usually do 
something
stupid (and someday maybe malicious), and I want to minimise the 
impact on
everyone else.
Ah, makes sense. You would need a courierfilter on the incoming SMTP. 
Check out courierperlfilter. Basically you need to pass the message 
through to spamassassin. Check the share/perlfilter-example.pl file for 
how to implement the filter, then you want something like this in the 
perlfilter example.

#Look for these lines:
#  Here's where the custom content filter is implemented.  Use 
filehandles
#  so that cleanup's automatic.

my $fh=new IO::File  $filename;

return  unless defined $fh;

#and insert code replacing the while loop

my $filt = new Mail::SpamAssassin();
my $status = $spamtest-check ($mail);
if ($status-is_spam ()) {
return '550 Spam Denied';
}
return '';
Probably some mistake there, but hopefully some list member will point 
out where.

--
Phillip Hutchings
[EMAIL PROTECTED]
http://www.sitharus.com/


smime.p7s
Description: S/MIME cryptographic signature


RE: [courier-users] Outgoing mail and SpamAssasin (courierfilter?)

2003-10-26 Thread Mitch \(WebCob\)
You should be able to filter it, but you will also want to log it... that
way you can nail the sob's and shut down their accounts. Whatevber solution
you have will be crippled unless you know who it is - they will still waste
resources and they won't stop cause they don't know who gets their spam
anyways...

I did a patch to an older version of courer that added the authenticated
user name to the message logs - you should do something similar - trap your
spam and parse this information out - anyone guilty of sending more than X
spam messages is subject to review.

The danger of what you are trying in general is that false positives and how
you handle them... how do you notify the sender their message was detected
as spam and not delivered.

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Systems
Administrator
Sent: Sunday, October 26, 2003 7:08 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Outgoing mail and SpamAssasin (courierfilter?)


Hi all.  I have two linked questions:
1.  Am I right in understanding that the tool of choice for filtering
*outgoing* mail is that documented in the courierfilter man page?
2.  If so, has anyone got a script that works with courierfilter and
SpamAssassin?

[Versions:
Courier: 0.42.2-1.7.2
Redhat: 7.2
Perl: 5.6.1
]

Slightly longer version -- some of our ISP customers are being
used for relaying spam, and I'm trying to fix it.



--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] outgoing mail administrative size limit

2002-02-08 Thread T Maxx

how do I set the outgoing mail administrative size
limit??
tia
p.s. are there any searchable archives around anymore??

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users