adding header to outgoing mail

2010-04-29 Thread Israel Garcia
I need to add this header to all outgoing email on my servers: X-SMTPAPI: {"category": "Forum Notifications"} How can I do that? main.cf file? thanks in advance, -- Regards; Israel Garcia

Re: adding header to outgoing mail

2010-04-29 Thread Wietse Venema
Israel Garcia: > I need to add this header to all outgoing email on my servers: > > X-SMTPAPI: {"category": "Forum Notifications"} > > How can I do that? main.cf file? > > thanks in advance, - A PREPEND action in an smtpd_sender/client_restrictions access map - A Milter program that prepends

relayhost and transport_maps

2010-04-29 Thread Israel Garcia
Hi, I'm sending all emails to a relayhost with a TLS connection , but I want to send mail to specific domain using another hosts. I mean: * --> [smtp.tls.host]:587 (TLS) and *...@domain1 smtp:[host1] *...@domain2 smtp:[host2] This is postconf -n output: alias_database = hash:/etc/aliases

Re: relayhost and transport_maps

2010-04-29 Thread Wietse Venema
Israel Garcia: > Hi, > > I'm sending all emails to a relayhost with a TLS connection , but I > want to send mail to specific domain using another hosts. I mean: As documented, the transport_maps setting overrides the relayhost setting, so you are on the right track: relayhost = [smtp.tls.ho

recipient_bcc_maps

2010-04-29 Thread Stan Hoeppner
I'm current using recipient_bcc_maps to forward spam trap emails to a dnsbl. I've been asked by another dnsbl to provide them the same trap data. According to recipient_bcc_maps, I can't bcc to more than one address. I thought of creating a local alias that expands to both addresses and bcc'ing t

Re: relayhost and transport_maps

2010-04-29 Thread Israel Garcia
On Thu, Apr 29, 2010 at 2:22 PM, Wietse Venema wrote: > >> �...@domain1 smtp:[host1] >> �...@domain2 smtp:[host2] > > The syntax for transport maps is documented: man 5 transport. Please > take a minute to read the docs. :-) working now.. but I'm getting this error when try to connect with the

smtpd ldap query causes session to hang with postfix 2.6.2

2010-04-29 Thread Charles Account
Hi, We have a situation where LDAP query is resulting in a LDAP 80 level errorduring a domain lookup. Yes I understand we need to fix this problem. However, the side effect we see is the client's SMTP session hangs. Over a period of time all SMTPD sessions are consumed and no mail is processed

Re: smtpd ldap query causes session to hang with postfix 2.6.2

2010-04-29 Thread Kenneth Marshall
On Thu, Apr 29, 2010 at 01:53:37PM +, Charles Account wrote: > > Hi, > We have a situation where LDAP query is resulting in a LDAP 80 level > errorduring a domain lookup. Yes I understand we need to fix this problem. > However, the side effect we see is the client's SMTP session hangs. Over

Re: relayhost and transport_maps

2010-04-29 Thread Wietse Venema
Israel Garcia: > On Thu, Apr 29, 2010 at 2:22 PM, Wietse Venema wrote: > > > >> ?...@domain1 smtp:[host1] > >> ?...@domain2 smtp:[host2] > > > > The syntax for transport maps is documented: man 5 transport. Please > > take a minute to read the docs. > > :-) working now.. > > but I'm getting thi

Re: recipient_bcc_maps

2010-04-29 Thread Wietse Venema
Stan Hoeppner: > I'm current using recipient_bcc_maps to forward spam trap emails to a dnsbl. > I've been asked by another dnsbl to provide them the same trap data. > According to recipient_bcc_maps, I can't bcc to more than one address. As documented. > I > thought of creating a local alias th

Re: relayhost and transport_maps

2010-04-29 Thread Israel Garcia
>> >> Apr 29 08:31:49 server postfix/smtp[25835]: 270101CE0C: >> to=, relay=host1[xx.xx.xx.xx]:25, delay=545, >> delays=545/0.02/0.09/0, dsn=4.7.0, status=deferred (SASL >> authentication failed; server host1[xx.xx.xx.xx] said: 535 5.7.0 >> Error: authentication failed: authentication failure) >> >

Re: relayhost and transport_maps

2010-04-29 Thread Brian Evans - Postfix List
On 4/29/2010 11:21 AM, Israel Garcia wrote: >>> Apr 29 08:31:49 server postfix/smtp[25835]: 270101CE0C: >>> to=, relay=host1[xx.xx.xx.xx]:25, delay=545, >>> delays=545/0.02/0.09/0, dsn=4.7.0, status=deferred (SASL >>> authentication failed; server host1[xx.xx.xx.xx] said: 535 5.7.0 >>> Error: authe

Re: recipient_bcc_maps

2010-04-29 Thread Stan Hoeppner
Wietse Venema put forth on 4/29/2010 9:05 AM: > Stan Hoeppner: >> I'm current using recipient_bcc_maps to forward spam trap emails to a dnsbl. >> I've been asked by another dnsbl to provide them the same trap data. >> According to recipient_bcc_maps, I can't bcc to more than one address. > > As d

Re: recipient_bcc_maps

2010-04-29 Thread Wietse Venema
Wietse: > I don't see any text that _bcc_maps recipient are given other > treatment than non-BCC recipients. Stan Hoeppner: > Thanks Wietse. I was misreading this > > Note: automatic BCC recipients are produced only for new > mail. To avoid mailer loops, automatic BCC recipients >

clamav with master.cf/main.cf

2010-04-29 Thread W S
Folks,   I would like to filter out and quarantine emails which has SocialSec or CreditCard numbers within Subject or Body of emails [regular ascii digits] I see ClamAV has options with DLP[Data Loss Prevention] - does anyone knows what exactly I have add within master.cf/main.cf to accomplish th

Re: clamav with master.cf/main.cf

2010-04-29 Thread Noel Jones
On 4/29/2010 2:06 PM, W S wrote: Folks, I would like to filter out and quarantine emails which has SocialSec or CreditCard numbers within Subject or Body of emails [regular ascii digits] I see ClamAV has options with DLP[Data Loss Prevention] - does anyone knows what exactly I have add within mas

smtp-sink custom return codes

2010-04-29 Thread Jason Parsons
Folks: smtp-sink returns the following strings if configured to reject a command (ie, the -r, -f, -Q, arguments): #define SOFT_ERROR_RESP "450 4.3.0 Error: command failed" #define HARD_ERROR_RESP "500 5.3.0 Error: command failed" I have found it useful to be able to customize

Re: smtpd ldap query causes session to hang with postfix 2.6.2

2010-04-29 Thread Victor Duchovni
On Thu, Apr 29, 2010 at 01:53:37PM +, Charles Account wrote: > We have a situation where LDAP query is resulting in a LDAP 80 level > errorduring a domain lookup. Yes I understand we need to fix this problem. I've mentioned a number of times on this list that it is unwise to make the trivial-

Re: relayhost and transport_maps

2010-04-29 Thread Israel Garcia
On Thu, Apr 29, 2010 at 5:34 PM, Brian Evans - Postfix List wrote: > > This is because of your setting in main.cf: > >> smtp_sasl_password_maps = static:login:userpasswd >> > > This will send the same user and password to every server that supports > authentication. > Suggest changing this to a m