Hi all,

I've a PHP script which is executed by 'www-data' (the httpd user) local user in Debian GNU/Linux box. I use this smtpd box as massive mailing remainder to all of our costumers. Because of that I need to know the costumers haven't could be contacted, so I want to redirect these bounces to dedicated mailbox.

That's easy:

www:            failed_deliv...@domain.com

in aliases and rebuild the aliases.

But the problem is local user 'www-data' executes a lof of scripts using smtpd and I don't want to redirecto all the bounces to mailbox failed_deliv...@domain.com.

¿Is there any way to establish some pattern disctintion?

For example, let's to suppose that my massive mails are always generated with FROM: warni...@domain.com:

¿Can I set up "www: failed_deliv...@domain.com" in alias when _ONLY_ the FROM is warni...@domain.com?

Thanks in advance.

Reply via email to