sent mail to the mail list which contains myself

2013-05-28 Thread Bu Xiaobing
Hi there, When I send mails to the mail list that contains myself, I will received the mail. Is there any way to discard there mails sent back to the original sender in the mail list? Thanks, Bu Xiaobing

Re: sent mail to the mail list which contains myself

2013-05-28 Thread lists
On Tue, 28 May 2013 16:04:09 +0800 Bu Xiaobing wrote: > When I send mails to the mail list that contains myself, I will > received the mail. > > Is there any way to discard there mails sent back to the original > sender in the mail list? > This not related to postfix. But if you're using Mailm

Re: Huge mail queue

2013-05-28 Thread /dev/rob0
On Tue, May 28, 2013 at 02:30:29PM +0800, Ramesh wrote: > Our mail server configured Postfix version 2.4.5 with mailmarshal 2.4.5 is very old. Is the rest of the system this old? Have you kept up with all your OS distributor's security updates? Likewise, have you kept up-to-date on any software

Re: sent mail to the mail list which contains myself

2013-05-28 Thread /dev/rob0
On Tue, May 28, 2013 at 04:04:09PM +0800, Bu Xiaobing wrote: > When I send mails to the mail list that contains myself, I will > received the mail. > > Is there any way to discard there mails sent back to the original > sender in the mail list? If you mean THIS mailing list, no, it does not off

Re: Problem sending emails to virtual users

2013-05-28 Thread Noel Jones
On 5/27/2013 9:27 PM, SONNY LASKAR wrote: > > *My problem is with sending emails to virtual users. It always says > "unknown user".* > Please assist > Welcome to postfix. For assistance please see: http://www.postfix.org/DEBUG_README.html#mail When posting to this list, use plain text only, n

Virtual User Aliases

2013-05-28 Thread Simon B
Hi A few days ago there was an issue with one of our mail servers - and I had to disable perl related filters (dkim and amavisd). And since then it's not processing virtual_user_aliases. in postconf -n postconf -n | grep virtual_user_aliases virtual_alias_maps = hash:/etc/postfix/virtual_user_a

Re: Virtual User Aliases

2013-05-28 Thread Viktor Dukhovni
On Tue, May 28, 2013 at 05:33:46PM +0200, Simon B wrote: > Hi > > A few days ago there was an issue with one of our mail servers - and I > had to disable perl related filters (dkim and amavisd). And since > then it's not processing virtual_user_aliases. http://www.postfix.org/postconf.5.html

Re: Virtual User Aliases

2013-05-28 Thread Benny Pedersen
Simon B skrev den 2013-05-28 17:33: May 27 23:30:17 mail postfix/pipe[16721]: 57FF6C8C033: to=, relay=dovecot, delay=2, delays=2/0/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot se rvice) normally that delivered line would mention p...@example.com and that's where Dovecot would deliver

Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Ben Johnson
Hello, I am experiencing something very similar to, or exactly the same as, what is described at http://www.tolaris.com/2009/07/15/stopping-spam-botnets-with-fail2ban/ . Basically, someone/something has been attempting to relay mail through my server (at least I believe that to be what's happenin

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Wietse Venema
Ben Johnson: > Hello, > > I am experiencing something very similar to, or exactly the same as, > what is described at > http://www.tolaris.com/2009/07/15/stopping-spam-botnets-with-fail2ban/ . You need to show Postfix logs of the unwanted mail as it arrives **from the internet**, not as it comes

Re: How can I restrict some specific users from sending email to external domains?

2013-05-28 Thread Chris
On Mon, 27 May 2013 23:27:40 +0200 Patrick Ben Koetter wrote > * Benny Pedersen : > > Bogdan Enache skrev den 2013-05-27 21:38: > > > > >How should I define the restrictions so other users will not be > > >affected by this restriction, and where should I put them in the > > >config? > > You nee

Re: Virtual User Aliases

2013-05-28 Thread Simon B
On 28 May 2013 18:03, Viktor Dukhovni wrote: > On Tue, May 28, 2013 at 05:33:46PM +0200, Simon B wrote: >> Hi >> >> A few days ago there was an issue with one of our mail servers - and I >> had to disable perl related filters (dkim and amavisd). And since >> then it's not processing virtual_user_

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Wietse Venema
Wietse Venema: > Ben Johnson: > > Hello, > > > > I am experiencing something very similar to, or exactly the same as, > > what is described at > > http://www.tolaris.com/2009/07/15/stopping-spam-botnets-with-fail2ban/ . I strongly suggest that you swap the order of the following two rules in main

Re: How can I restrict some specific users from sending email to external domains?

2013-05-28 Thread Viktor Dukhovni
On Tue, May 28, 2013 at 07:09:43PM +0200, Chris wrote: > > The check_sender_access restriction below triggers the lookup to catch the > > sender: > > > > smtpd_recipient_restrictions = > > ... > > check_sender_access hash:/etc/postfix/internal_senders > > permit_mynetwork

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Viktor Dukhovni
On Tue, May 28, 2013 at 01:18:25PM -0400, Wietse Venema wrote: > I strongly suggest that you swap the order of the following > two rules in main.cf: > > check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, > reject_unauth_destination, > > This should be: > > r

Re: Virtual User Aliases

2013-05-28 Thread Simon B
On 28 May 2013 18:33, Benny Pedersen wrote: > Simon B skrev den 2013-05-28 17:33: > >> May 27 23:30:17 mail postfix/pipe[16721]: 57FF6C8C033: >> to=, relay=dovecot, delay=2, delays=2/0/0/0.05, >> dsn=2.0.0, status=sent (delivered via dovecot se >> rvice) > > >> normally that delivered line would m

Re: Problem sending emails to virtual users

2013-05-28 Thread SONNY LASKAR
I had enabled debug for all queries on mysql but only the following relevant lines were seen: 130528 10:24:07 1924 Connect postfix@localhost on postfix 1924 Query SELECT goto FROM alias WHERE address='supp...@example.com' AND active = '1' 1924 Query SELE

Re: Virtual User Aliases

2013-05-28 Thread Viktor Dukhovni
On Tue, May 28, 2013 at 07:25:02PM +0200, Simon B wrote: > On 28 May 2013 18:33, Benny Pedersen wrote: > > Simon B skrev den 2013-05-28 17:33: > > > >> May 27 23:30:17 mail postfix/pipe[16721]: 57FF6C8C033: > >> to=, relay=dovecot, delay=2, delays=2/0/0/0.05, > >> dsn=2.0.0, status=sent (delivere

Re: Relay attempts from bot filling mail queue and getting my server blacklisted: how's it happening?

2013-05-28 Thread Wietse Venema
Viktor Dukhovni: > On Tue, May 28, 2013 at 01:18:25PM -0400, Wietse Venema wrote: > > > I strongly suggest that you swap the order of the following > > two rules in main.cf: > > > > check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, > > reject_unauth_destination, > > >

Re: Virtual User Aliases

2013-05-28 Thread Simon B
On 28 May 2013 19:34, "Viktor Dukhovni" wrote: > > On Tue, May 28, 2013 at 07:25:02PM +0200, Simon B wrote: > > > On 28 May 2013 18:33, Benny Pedersen wrote: > > > Simon B skrev den 2013-05-28 17:33: > > > > > >> May 27 23:30:17 mail postfix/pipe[16721]: 57FF6C8C033: > > >> to=, relay=dovecot, de

Re: Virtual User Aliases

2013-05-28 Thread Viktor Dukhovni
On Tue, May 28, 2013 at 08:22:56PM +0200, Simon B wrote: > On 28 May 2013 19:34, "Viktor Dukhovni" wrote: > > > > On Tue, May 28, 2013 at 07:25:02PM +0200, Simon B wrote: > > > > > On 28 May 2013 18:33, Benny Pedersen wrote: > > > > Simon B skrev den 2013-05-28 17:33: > > > > > > > >> May 27 23:

Re: sent mail to the mail list which contains myself

2013-05-28 Thread Bu Xiaobing
On 2013-5-28 16:12, li...@kurawa.fidonet.or.id wrote: On Tue, 28 May 2013 16:04:09 +0800 Bu Xiaobing wrote: When I send mails to the mail list that contains myself, I will received the mail. Is there any way to discard there mails sent back to the original sender in the mail list? This not

Re: sent mail to the mail list which contains myself

2013-05-28 Thread Stan Hoeppner
On 5/28/2013 9:11 PM, Bu Xiaobing wrote: > On 2013-5-28 16:12, li...@kurawa.fidonet.or.id wrote: >> On Tue, 28 May 2013 16:04:09 +0800 >> Bu Xiaobing wrote: >> >>> When I send mails to the mail list that contains myself, I will >>> received the mail. >>> >>> Is there any way to discard there mails