Re: [courier-users] Deny relay

2014-11-12 Thread Matus UHLAR - fantomas
>Stephan Knorr writes:
>>I am trying to deny authenticated  esmtp (on port 587) for local users who
>>have configured their email-client with a foreign from-adress (not in our
>>local domain).

On 12.11.14 08:13, Sam Varshavchik wrote:
>What would be possible is writing a custom mail filter that rejects 
>messages from authenticated connections that do not have a matching 
>From: header:
>
>http://www.courier-mta.org/courierperlfilter.html
>
>Some documentation to get started on writing a custom filter in Perl.

... and I would just recommend not to block foreign domains, but even
foreigh addresses - block any address user does not own, e.g. is not same as its
login name or is not in aliases. 


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Save the whales. Collect the whole set.

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Deny relay

2014-11-12 Thread Sam Varshavchik

Stephan Knorr writes:


Hi.

I am trying to deny authenticated  esmtp (on port 587) for local users who
have
configured their email-client with a foreign from-adress (not in our local
domain).

Is it possible and how?
Maybe a really stupid question but ...

Any help appreciated.


A mail client authenticates before sending a single line of a message. At  
the time the client connects and authenticates, the server has no knowledge  
of the message the client intends to send, if any.


What would be possible is writing a custom mail filter that rejects messages  
from authenticated connections that do not have a matching From: header:


http://www.courier-mta.org/courierperlfilter.html

Some documentation to get started on writing a custom filter in Perl.



pgpi_pTmqwNWH.pgp
Description: PGP signature
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Deny relay

2014-11-12 Thread Stephan Knorr
Hi.

I am trying to deny authenticated  esmtp (on port 587) for local users who
have
configured their email-client with a foreign from-adress (not in our local
domain).

Is it possible and how? 
Maybe a really stupid question but ...

Any help appreciated.

Stephan

---
Stephan Knorr  +41 44 265 64 48
IT Responsible
Kantonsschule MNG Raemibuehl
Raemistrasse 58
CH-8001 Zuerich, Switzerland
http://www.mng.ch
---



--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] mailq - spool don't flush

2014-11-12 Thread Sam Varshavchik

mariobe...@bol.com.br writes:


Also, you did not indicate which version of Courier you're using, or provide
any other information about your configuration, such as whether
"servicosocial.uftm.edu.br" is configured as local domain, or if it's a
remote address. Some old versions might have a problem with backscatter
suppression. In either case, it should resolve itself over time.

Version: 0.66.1-1ubuntu4


This is a three year old version. I don't recall any specific issue that  
might be this problem; however, a lot of things have changes since then, and  
you should update to the current version.




pgp0TTAWZPQzt.pgp
Description: PGP signature
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] mailq - spool don't flush

2014-11-12 Thread mariobetim
 
---[ www.tvuniversal.com ]---
 "A graça de nosso Senhor Jesus Cristo seja com todos vós."

 





De: mr...@courier-mta.com
Enviada: Terça-feira, 11 de Novembro de 2014 18:28
Para: courier-users@lists.sourceforge.net
Assunto: [courier-users] mailq - spool don't flush

mariobe...@bol.com.br writes:

> Hi,
>  
> Sorry, follows correct log.
>  
> "sost= " correct is "host="

Why did you change/edit the maillog, instead of posting it verbatim?

Without accurate, complete, unchanged logs, it's not possible to give an 
accurate answer.

translate...

A few other possibilities:

The default queue time for Courier is one week. Check your queuetime config 
setting. One possible answer is that you have configured a longer period.

daemon@mail:~$ more /etc/courier/queuetime
20h


Also, you did not indicate which version of Courier you're using, or provide 
any other information about your configuration, such as whether 
"servicosocial.uftm.edu.br" is configured as local domain, or if it's a 
remote address. Some old versions might have a problem with backscatter 
suppression. In either case, it should resolve itself over time.

Version: 0.66.1-1ubuntu4


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users