Re: Unused parameters logs.

2015-09-06 Thread Pascal Volk
On 09/06/2015 12:32 PM, Czarek wrote: > Hello. > I found tha ater restart postfix postfix-2.10.1-6. i foud out this warrings > in the logs: > Sep 06 20:26:46 kukuniek postfix[8484]: /usr/sbin/postconf: warning: > /etc/postfix/master.cf: unused parameter: smtpd_bind_address=127.0.0.1 > ... There is

Re: email header contains IP address of sending client

2014-12-04 Thread Pascal Volk
On 12/04/2014 08:20 PM, Martin Vegter wrote: > When I send email via my Postfix, the header actually contains the IP > address of my laptop. Such as 192.168.1.113 [12.34.56.78]) in the > example below: > > Received: from mail.origin.com (mail.origin.com [65.254.242.180]) > by mail.destinat

Re: send all local mail to single email address

2014-01-17 Thread Pascal Volk
On 01/17/2014 01:39 AM Michael Barrett wrote: > Thanks Pascal- > > I tried using luser_relay, and it worked fine for non-existent users on > the system, but for system users like 'root' I couldn't get it working. > Should there be some way to make that work for all users, whether they > exist (w

Re: send all local mail to single email address

2014-01-16 Thread Pascal Volk
On 01/16/2014 08:26 PM Michael Barrett wrote: > Hi, I was wondering if anyone had any luck with configuring postfix to > send all local mail, no matter to what user, to an external email address? > … Is luser_relay you are looking for? Regards

Re: Can't get Postfix to run

2012-01-16 Thread Pascal Volk
On 01/17/2012 12:54 AM Viktor Dukhovni wrote: > On Mon, Jan 16, 2012 at 03:41:16PM -0800, Nickalf wrote: >> There's a dict_tcp.so but no dict_cdb.so > > Yes, this is the symptom, and you should file a bug report with the > Debian Postfix maintainer. There is no need for filing a bug report. To

Re: mail to domain bounced, to hostname accepted

2011-11-27 Thread Pascal Volk
On 11/27/2011 10:45 PM Pascal Volk wrote: > Sorry for going off-topic. But the example above shows DUROC. Correction: UUOC aka useless use of cat Regards, Pascal -- The trapper recommends today: decade.1133...@localdomain.org

Re: mail to domain bounced, to hostname accepted

2011-11-27 Thread Pascal Volk
On 11/27/2011 10:33 PM Reindl Harald wrote: > first: post not so much unfiltered stuff, "cat /var/log/maillog | grep > " exists Sorry for going off-topic. But the example above shows DUROC. `grep PATTERN /var/log/mail.log` is sufficient. Best Regards, Pascal -- The trapper recommends today: d

Re: Postfix pipe process defer if error

2011-09-10 Thread Pascal Volk
On 09/10/2011 10:44 AM Ramprasad wrote: > Do I need to to use exit 75 > > I am using a C program that exits with exit(EXIT_FAILURE) > but that causes the mail to get bounced rather than defer Read the fine manual at: http://www.postfix.org/FILTER_README.html and search for EX_TEMPFAIL. Regards

Re: Postfix pipe process defer if error

2011-09-10 Thread Pascal Volk
On 09/10/2011 09:48 AM Pascal Volk wrote: > Something like that: > > #!/bin/sh > > # do something with the message > > # check return code from the last command > if [ $? -ne 0 ]; then > return 75 > fi > return 0 Sorry - use exit instead of retur

Re: Postfix pipe process defer if error

2011-09-10 Thread Pascal Volk
On 09/10/2011 09:27 AM Ramprasad wrote: > I have a custom pipe script which postfix sends to > > For eg in master.cf > > bounce_handler unix - n n - - pipe >flags=FR argv=/opt/path/bounce_handler > > > > How do I configure postfix that it defers the mails

Re: Put mails to specific users in HOLD queue

2011-05-22 Thread Pascal Volk
On 05/22/2011 05:16 PM Leon Meßner wrote: > On Sun, May 22, 2011 at 04:39:22PM +0200, Pascal Volk wrote: >> … >> /etc/postfix/transport: >> john@example.comretry:4.0.0 Mailbox being migrated >> jane@exmpale.comretry:4.0.0 Mailbox being migrate

Re: Put mails to specific users in HOLD queue

2011-05-22 Thread Pascal Volk
On 05/22/2011 04:24 PM Leon Meßner wrote: > Hi, > i'm curious if there is a mechanism to stop postfix from delivering mail > for just specific recipients. I ask because i need to migrate some users > mail storage and need to umount it. It would be nice to generate no > errors and just hold the mail

Re: How to handle smtpd_end_of_data_restrictions for multiple recipients?

2011-03-03 Thread Pascal Volk
On 03/03/2011 03:47 PM Reindl Harald wrote: > Here a example on my homeserver with set quota down to 10 MB > while 50 MB are in the inbox for this test-case. You see > the same message-id so i sent one message to two rcpt while > one of them was over quota > > rcpt 1: all ok, message accepted > rc

Re: How to handle smtpd_end_of_data_restrictions for multiple recipients?

2011-03-03 Thread Pascal Volk
On 03/03/2011 03:27 PM Noel Jones wrote: > On 3/3/2011 7:21 AM, Pascal Volk wrote: >> … >> if recipient_count> 1&& any_recipient_has_quota_reached: >> (do not deliver to recipients which are still under quota) >> action=552 5.2.2 Quota …

Re: How to handle smtpd_end_of_data_restrictions for multiple recipients?

2011-03-03 Thread Pascal Volk
On 03/03/2011 02:55 PM Reindl Harald wrote: > we do quotas this with dbmail-lmtp on the mda-side > > in this case postfix delivers every message via lmtp > and if the mailbox is full dbmail-lmtp is giving > a error back for this unique rcpt What exactly does that mean? Posfix accepts the message

How to handle smtpd_end_of_data_restrictions for multiple recipients?

2011-03-03 Thread Pascal Volk
Hello, I'm trying reject messages for recipients which are over quota or will be over quota when the current message would be accepted and delivered. That works fine as long as there is only one recipient. Now I have the following idea: smtpd_recipient_restrictions = …

Re: delays=a/b/c/d in docs

2010-01-06 Thread Pascal Volk
On 01/06/2010 05:29 PM Seth Mattinen wrote: > Does anyone know offhand where the logging string "delays=a/b/c/d" is > defined in the documentation? I can't seem to find it. see man postconf(5): man 5 postconf | less +/^delay_logging_resolution_limit Regards, Pascal -- The trapper recommends tod

Re: Rejecting mail to unknown recipients

2009-06-04 Thread Pascal Volk
On 06/05/2009 02:25 AM Peter Smith wrote: > Hi, > > I know this is well documented and is now the default in postfix, but I'm > tearing my hair out trying to figure out why it won't work with my setup. > > If I telnet to my mail server, anyth...@mydomain.com is accepted. If I > turn up the loggin

Re: whitelist from spamhaus

2009-03-18 Thread Pascal Volk
On 18.03.2009 08:55 K bharathan wrote: > Hi > can i whitelist one domain from checking spamhaus ? > thanks smtpd_recipient_restrictions = ... reject_unauth_destination ... check_client_access hash:/etc/postfix/whitelist_clients check_sender_access hash:/etc/postfix/whitelist_senders re

Re: Outbound mail routing

2009-03-09 Thread Pascal Volk
On 09.03.2009 19:10 Zachary Fortna wrote: > Is it possible to route outbound messages based upon the domain of the > from address? For example: > > If u...@example.com sends and outbound message > it is routed to host1.mailrelay.com and if u...@test.com >

Re: smtpd_client_restrictions is EMPTY, beside setting in main.cf

2009-01-20 Thread Pascal Volk
On 20.01.2009 16:07 Thomas Ackermann wrote: > ... > r...@localhost:/etc/postfix,$ postconf -d smtpd_client_restrictions > smtpd_client_restrictions = man postconf: -d Print default parameter settings instead of actual settings. use `postconf smtpd_client_restrictions` to see your current