Re: Apply policy service for inbound mail only.

2012-09-22 Thread mouss
Le 20/09/2012 05:05, Brock Henry a écrit : I still can't quite get my head around it. I am fairly new to Postfix. If a user connects via SASL, they get permitted too early, and miss out on the check_policy_service. smtpd_recipient_restrictions = ... permit_sasl_authenticated,

Re: Error: reject_sender_login_mismatch

2012-09-22 Thread mouss
Le 20/09/2012 05:41, Leon a écrit : Hi, I have running a server with postfix-mysql+dovecot+postfixadmin,in main.cf: smtpd_sender_login_maps = mysql:/etc/postfix/mysql_mailbox_maps.cf, mysql:/etc/postfix/mysql_alias_maps.cf smtpd_sender_restrictions =

Postfix, dspam, clamav and dovecot

2012-09-22 Thread Jan Meyland Andersen
Hi I have a problem with setting up a combination of Postfix, dspam, clamav and dovecot. What I want to achieve is to get the mail scanned by dspam and clamav before dovecot(sieve) delivers the mail. I don't know if this is the best setup but I think that this should give me the spam and

myhostname depend on sender address, message id depend on sender address: is it possible and how to?

2012-09-22 Thread Андрей Клаус
Hello I have the next situation/configuration. One dedicated web server with 2 domains on it: domain1.tld and domain2.tld. Lets name it `webserver'. Posfix version is 2.6.6. It has CentOS 6.3 installed (in case it is important). One dedicated postfix box with 2 domain names (2 A-records in DNS):

Re: myhostname depend on sender address, message id depend on sender address: is it possible and how to?

2012-09-22 Thread Reindl Harald
Am 22.09.2012 16:41, schrieb Андрей Клаус: 1) At webserver postfix generates a message-id field. And it always has the same hostname (hostname, which i defined in $myhostname). I would like to have message id use domain which will depend on sender address. So, if sender address is

Re: Postfix, dspam, clamav and dovecot

2012-09-22 Thread Benny Pedersen
Jan Meyland Andersen skrev den 2012-09-22 16:21: content_filter = scan:127.0.0.1:2424 scan unix - - n - 16 smtp unix vs lmtp ServerHost 127.0.0.1 ServerPort 2424 this is lmtp not unix sockets do you want lmtp or unix sockets

Re: myhostname depend on sender address, message id depend on sender address: is it possible and how to?

2012-09-22 Thread Reindl Harald
* do not top-post * do not reply off-list what is your exactly problem? the message-id is meaningless if you like to have it a special way treat your developers to fix tehir scripts or leave all as it is Am 22.09.2012 16:58, schrieb Андрей Клаус: Thanks for advise. I will think about this way

Re: Postfix, dspam, clamav and dovecot

2012-09-22 Thread Viktor Dukhovni
On Sat, Sep 22, 2012 at 04:56:58PM +0200, Benny Pedersen wrote: Jan Meyland Andersen skrev den 2012-09-22 16:21: content_filter = scan:127.0.0.1:2424 scan unix - - n - 16 smtp unix vs lmtp ServerHost 127.0.0.1 ServerPort

Re: myhostname depend on sender address, message id depend on sender address: is it possible and how to?

2012-09-22 Thread Noel Jones
On 9/22/2012 9:41 AM, Андрей Клаус wrote: 1) At webserver postfix generates a message-id field. And it always has the same hostname (hostname, which i defined in $myhostname). I would like to have message id use domain which will depend on sender address. So, if sender address is