Re: Signing injected mail

2011-11-08 Thread Noel Jones
On 11/8/2011 10:35 PM, Simon Brereton wrote: > On 8 November 2011 15:30, Wietse Venema > wrote: >> Simon Brereton: >>> On 4 November 2011 15:49, Simon Brereton >>> wrote: Hi Amavis checks both incoming and outgoing mail. ?DKIMPROXY signs outgoing mail (sadly, before Amavis, s

Re: Signing injected mail

2011-11-08 Thread Simon Brereton
On 8 November 2011 15:30, Wietse Venema wrote: > Simon Brereton: >> On 4 November 2011 15:49, Simon Brereton >> wrote: >> > Hi >> > >> > Amavis checks both incoming and outgoing mail. ?DKIMPROXY signs >> > outgoing mail (sadly, before Amavis, so amavis verifies the signature >> > - but I'm okay

Finally, postconf dynamic parameter name support

2011-11-08 Thread Wietse Venema
201108 Cleanup: postconf finally supports dynamic configuration parameter names: parameters whose name depend on a mail delivery transport name in master.cf, and parameters whose names are specified with smtpd_restriction_classes in main.cf. This adds 70 par

Re: Quota for mail

2011-11-08 Thread Martin Strand
On Tue, 08 Nov 2011 10:30:47 +0100, Egoitz Aurrekoetxea Aurre wrote: You could too take a look to Postfix Quota Reject. http://postfixquotareject.ramattack.net. It's a postfix policy daemon which allow mail to be rejected at smtp dialogue when mailbox are overquota... can work from the own mai

Re: Quota for mail

2011-11-08 Thread Stan Hoeppner
On 11/8/2011 6:48 AM, Wietse Venema wrote: > Stan Hoeppner: >> His problem is spambots relaying *outbound* through Postfix. This isn't >> an inbound problem. You're describing an inbound policy. > > In that case, any policy daemon that counts the messages or bytes > per client or sender will do

Re: Signing injected mail

2011-11-08 Thread Wietse Venema
Simon Brereton: > On 4 November 2011 15:49, Simon Brereton > wrote: > > Hi > > > > Amavis checks both incoming and outgoing mail. ?DKIMPROXY signs > > outgoing mail (sadly, before Amavis, so amavis verifies the signature > > - but I'm okay with that for now) on the submission port. > > > > Mail t

Re: Signing injected mail

2011-11-08 Thread Simon Brereton
On 4 November 2011 15:49, Simon Brereton wrote: > Hi > > Amavis checks both incoming and outgoing mail.  DKIMPROXY signs > outgoing mail (sadly, before Amavis, so amavis verifies the signature > - but I'm okay with that for now) on the submission port. > > Mail that is injected (i.e. from CRON, ap

Re: Quota for mail

2011-11-08 Thread Egoitz Aurrekoetxea Aurre
On Tue, 8 Nov 2011, Egoitz Aurrekoetxea Aurre wrote: On Tue, 8 Nov 2011, Stan Hoeppner wrote: http://postfixquotareject.ramattack.net. It's a postfix policy daemon which allow mail to be rejected at smtp dialogue when mailbox are overquota... can work from the own mailbox machine or from t

Re: Quota for mail

2011-11-08 Thread Egoitz Aurrekoetxea Aurre
On Tue, 8 Nov 2011, Stan Hoeppner wrote: http://postfixquotareject.ramattack.net. It's a postfix policy daemon which allow mail to be rejected at smtp dialogue when mailbox are overquota... can work from the own mailbox machine or from the own mailscanning machine farm asking to a daemon in ma

Re: [SOLVED]Re: Quota for mail

2011-11-08 Thread Tobias Hachmer
Am 08.11.2011 18:16, schrieb Leslie León Sinclair: Done, at last!!! Missing stuff on my install: [PostfixAdmin config file] $CONF['used_quotas'] = 'YES'; // Was no activated, this was the main reason of my past mails. Sorry again. $CONF['quota'] = 'YES'; Don't forget: [PostfixAdmin config fi

[SOLVED]Re: Quota for mail

2011-11-08 Thread Leslie León Sinclair
Done, at last!!! Missing stuff on my install: [PostfixAdmin config file] $CONF['used_quotas'] = 'YES'; // Was no activated, this was the main reason of my past mails. Sorry again. $CONF['quota'] = 'YES'; Other changes made: [Dovecot config file] protocol imap { mail_plugins = quota imap_quot

Re: understanding the logs

2011-11-08 Thread Simon Brereton
On 8 November 2011 02:53, Stan Hoeppner wrote: > On 11/8/2011 1:13 AM, Geert Mak wrote: > >> We had a user account hacked (weak password) and our SMTP server was used >> for sending spam. We discovered it after our mail server IP began to show up >> in RBLs. We improved the passwords, however th

Re: Quota for mail

2011-11-08 Thread Tobias Hachmer
Am 08.11.2011 15:18, schrieb Leslie León Sinclair: The problem is showing the quota for the users[I have multiple quotas, a field of a MySQL table], Users1 have 10MB quota and Users2 have 100MB, some users have 250MB, how can I show quota with a query, with Dovecot or Postfix??? If all my users h

Re: Quota for mail

2011-11-08 Thread Wietse Venema
Leslie Le?n Sinclair: > The problem is showing the quota for the users[I have multiple quotas, a > field of a MySQL table], Users1 have 10MB quota and Users2 have 100MB, > some users have 250MB, how can I show quota with a query, with Dovecot > or Postfix??? If all my users have the same quota,

Re: Quota for mail

2011-11-08 Thread Leslie León Sinclair
The problem is showing the quota for the users[I have multiple quotas, a field of a MySQL table], Users1 have 10MB quota and Users2 have 100MB, some users have 250MB, how can I show quota with a query, with Dovecot or Postfix??? If all my users have the same quota, works for me great[I have tes

Re: Quota for mail

2011-11-08 Thread Wietse Venema
Stan Hoeppner: > His problem is spambots relaying *outbound* through Postfix. This isn't > an inbound problem. You're describing an inbound policy. In that case, any policy daemon that counts the messages or bytes per client or sender will do the job. There are rate limits in policyd and postfwd

Re: Distribute mail based on sending domain?

2011-11-08 Thread Fernando Maior
Hi, Just when I pressed "send" I realize that may be the sender dependent relayhost maps should be useful too. Have a look at it, if you please. http://www.postfix.org/postconf.5.html#sender_dependent_relayhost_maps Atenciosamente, --- Fernando Maciel Souto Maior LPIC/1(31908), LinuxCounter(3913

Re: Distribute mail based on sending domain?

2011-11-08 Thread Fernando Maior
Hi, May be you should have a look at transports table, at http://www.postfix.org/transport.5.html There are some useful examples you should try. Best regards, --- Fernando Maciel Souto Maior LPIC/1(31908), LinuxCounter(391325) On Tue, Nov 8, 2011 at 3:53 AM, vr wrote: > We have Exchange 201

Re: Symlink problem = file is a symbolic link or Mailbox vulnerable - directory /var/spool/mail must have 1777 protection

2011-11-08 Thread Marek Krolikowski
-Oryginalna wiadomość- From: Stan Hoeppner Sent: Tuesday, November 08, 2011 11:06 AM To: postfix-users@postfix.org Subject: Re: Symlink problem = file is a symbolic link or Mailbox vulnerable - directory /var/spool/mail must have 1777 protection Ok, so it appears you're having Postfix de

Re: Quota for mail

2011-11-08 Thread Stan Hoeppner
On 11/8/2011 3:30 AM, Egoitz Aurrekoetxea Aurre wrote: > On Mon, 7 Nov 2011, Leslie León Sinclair wrote: > >> Thanks again, and sorry the thread, I´am stacked here. Almost near the >> solution. > You could too take a look to Postfix Quota Reject. > http://postfixquotareject.ramattack.net. It's a

Re: Symlink problem = file is a symbolic link or Mailbox vulnerable - directory /var/spool/mail must have 1777 protection

2011-11-08 Thread Stan Hoeppner
On 11/8/2011 2:54 AM, Marek Krolikowski wrote: >> From: Stan Hoeppner >> Sent: Tuesday, November 08, 2011 8:59 AM >> To: postfix-users@postfix.org >> Subject: Re: Symlink problem = file is a symbolic link or Mailbox >> vulnerable - directory /var/spool/mail must have 1777 protection >> Then you nee

Re: reject or discard outgoing mail ?

2011-11-08 Thread Frank Bonnet
On 11/08/2011 10:39 AM, Ralf Hildebrandt wrote: * Frank Bonnet: smtpd_recipient_restrictions = hash:/usr/local/etc/postfix/banned, ( add this map , it seems to work :-) ) reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient,

Re: reject or discard outgoing mail ?

2011-11-08 Thread Ralf Hildebrandt
* Frank Bonnet : > smtpd_recipient_restrictions = >hash:/usr/local/etc/postfix/banned, ( add this map , it seems to > work :-) ) >reject_unauth_pipelining, >permit_mynetworks, >reject_unauth_destination, >reject_unlisted_recipient, >permit I think: smtpd_recipient_restric

Re: reject or discard outgoing mail ?

2011-11-08 Thread Frank Bonnet
On 11/08/2011 10:16 AM, Ralf Hildebrandt wrote: * Frank Bonnet: On 11/08/2011 09:47 AM, Ralf Hildebrandt wrote: * Frank Bonnet: Hello I would like to reject or discard outgoing emails to some particuliar addresses I'm a bit confuse on what to use the more efficiently. I would DISCARD it. Y

Re: Quota for mail

2011-11-08 Thread Egoitz Aurrekoetxea Aurre
On Mon, 7 Nov 2011, Leslie León Sinclair wrote: Thanks again, and sorry the thread, I´am stacked here. Almost near the solution. Best regards. You could too take a look to Postfix Quota Reject. http://postfixquotareject.ramattack.net. It's a postfix policy daemon which allow mail t

Re: reject or discard outgoing mail ?

2011-11-08 Thread Ralf Hildebrandt
* Frank Bonnet : > On 11/08/2011 09:47 AM, Ralf Hildebrandt wrote: > >* Frank Bonnet: > >>Hello > >> > >>I would like to reject or discard outgoing emails to some particuliar > >>addresses > >>I'm a bit confuse on what to use the more efficiently. > >I would DISCARD it. > > > Yes I too but I am con

Re: reject or discard outgoing mail ?

2011-11-08 Thread Frank Bonnet
On 11/08/2011 09:47 AM, Ralf Hildebrandt wrote: * Frank Bonnet: Hello I would like to reject or discard outgoing emails to some particuliar addresses I'm a bit confuse on what to use the more efficiently. I would DISCARD it. Yes I too but I am confuse on WHICH Postfix functionnality to do so

Re: Symlink problem = file is a symbolic link or Mailbox vulnerable - directory /var/spool/mail must have 1777 protection

2011-11-08 Thread Marek Krolikowski
From: Stan Hoeppner Sent: Tuesday, November 08, 2011 8:59 AM To: postfix-users@postfix.org Subject: Re: Symlink problem = file is a symbolic link or Mailbox vulnerable - directory /var/spool/mail must have 1777 protection Then you need to tell us what MDA you are currently using and what type of

Re: reject or discard outgoing mail ?

2011-11-08 Thread Ralf Hildebrandt
* Frank Bonnet : > Hello > > I would like to reject or discard outgoing emails to some particuliar > addresses > I'm a bit confuse on what to use the more efficiently. I would DISCARD it. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Cam

reject or discard outgoing mail ?

2011-11-08 Thread Frank Bonnet
Hello I would like to reject or discard outgoing emails to some particuliar addresses I'm a bit confuse on what to use the more efficiently. Some machines are infected by some email robots and I would like to block those outgoing emails during the time we are searching those infected machine t

Re: understanding the logs

2011-11-08 Thread Robert Schetterer
Am 08.11.2011 08:13, schrieb Geert Mak: > Hi, > > We had a user account hacked (weak password) and our SMTP server was used for > sending spam. We discovered it after our mail server IP began to show up in > RBLs. We improved the passwords, however the question is how best to watch > the server