Re: mailrelay - copy from all outgoing and incoming email
On Fri, November 20, 2009 7:13 am, post urne said: yes - thats right - now the mails will are stored in the lokal archive account - BUT now I get there 2 copies for one email. It seems to be, that this problem comes with use of amavisd-new as contentfilter. Is there a way, to save one mail only one time? This is a FAQ. You need to disable address rewriting either before or after the filter. See FILTER_README, keyword receive_override_options. -- Magnus Bäck mag...@dsek.lth.se
Re: mailrelay - copy from all outgoing and incoming email
On Thursday, November 19, 2009 at 15:59 CET, post urne postu...@gmail.com wrote: I want to archive all kind of emails, are going through my postfix mailrelay. After some search, I found a Howto: http://www.arschkrebs.de/postfix/postfix_archive.shtml I follow exactly the steps - but it doesnt work. The email is relayed to the original recipient, but not stored under /home/bcc /. . the maillog shows me: Nov 19 15:40:40 mx2 postfix/virtual[3691]: 2F6F8990097: to=l...@domain.de@bcc.invalid, relay=virtual, delay=0.15, delays=0.05/0.01/0/0.08, dsn=5.1.1, status=bounced (unknown user: l...@domain.de@bcc.invalid) How have you configured virtual_mailbox_maps? Apparently the table(s) listed in that parameter doesn't return a mailbox path when fed with l...@domain.de@bcc.invalid as input string. -- Magnus Bäck mag...@dsek.lth.se
RE: mailrelay - copy from all outgoing and incoming email
How have you configured virtual_mailbox_maps? Apparently the table(s) listed in that parameter doesn't return a mailbox path when fed with l...@domain.de@bcc.invalid as input string. I setup this as described: virtual_mailbox_domains = bcc.invalid virtual_mailbox_base = /home/bcc virtual_mailbox_maps = $default_database_type:/etc/postfix/vmbox virtual_uid_maps = static:504 virtual_gid_maps = static:504 [r...@mx2 ~]# cat /etc/postfix/vmbox bac...@bcc.invalid Maildir/ regards, Thomas
Re: mailrelay - copy from all outgoing and incoming email
On Thursday, November 19, 2009 at 23:27 CET, anonymous postu...@gmail.com wrote: How have you configured virtual_mailbox_maps? Apparently the table(s) listed in that parameter doesn't return a mailbox path when fed with l...@domain.de@bcc.invalid as input string. I setup this as described: virtual_mailbox_domains = bcc.invalid virtual_mailbox_base = /home/bcc virtual_mailbox_maps = $default_database_type:/etc/postfix/vmbox virtual_uid_maps = static:504 virtual_gid_maps = static:504 [r...@mx2 ~]# cat /etc/postfix/vmbox bac...@bcc.invalid Maildir/ bac...@bcc.invalid != l...@domain.de@bcc.invalid You need to make sure the table returns the desired mailbox path for ALL input strings. @bcc.invalid Maildir/ -- Magnus Bäck mag...@dsek.lth.se
Re: mailrelay - copy from all outgoing and incoming email
bac...@bcc.invalid != l...@domain.de@bcc.invalid You need to make sure the table returns the desired mailbox path for ALL input strings. @bcc.invalid Maildir/ Hi Magnus, yes - thats right - now the mails will are stored in the lokal archive account - BUT now I get there 2 copies for one email. It seems to be, that this problem comes with use of amavisd-new as contentfilter. Is there a way, to save one mail only one time? thanks in advance regards, Thomas