Re: Regarding Recipient limitation

2014-01-02 Thread koko
On Thu, 2 Jan 2014 12:49:10 +0530 Joy wrote: > I am using Postfix with LDAP to > host multiple domains and willing to force per user per > mail recipient limit only on outgoing mails. Kindly > suggest me something so that i can have this feature > implemented. > > I tried us

Re: Postfix 2.10 adds extra timezone name when adding Date header

2016-01-22 Thread koko
On Fri, 22 Jan 2016 12:38:21 +0200 Serhii Laskavyi wrote: > I wonder if this problem is still present in a current > version of Postfix. few days ago, there similar question about "date". http://article.gmane.org/gmane.mail.postfix.user/253853 which MUA do you use? -- Koko Wijatmoko

Re: Postfix 2.10 adds extra timezone name when adding Date header

2016-01-22 Thread koko
y RFC the mail client MUST provide the date header, as it states the date the message was written (and not sent). If it is absent Postfix will add the date (under circumstances). If you can fix the date issue in the senders client. That would be the right [tm]

Re: Can't get mynetworks to match a specific host

2016-02-15 Thread koko
3:38:48 deinprogramm postfix/submission/smtpd[76503]: generic_checks: > name=reject > your log show different.. the first one "smtpd" and above "submission". check your master.cf submission part. and post your master.cf here. -- Koko Wijatmoko

Re: Disable logging for specific ips

2016-02-18 Thread koko
on google.. -- Koko Wijatmoko

Re: rewrite From: header with name

2015-08-25 Thread Koko Wijatmoko
On Tue, 25 Aug 2015 10:30:07 +0200 Hans Ginzel wrote: > Howto configure postfix to log to file instaed of > syslogd, please? > postfix default not log to file, but use syslogd service. maybe your syslogd is filtered the output? re-check your syslogd daemon configuration (rsyslog, syslog-ng etc).

Re: postfix setup best practice question

2015-08-27 Thread Koko Wijatmoko
On Thu, 27 Aug 2015 09:53:19 +0200 z...@oper.hu wrote: > Dear All, > > I would like to realize a postfix setup where: > > - I have 1 public IP address > > - at least 2 domains > > - one postfix instace > > After setting up (one) domain alias for the IP I experienced problem > when sending mai

Re: Postfix logs: no year shown

2015-09-19 Thread Koko Wijatmoko
On Sat, 19 Sep 2015 06:16:51 -0500 Tom Browder wrote: > My new Postfix 3.0.2 setups work fine for my needs so far, but I > notice the log messages do not show a year; however, various logs I've > seen elsewhere do show a year. Is that a config option somewhere? > must be something wrong with yo

Re: Postfix logging : connect from unknown[unknown]

2015-09-23 Thread Koko Wijatmoko
Hi Florent, Some syslog server (eg. rsyslog) able to filter the ouput log based on user specific criteria. Google -> keyword "filtering syslog output".. On Wed, 23 Sep 2015 10:42:22 +0200 Florent B wrote: > Hi everyone, > > I use Postfix as backends behind IPVS/Keepalived load-balancers. > >

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Koko Wijatmoko
On Tue, 17 Nov 2015 12:44:12 + Neil Smith wrote: > Postfix seems to be ignoring the smtpd_recipient_restrictions = > check_recipient_access instruction. > did you ran postmap for the hash table? what inside your /etc/postfix/recipient_checks?

Re: Postfix ignoring check_recipient_access

2015-11-17 Thread Koko Wijatmoko
On Tue, 17 Nov 2015 13:56:01 + Neil Smith wrote: > > did you ran postmap for the hash table? > > Yes, several times, and restarted postfix afterwards. > is the file permission allow postfix to read it?

Re: saslauthd show remote ip address

2015-12-02 Thread Koko Wijatmoko
On Wed, 2 Dec 2015 12:25:53 +0200 Selcuk Yazar wrote: > i want to track bad login attemps on our mail server running on postfix at > redhat. > > when i look to our syslog messages i see > > mail saslauthd[5345]: do_auth : auth failure: [user=] > [service=smtp] [realm=our domain

Re: Could someone check my master.cf file please for accuracy and validity.

2015-12-03 Thread Koko Wijatmoko
On Thu, 3 Dec 2015 09:54:50 + Robert Chalmers wrote: > submission inet n - n - - smtpd > -o smtpd_tls_security_level=encrypt > -o syslog_name=postfix/submission > -o smtpd_tls_security_level=encrypt > -o smtpd_milters=inet:127.0.0.1:8891 Err.. "smtpd_tls

Re: Could someone check my master.cf file please for accuracy and validity.

2015-12-03 Thread Koko Wijatmoko
forgot to comment about your SMTP-AUTH, move it to submission. opening SMTP-AUTH on standard SMTP port is risky (brute force attack). On Thu, 3 Dec 2015 12:49:47 + Chalmers wrote: > Thanks. How did I not see that? I cant believe it. > > thanks > > > > On 3 Dec 2015

Re: Could someone check my master.cf file please for accuracy and validity.

2015-12-03 Thread Koko Wijatmoko
sl_auth_enable=yes > -o smtpd_client_restrictions=permit_sasl_authenticated,reject move this part to "submission" above, and disable/delete "465" service.. On Thu, 3 Dec 2015 13:14:57 + Robert Chalmers wrote: > Sorry, I don’t understand what you mean? > > > On 3 Dec 2015, at

Re: Could someone check my master.cf file please for accuracy and validity.

2015-12-03 Thread Koko Wijatmoko
On Thu, 3 Dec 2015 20:33:10 +0700 Koko Wijatmoko wrote: > you enable submission service twice again.. > sory again, port 465 != 587..

Re: Could someone check my master.cf file please for accuracy and validity.

2015-12-03 Thread Koko Wijatmoko
On Thu, 03 Dec 2015 22:26:19 -0500 "Bill Cole" wrote: > DO NOT move the '-o smtpd_tls_wrappermode=yes' line to > the section for the submission service. That is ONLY > for the deprecated port 465 (SMTP inside SSL) service. > If you put it on port 587 for submission, submission > will not work. y

Re: sasl authentication - how to hash password maps

2015-12-16 Thread Koko Wijatmoko
On Wed, 16 Dec 2015 09:08:34 +0100 Zalezny Niezalezny wrote: > Is it possible to hash that password some how ? This password shouldnt be > visible for the user. > If yes, how to do it then ? > the answer is here.. password must be plain-text: http://www.postfix.org/SASL_README.html#client_sasl_

Re: OT: Fail2ban linux

2014-10-11 Thread Koko Wijatmoko
On Sun, 12 Oct 2014 03:27:41 -0300 Julio Cesar Covolato wrote: > Anyone has a good rule for postfix smtpd whit fail2ban? > Google is not enough for you? http://www.fail2ban.org/wiki/index.php/Postfix

Re: OT: Fail2ban linux

2014-10-13 Thread Koko Wijatmoko
On Mon, 13 Oct 2014 14:48:36 +0200 Markus Benning wrote: > On Sun, Oct 12, 2014 at 03:27:41AM -0300, Julio Cesar Covolato wrote: > > Hi People! > > Anyone has a good rule for postfix smtpd whit fail2ban? > > Sorry for the OT:)) > > The mtpolicyd policy daemon has a plugin for directly adding IPs

Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Koko Wijatmoko
Seems you're using non-standard port for mysql (9306). If I'm not wrong, mysql use port 3306... $ cat /etc/services|grep 3306 mysql 3306/tcp mysql 3306/udp > Hi Paul > Thanks. > > Used netstat -tap and the output is > tcp0 0 *:9876 *:* > LISTEN

Re: Rewrite Sender Address Before Delivery

2014-11-10 Thread Koko Wijatmoko
On Mon, 10 Nov 2014 22:31:32 -0500 "shamu...@gmail.com" wrote: > I want postfix to rewrite this message's Sender as > exam...@my-domain.com so that other-domain.com's mail server doesn't > marked this mail as spam. > are you sure if changed the sender will not mark it as spam?

Re: question about mail aliases

2014-11-14 Thread Koko Wijatmoko
On Fri, 14 Nov 2014 14:01:46 +0100 Andy Kannberg wrote: > For a mailserver I work on I need to implement a change which changes > how certain aliases are handled. > The mailserver uses aliases to send mail to specific groups of users. > I need to make certain that certain combinations of aliases

Re: One user per domain and sender management

2014-12-21 Thread Koko Wijatmoko
On Sun, 21 Dec 2014 09:24:05 -0700 (MST) nh wrote: > virtual_alias_domains = domain1.tld domain2.tld domain3.tld > domais4.tld > you must have virtual_alias_maps in your main.cf, look here for details... http://www.postfix.org/VIRTUAL_README.html

Re: Transport Map for selective IPv4/IPv6 per site

2015-01-06 Thread Koko Wijatmoko
On Tue, 6 Jan 2015 10:53:42 +0100 Thomas Leuxner wrote: > # postconf -n | grep inet > inet_interfaces = 188.138.4.217, 2001:470:1f0b:bd0::3 > inet_protocols = ipv4, ipv6 > set above to "= all" (default), and try to set: smtp_bind_address = 188.138.4.217 smtp_bind_address6 = 2001:470:1f0b:bd0::3

Re: dovecot on wheezy, best ssl configuration ?

2015-01-08 Thread Koko Wijatmoko
On Fri, 09 Jan 2015 06:27:44 + m...@ruggedinbox.com wrote: > results in the following error: > this not postfix issue... ask to dovecot & claws mailing list.

Re: Postfix as intermediary server

2015-01-17 Thread Koko Wijatmoko
On Sat, 17 Jan 2015 14:14:47 +0200 wishmaster wrote: > The mail server servers some web-applications (e-shops). I use > virtual_alias_maps to maps virtual boxes like i...@my-shop.com to real > box like blabla...@gmail.com, so when customer sends e-mail to > i...@my-shop.com we can read this me

Re: SPF configurations

2015-01-18 Thread Koko Wijatmoko
On Sun, 18 Jan 2015 07:20:35 -0700 (MST) SW wrote: > But I now get the following error in maillog: > * > Jan 18 13:26:59 mail policyd-spf[58514]: Action: prepend: Text: > Received-SPF: Temperror (SPF Temporary Error: DNS Timeout) > identity=mailfrom; client-ip=209.85.216.170; > helo=mail-qc0-f170

Re: SPF configurations

2015-01-18 Thread Koko Wijatmoko
On Sun, 18 Jan 2015 08:30:29 -0700 (MST) SW wrote: > If I run /usr/local/bin/policyd-spf at the console it just does > nothing? (theres no output) > yes, it does not provide any output. it mean policyd-spf are fine and all requirement python module is ok. ask at freebsd port maintainer, ask him/h

Re: Postfix configuration & postconf

2015-02-08 Thread Koko Wijatmoko
On Sun, 8 Feb 2015 05:55:47 -0500 John wrote: > Is there a way of checking for /unnecessary/ entries in the Postfix > main or master config files. > I was looking through the mailing list and noticed the point that > Victor made about "smtpd_tls_session_cache_database" being "mostly > unnecessary

Re: Postfix migration from 2.0 to 2.6.6

2015-02-20 Thread Koko Wijatmoko
On Fri, 20 Feb 2015 09:14:37 +0100 Zalezny Niezalezny wrote: > - zip all /var/spool/postfix* and /var/spool/mail/* > don't use zip, it didn't save uid.gid owner...

Re: REDIRECT with multiple recipients

2015-03-03 Thread Koko Wijatmoko
On Tue, 03 Mar 2015 10:58:20 +0100 Rudy Gevaert wrote: > Could someone tell me if there any other differences > between using > u...@domain.com REJECT The user has moved > > and a relocated map with: > u...@domain.com The user has moved > There is no "REJECT" in relocated map... http://www.post

Re: How to allow each user on an Ubuntu server use his/her google email and password to send the email via google smtp?

2015-03-18 Thread Koko Wijatmoko
On Wed, 18 Mar 2015 05:19:32 -0500 Peng Yu wrote: > I just need to send emails via gmail through command > line. Configuring postfix for this seems to overkill. > > Using MUA like mutt and sup overkills, too. > > Does anybody know a simplest solution to send emails > via gmail on command line (

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 12:12:33 +0300 Алексей Доморадов wrote: > But it's very uncomfortable to create maildir for each > user manually. Are there any workaround? > set "home_mailbox" to "Maildir/", and create "Maildir/{cur,new,tmp}" at directory /etc/skel/, so on next adduser/useradd it will be au

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 16:53:30 +0300 Алексей Доморадов wrote: > If I correctly understood - path specified in the > home_mailbox would be relative to a user's home > directory. So with home_mailbox = Maildir/ all new > emails would be stored in the /home/webmaster/Maildir/ > new. And that is not wh

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 18:14:08 +0300 Алексей Доморадов wrote: > Are we reading the same man page? :) I don't see any > notes about adduser.local in man useradd on CentOS 6 do your home work first, try it... if not work then upgrade your adduser package rpm from centos 7 or latest tarball. i'm clo

Re: Is it possible to stop a localhost system account being used in relay attempts?

2015-05-23 Thread Koko Wijatmoko
On Sat, 23 May 2015 10:31:05 +0100 Robert Chalmers wrote: > I may have solved it. I hope > > Connected to localhost. > Escape character is '^]'. > 220 zeus.localhost ESMTP Postfix ^^ > helo inmailwetrust.com > 250 zeus.localhost ^^ it should FQDN... zeus.what

Re: connexion outook to postfix

2015-06-02 Thread Koko Wijatmoko
courier-imapd ??? this is postfix mailing list... On Tue, 02 Jun 2015 10:15:24 + emmanuel wrote: > I try to connect my outlook with my postfix server and i got this > errors: > > Jun 2 12:14:00 ns204035 courier-imapd: Connection, ip= > [:::x.x.x.x] Jun 2 12:14:01 ns204035 courier-imap

Re: Block subdomains in check_recipient_access.

2015-06-09 Thread Koko Wijatmoko
On Tue, 9 Jun 2015 11:51:28 +0300 "Hanna" wrote: > in /etc/postfix/blockr > > domain.com REJECT sorry, blocked. > .domain.com REJECT sorry, blocked. > you dont need to specify ".domain.com", since the first also REJECT any subdomain under "domain.com". http://www.postfix.org/access.5.html and

Re: Block subdomains in check_recipient_access.

2015-06-09 Thread Koko Wijatmoko
On Tue, 9 Jun 2015 12:22:39 +0300 "Hanna" wrote: > No it still doesnot blocks the subdomains. > > And when I test using > > 'postmap -q "string" /etc/postfix/blockr'. > ex. "string" = "t...@domain.com" and "t...@test.domain.com" > > it blocks only the domain and not the subdomain. > try regex

Re: smtps via 465 is not working

2015-06-11 Thread Koko Wijatmoko
On Thu, 11 Jun 2015 21:42:18 -0700 "Jithesh AP" wrote: > With this info, if someone can educate me on why it started working > fine with the opera client but telnet is broken, it would help me > understand better and kill my curiosity? > port 465 need SSL, not plain TELNET...

Re: After-Queue Content Filter, Injecting Mail Back Into Postfix — Mail Loop Problem

2015-07-18 Thread Koko Wijatmoko
On Sat, 18 Jul 2015 15:07:24 + (GMT) Robert Morton wrote: > Master.cf > — > > mydomain_fallback = localhost > message_size_limit = 10485760 > biff = no > mynetworks = 127.0.0.0/8, [::1]/128 > smtpd_client_restrictions = permit_mynetworks > permit_sasl_authenticated permit recipient_delim

Re: A simple way to restrict the number of outgoing emails/hour per domain

2015-07-23 Thread Koko Wijatmoko
On Thu, 23 Jul 2015 10:47:25 +0200 Istvan Prosinger wrote: > Can anyone pinpoint me to a simple way to limit the outgoing number > of emails in a time frame per domain, without involving policyd and > mysql, or any other 3rd party script? > > I'm looking for a simple restriction with a hash tabl

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter wrote: > HI guys, > > Till today I was always using one the following method to hold emails > in order to investigate issues with them: > smtpd_sender_restrictions = static:HOLD > smtp_helo_restrictions = static:HOLD > smtp_data_restrictions = static:HOL

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter wrote: > which is okay, but when PHP mailer sends an email from localhost I > get: > > Jul 24 12:49:38 server postfix/pickup[16749]: B435A614EF: uid=48 > from= > this is not localhost.. but inject to sendmail command line from uid 48.

Re: check_policy_service not working - need a 4eye method or..

2015-07-31 Thread Koko Wijatmoko
On Fri, 31 Jul 2015 14:28:35 +0200 Istvan Prosinger wrote: > I don't think so. I've tried to give false parameters here to Postfix > that sould produce an error in the maillog, but Postfix is all happy, > carrying on... what false parameters you tried? share with us your conf.

Re: Postfix and Mailman 2 virtual alias domain integration

2015-08-18 Thread Koko Wijatmoko
On Tue, 18 Aug 2015 07:55:00 -0500 Tom Browder wrote: > So how should the DNS records look? Can anyone give me the exact > settings for the A, CNAME, MX, and PTR records for A.tld and B.tld > (and any other suggested records)? > this is not the best question on this list. google will guide you