Re: SRS implementation

2010-05-22 Thread Wietse Venema
Tomoyuki Murakami: First, this would accept mail for forwarder+anyuser=anydom...@my.dom, meaning that it would be an open relay. A more secure implementation would compute a hash of (orig_sen...@domain.com, local secret) and include that hash in the return address. I guess, with my

Multiple domain postfix: setting smtp_helo_name depending on sender

2010-05-22 Thread Matthieu Finiasz
Hello everyone, I have been running postfix for two mail domains (say, domain1.net and domain2.net) for a while and everything works fine. However, in my main.cf configuration file I have set myhostname = mail.domain1.net and thus, every mail received from my postfix SMTP contains a header

Send bounced email inline instead of as an attachment

2010-05-22 Thread Jonathan Cutting
Hi All, I've had a look at the manual for bounced mail, and although I can see that it is possible to customise the mailer-daemon message for bounced email, I can't see an option to include the bounced mail inline rather than as an attachment. We use SugarCRM to send campaigns and it checks

Re: Send bounced email inline instead of as an attachment

2010-05-22 Thread Victor Duchovni
On Sat, May 22, 2010 at 06:37:57PM +0100, Jonathan Cutting wrote: Hi All, I've had a look at the manual for bounced mail, and although I can see that it is possible to customise the mailer-daemon message for bounced email, I can't see an option to include the bounced mail inline rather

Re: Send bounced email inline instead of as an attachment

2010-05-22 Thread Jonathan Cutting
On 22/05/10 18:50, Victor Duchovni wrote: On Sat, May 22, 2010 at 06:37:57PM +0100, Jonathan Cutting wrote: Hi All, I've had a look at the manual for bounced mail, and although I can see that it is possible to customise the mailer-daemon message for bounced email, I can't see an option to

Re: Multiple domain postfix: setting smtp_helo_name depending on sender

2010-05-22 Thread Wietse Venema
Matthieu Finiasz: sender_dependent_relayhost_maps = regexp:/etc/postfix/relay_reg Then relay_reg contains: /@domain1\.net$/ domain1: /@domain2\.net$/ domain2: Postfix expects the lookup result syntax of the relayhost parameter. As documented for the relayhost parameter, SMTP destinations

Re: Strange behavior with relay_domains and ldap

2010-05-22 Thread Victor Duchovni
On Sun, May 23, 2010 at 12:54:34AM +0100, Jo?o Gouveia wrote: I'm having a weird behavior with my (very simple) postfix configuration. I was trying to use LDAP to check if I should relay for a domain or not, like this: relay_domains = proxy:ldap:/etc/postfix/relay_domains_ldap.cf The proxy