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:

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

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

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 <k...@wijatmoko.name> 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
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 <rob...@chalmers.com.au> wrote: > Sorry, I don’t understand what

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

2015-12-03 Thread Koko Wijatmoko
; > > > On 3 Dec 2015, at 10:50 a.m., Koko Wijatmoko <k...@wijatmoko.name> wrote: > > > > On Thu, 3 Dec 2015 09:54:50 + > > Robert Chalmers <rob...@chalmers.com.au> wrote: > > > >> submission inet n - n - - smtp

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=] >

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: 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

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

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 mail. Since I

Re: rewrite From: header with name

2015-08-25 Thread Koko Wijatmoko
On Tue, 25 Aug 2015 10:30:07 +0200 Hans Ginzel h...@matfyz.cz 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,

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 tom.brow...@gmail.com 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.

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 ist...@prosinger.net 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

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter uncle_p...@fastmail.com 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

Re: Mail from PHP agent on hold

2015-07-24 Thread Koko Wijatmoko
On Fri, 24 Jul 2015 13:08:42 +0200 Peter uncle_p...@fastmail.com 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=apache this is not localhost.. but inject to sendmail command line from uid

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 ist...@prosinger.net 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

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 rob.mor...@me.com 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

Re: smtps via 465 is not working

2015-06-11 Thread Koko Wijatmoko
On Thu, 11 Jun 2015 21:42:18 -0700 Jithesh AP jithesh...@gmail.com 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: Block subdomains in check_recipient_access.

2015-06-09 Thread Koko Wijatmoko
On Tue, 9 Jun 2015 11:51:28 +0300 Hanna ha...@ecei.biz 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

Re: Block subdomains in check_recipient_access.

2015-06-09 Thread Koko Wijatmoko
On Tue, 9 Jun 2015 12:22:39 +0300 Hanna ha...@ecei.biz 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: 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 linuxman...@gmail.com 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

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 racu...@icloud.com 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

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 12:12:33 +0300 Алексей Доморадов alex_...@mail.ru 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

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 18:14:08 +0300 Алексей Доморадов alex_...@mail.ru 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

Re: local transport: how to automatically create Maildir

2015-04-30 Thread Koko Wijatmoko
On Thu, 30 Apr 2015 16:53:30 +0300 Алексей Доморадов alex_...@mail.ru 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

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 pengyu...@gmail.com 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

Re: REDIRECT with multiple recipients

2015-03-03 Thread Koko Wijatmoko
On Tue, 03 Mar 2015 10:58:20 +0100 Rudy Gevaert rudy.geva...@ugent.be 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...

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 zalezny.niezale...@gmail.com wrote: - zip all /var/spool/postfix* and /var/spool/mail/* don't use zip, it didn't save uid.gid owner...

Re: Postfix configuration postconf

2015-02-08 Thread Koko Wijatmoko
On Sun, 8 Feb 2015 05:55:47 -0500 John j...@klam.ca 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

Re: SPF configurations

2015-01-18 Thread Koko Wijatmoko
On Sun, 18 Jan 2015 07:20:35 -0700 (MST) SW post...@bsdpanic.com 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;

Re: SPF configurations

2015-01-18 Thread Koko Wijatmoko
On Sun, 18 Jan 2015 08:30:29 -0700 (MST) SW post...@bsdpanic.com 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

Re: Postfix as intermediary server

2015-01-17 Thread Koko Wijatmoko
On Sat, 17 Jan 2015 14:14:47 +0200 wishmaster artem...@ukr.net 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

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: 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 t...@leuxner.net 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 =

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 postfix-nab...@nhenry.fr 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: question about mail aliases

2014-11-14 Thread Koko Wijatmoko
On Fri, 14 Nov 2014 14:01:46 +0100 Andy Kannberg andy.kannb...@gmail.com 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

Re: Rewrite Sender Address Before Delivery

2014-11-10 Thread Koko Wijatmoko
On Mon, 10 Nov 2014 22:31:32 -0500 shamu...@gmail.com 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: 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: OT: Fail2ban linux

2014-10-13 Thread Koko Wijatmoko
On Mon, 13 Oct 2014 14:48:36 +0200 Markus Benning i...@markusbenning.de 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

Re: OT: Fail2ban linux

2014-10-12 Thread Koko Wijatmoko
On Sun, 12 Oct 2014 03:27:41 -0300 Julio Cesar Covolato ju...@psi.com.br 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