Re: need help with regexp in header_checks

2013-11-15 Thread LuKreme
On Nov 13, 2013, at 8:01, Noel Jones njo...@megan.vbhcs.org wrote: Anyway, this should match better: /^(To|From|Cc|Reply-To): .*[ ]admin@/DISCARD Besides the discussion on the need to anchor the regex (you do), I'm trying to wrap my head around why one would want to discard mail from

Re: Restrict access to spam filter retraining aliases

2013-11-15 Thread LuKreme
On Nov 14, 2013, at 6:32, Igor Zinovik zinovik.i...@gmail.com wrote: If someone has similiar setup I also would like to know is it useful at all, or most of them do not care about filter retraining. I made retraining very easy, mail moved into the spam mailbox was trained a spam and mail

virtual_mailbox_domains username/password

2013-11-15 Thread postfix
Need help from postfix experts. I setup postfix for virtual_mailbox_domains virtual_mailbox_domains = mydomain.tld virtual_mailbox_base = /home/mail virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_uid_maps = static:5000 virtual_gid_maps = static:5000 Then '/etc/postfix/vmailbox'

Re: virtual_mailbox_domains username/password

2013-11-15 Thread Wietse Venema
post...@oasisoflove.com: Need help from postfix experts. I setup postfix for virtual_mailbox_domains virtual_mailbox_domains = mydomain.tld virtual_mailbox_base = /home/mail virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_uid_maps = static:5000 virtual_gid_maps = static:5000

sasl by sender

2013-11-15 Thread Pol Hallen
Hi all, I've finished to read sasl authentication and I can send email using it. Now I'd like that postfix send the email using the sasl username (te...@mydomain.com) and not with the sender of email client, because with 1 sasl authentication, every users can send with same sasl account, ie:

Re: sasl by sender

2013-11-15 Thread li...@rhsoft.net
Am 15.11.2013 20:50, schrieb Pol Hallen: Hi all, I've finished to read sasl authentication and I can send email using it. Now I'd like that postfix send the email using the sasl username (te...@mydomain.com) and not with the sender of email client, because with 1 sasl authentication,

Changing the outgoing hostname in message headers

2013-11-15 Thread g_adams27
Hello. I'm hosting a mail server that provides mail services for 3 companies. (names and addresses changed to protect the innocent/guilty) It's like this: myhostname= www.company1.com mydomain = company1.com myorigin = company1.com mydestination = company1.com, company2.com,