Tie a mail with log files?

2010-01-08 Thread Kārlis Repsons
Just I wanted to know if there is currently a good way to tie messages with log files? I mean, to see that ID (like 8BA216E7D7) into some mail header or similar... Perhaps add it with maildrop -A? signature.asc Description: This is a digitally signed message part.

Re: Tie a mail with log files?

2010-01-08 Thread Kārlis Repsons
On Friday 08 January 2010 20:27:09 Noel Jones wrote: > Well, you can always look up the Message-ID: header, which is > logged by qmgr, and find the QUEUEID that way. Thanks! Was quite the same thing I waned. That uniqueness is not crucial right now... signature.asc Description: This is a digita

Anyone else had this issue with maildrop?

2010-01-10 Thread Kārlis Repsons
Hi, maildrop seems to reject any efforts on my part, take a look at this: Tried using maildrop with postfix as described in the second part of [1], but it failed. strace showed me: "connect(3, {sa_family=AF_FILE, path="/var/lib/courier/authdaemon/socket"...}, 110) = -1 ENOENT (No such file or dir

Re: Anyone else had this issue with maildrop?

2010-01-11 Thread Kārlis Repsons
On Sunday 10 January 2010 14:59:11 mouss wrote: > Your maildrop needs to contact the courier authdaemon server. Make sure, > authdaemon is running and correctly configured. if you don't need it, > you'll need to rebuild maildrop without authlib support. > > anyway, this is not postfix related. mai

Multiple "From:" in a mail header?

2010-01-14 Thread Kārlis Repsons
Is that possible for mail headers field to continue multiple /^From: .*/ speaking in terms of maildrop and PCRE? signature.asc Description: This is a digitally signed message part.

Re: Multiple "From:" in a mail header?

2010-01-14 Thread Kārlis Repsons
On Thursday 14 January 2010 11:59:16 Wietse Venema wrote: > > Is that possible for mail headers field to continue multiple /^From: .*/ > > speaking in terms of maildrop and PCRE? > > According to RFC 5322: > >from= "From:" mailbox-list CRLF >mailbox-list= (mailbox *(",

Re: Multiple "From:" in a mail header?

2010-01-15 Thread Kārlis Repsons
On Thursday 14 January 2010 19:14:48 Victor Duchovni wrote: > It may be prudent to also treat: > > From: > From: > > as synonymous with: > > From: , > > the implied meaning is that the people with those email addresses, > co-authored the email. But have you seriously

Re: Multiple "From:" in a mail header?

2010-01-15 Thread Kārlis Repsons
On Friday 15 January 2010 09:29:37 Mark Martinec wrote: > On Friday January 15 2010 09:11:27 Kārlis Repsons wrote: > > But have you seriously seen a mail client, which would allow sending such > > mail? I would think, this is an extreme rarity, but is it? > > It

Fixing reverse DNS lookup for a virtual domain

2010-04-20 Thread Kārlis Repsons
Hi there, hopefully this can be easy: as I have $myhostname other than virtual domain name, when server relays my v.d. mails, it uses $myhostname and so sometimes I receive a refusal like this: "550 Reverse DNS lookup failed for host"; how should I make server use my virtual domain's name when r

Re: Fixing reverse DNS lookup for a virtual domain

2010-04-20 Thread Kārlis Repsons
On Tuesday 20 April 2010 18:46:51 Noel Jones wrote: > For your server (from list mail headers) > Received: from pasts.trikata.com (unknown [85.15.210.5]) Well and if I have a domain 11.lv, for which this is given: host 11.lv 11.lv has address 85.15.210.5 11.lv mail is handled by 10 mail.11.lv. 11.l

Re: Fixing reverse DNS lookup for a virtual domain

2010-04-21 Thread Kārlis Repsons
On Tuesday 20 April 2010 20:50:08 Noel Jones wrote: > Here's the problem, your IP has no hostname: > # host 85.15.210.5 > Host 5.210.15.85.in-addr.arpa not found: 3(NXDOMAIN) .. > Your HELO name and rDNS name should match, there should be an > A record for the rDNS name that points back to the same

Relay + selective dual authenticity check

2009-11-24 Thread Kārlis Repsons
Hi to all the list members! I've been thinkering around postfix for some not very long time, but still haven't found an answer to this problem: 1) let there be host "server" and host "client"; 2) server must be able to receive any incoming mail (as usually for its own domain); 3) server only s

Re: Relay + selective dual authenticity check

2009-11-24 Thread Kārlis Repsons
On Tuesday 24 November 2009 18:39:34 Victor Duchovni wrote: > > 3) server only sends relayed mail to not-on-server address if its from > > authenticated client (with the expected certificate); > > mynetworks = 127.0.0.1 > relay_domains = > smtpd_recipient_restrictions = >

Re: Relay + selective dual authenticity check

2009-11-24 Thread Kārlis Repsons
On Tuesday 24 November 2009 20:00:38 you wrote: > > > 6) before accepting message, server checks clients authenticity in > > > similar way, if user U is the source. > > > > You are trying to impose an end-to-end security model (end-user > > entitlements to send email, ...) onto a hop-by-hop infra

Save a copy of relayed mail?

2009-12-07 Thread Kārlis Repsons
Hi all, I've found, it can be done by setting always_bcc, but it would also make copies of normally received mail and locally sent one, right? If so, how can only relayed mail be saved as a local copy on relay host? Thanks... signature.asc Description: This is a digitally signed message part.

Re: Save a copy of relayed mail?

2009-12-09 Thread Kārlis Repsons
On Monday 07 December 2009 17:38:48 Kārlis Repsons wrote: > Hi all, > > I've found, it can be done by setting always_bcc, but it would also make > copies of normally received mail and locally sent one, right? If so, Just to know: did I ask some nonsense or this was consider

Sent mail saving problem

2009-12-12 Thread Kārlis Repsons
Could anyone help me sorting this out: its very convenient to store mails on mailserver and relay sent mail through it, so it gets sent immediately, but there is a problem: how can relayed sent mail be also saved on mailserver, using the same LDA program as for incoming mail (to place it into th

Re: Sent mail saving problem

2009-12-12 Thread Kārlis Repsons
On Saturday 12 December 2009 16:57:40 /dev/rob0 wrote: > On Sat, Dec 12, 2009 at 03:37:17PM +0000, Kārlis Repsons wrote: > > Could anyone help me sorting this out: its very convenient to store > > mails on mailserver and relay sent mail through it, so it gets sent > > immedi

Does postfix avoid logs flooding?

2009-12-12 Thread Kārlis Repsons
After seeing these: postfix/smtpd[14497]: warning: 118.71.107.14: hostname adsl-dynamic-pool-xxx.fpt.vn verification failed: Name or service not known postfix/smtpd[14497]: connect from unknown[118.71.107.14] postfix/smtpd[14497]: NOQUEUE: reject: RCPT from unknown[118.71.107.14]: 550 5.1.1 : Re

Re: Does postfix avoid logs flooding?

2009-12-12 Thread Kārlis Repsons
On Saturday 12 December 2009 17:59:49 Wietse Venema wrote: > =?utf-8?q?K=C4=81rlis_Repsons?=: > > After seeing these: > > > > postfix/smtpd[14497]: warning: 118.71.107.14: hostname > > adsl-dynamic-pool-x -xx.fpt.vn verification failed: Name or service not > > known > > postfix/smtpd[14497]: connec