Re: 554 5.7.1 Relay access denied

2013-05-27 Thread SONNY LASKAR
Dear Stan, Thanks for your reply. I notice some unknown email ids with Relay Access Denied error in maillog. It appears someone else is also trying to send email. I have set protocol=ipv4 What should be the value of mynetworks if I want that only my server should send email. Truly appreciate yo

Re: 554 5.7.1 Relay access denied

2013-05-27 Thread LuKreme
On 27 May 2013, at 09:02 , SONNY LASKAR wrote: > What should be the value of mynetworks if I want that only my server should > send email. 127.0.0.1 -- He was Igor, son of Igor, nephew of several Igors, brother of Igors and cousin of more Igors than he could remember without checking up in his

Re: 554 5.7.1 Relay access denied

2013-05-27 Thread SONNY LASKAR
Thanks everyone. I have set mynetworks = 127.0.0.1 and inet_protocols = ipv4 This is solved. On Mon, May 27, 2013 at 10:04 PM, LuKreme wrote: > On 27 May 2013, at 09:02 , SONNY LASKAR wrote: > > What should be the value of mynetworks if I want that only my server > should send email. > > 127.

Re: Problem sending emails to virtual users

2013-05-27 Thread SONNY LASKAR
In addition to this, *I am attaching the output of select queries from db:* mysql> use postfix; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +---+ | Tables_

Problem sending emails to virtual users

2013-05-27 Thread SONNY LASKAR
Dear All, I installed latest versioin of postfix and postfixadmin on Centos VPS . I created virtual mailbox from postfixadmin but whenever I send email to virtual users it gets bounce back. Let me give more details: *Virtual User Files:* *[root@server1 ~]# cat /etc/postfix/mysql_virtual_domains_

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

2013-05-27 Thread Bogdan Enache
Hi, I have an internal domain, "mydomain.com", and around 50 users defined on this domain. I want to restrict 2 certain users, "f...@mydomain.com" and "b...@mydomain.com" from sending emails to external domains. They should be able to send emails only to "mydomain.com", and I want to be able to

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

2013-05-27 Thread 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? this is solved with postfwd, but its possible to learn more with postfix :) btw pbl.spamhaus.org is part of zen.

Re: 554 5.7.1 Relay access denied

2013-05-27 Thread Benny Pedersen
SONNY LASKAR skrev den 2013-05-27 04:31: The Error in mailog is : May 27 06:23:58 server1 postfix/smtpd[27718]: connect from localhost[::1] May 27 06:24:14 server1 postfix/smtpd[27718]: NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo= Ma

Re: 554 5.7.1 Relay access denied

2013-05-27 Thread Benny Pedersen
LuKreme skrev den 2013-05-27 18:34: What should be the value of mynetworks if I want that only my server should send email. 127.0.0.1 and ::1, or remove mynetworks in main.cf postfix will find local ip then seen in ifconfig, why not make it simple ? -- senders that put my email into body c

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

2013-05-27 Thread Patrick Ben Koetter
* 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 need to catch the sender address and route it into a dedicated filter ruleset. Her

more logging of policy servers

2013-05-27 Thread CSS
Hello, I'm having trouble chasing down an occasional delay in our submission service. We run policyd to enforce sending quotas, and I sometimes see a 1 minute to 2 minute delay between the "connect from…" line in the postix log and the line from cbpolicyd that lists the information it's insert

Re: more logging of policy servers

2013-05-27 Thread Wietse Venema
CSS: > Hello, > > I'm having trouble chasing down an occasional delay in our submission > service. We run policyd to enforce sending quotas, and I sometimes > see a 1 minute to 2 minute delay between the "connect from?" line > in the postix log and the line from cbpolicyd that lists the 1) How m

Re: Problem sending emails to virtual users

2013-05-27 Thread Benny Pedersen
SONNY LASKAR skrev den 2013-05-27 20:05: May 27 21:57:38 server1 postfix/smtpd[2161]: connect from localhost.localdomain[127.0.0.1] May 27 21:57:41 server1 postfix/smtpd[2161]: lost connection after CONNECT from localhost.localdomain[127.0.0.1] May 27 21:57:41 server1 postfix/smtpd[2161]: disconn

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

2013-05-27 Thread Benny Pedersen
Patrick Ben Koetter skrev den 2013-05-27 23:27: this is solved with postfwd, but its possible to learn more with postfix :) Less tools rulez. ;) indeed: you can make more hash rules to reject emails with @ in body content filters in postfix, no ? i give up -- senders that put my email

Re: Problem sending emails to virtual users

2013-05-27 Thread /dev/rob0
On Tue, May 28, 2013 at 12:05:13AM +0200, Benny Pedersen wrote: > SONNY LASKAR skrev den 2013-05-27 20:05: > >May 27 21:57:38 server1 postfix/smtpd[2161]: connect from > >localhost.localdomain[127.0.0.1] > >May 27 21:57:41 server1 postfix/smtpd[2161]: lost connection > >after CONNECT from localhost

Re: more logging of policy servers

2013-05-27 Thread CSS
On May 27, 2013, at 5:58 PM, Wietse Venema wrote: > CSS: >> Hello, >> >> I'm having trouble chasing down an occasional delay in our submission >> service. We run policyd to enforce sending quotas, and I sometimes >> see a 1 minute to 2 minute delay between the "connect from?" line >> in the post

Re: more logging of policy servers

2013-05-27 Thread Wietse Venema
CSS: > On May 27, 2013, at 5:58 PM, Wietse Venema wrote: > > > CSS: > >> Hello, > >> > >> I'm having trouble chasing down an occasional delay in our submission > >> service. We run policyd to enforce sending quotas, and I sometimes > >> see a 1 minute to 2 minute delay between the "connect from?

Re: Problem sending emails to virtual users

2013-05-27 Thread SONNY LASKAR
Hello, *Output of telnet command:* [root@server1 ~]# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. 220 server1.example.com ESMTP Postfix CONNECT foo 221 2.7.0 Error: I can break rules, too. Goodbye. Connection closed by foreign host. *Output from logs:*

Huge mail queue

2013-05-27 Thread Ramesh
Hi All, Greetings! Our mail server configured Postfix version 2.4.5 with mailmarshal as content filter, recently mail server not responding because of huge mail queue, content filter cpu usage is 100%, my investigation found more than 18k mails are in que, sender email address is m...@zbavi