Some troubles of bounce management
Posted: Mon Dec 05, 2011 5:36 pm
Hy,
I've installed openemm 2011, and it's ok...the instant bounce work perfectly,
but I'll try to configure bounce delayed and It don't work.
This is my scenario:
- DNS configuration
mydomain.com A xxx.xxx.xxx.xxx
host.mydomain.com A xxx.xxx.xxx.xxx
news.mydomain.com A xxx.xxx.xxx.xxx
news.mydomain.com MX 10 host.mydomain.com
* records A have the same address
- Sendmail Configuration:
root@host:/# cat /etc/mail/mailertable
news.mydomain.com procmail:/home/openemm/conf/bav/bav.rc
root@host:/# cat /etc/mail/relay-domains
mydomain.com
news.mydomain.com
In "/etc/mail/sendmail.mc" I've added following lines:
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
MAILER(`procmail')dnl
INPUT_MAIL_FILTER(`bav',`S=unix:/home/openemm/var/run/bav.sock, F=T')dnl
- OpenEMM Configuration
root@host:/# cat /home/openemm/conf/bav/bav.conf-local
news@news.mydomain.com alias:ext_1@news.mydomain.com
news@news.mydomain.com alias:ext_2@news.mydomain.com
root@host:/# cat /home/openemm-2011/var/spool/bav/bav.conf
@localhost accept:rid=local
@host.mydomain.com accept:rid=local
@host.mydomain.com accept:rid=local
ext_1@news.mydomain.com accept:rid=1,cid=1,fwd=real_address@hotmail.it
ext_2@news.mydomain.com accept:rid=2,cid=1,fwd=real_address@hotmail.it
news@news.mydomain.com alias:ext_1@news.mydomain.com
news@news.mydomain.com alias:ext_2@news.mydomain.com
In the web-interface I've created 2 bounce filter.
If I send a private mail to news@news.mydomain.com, it work right, and milter forward this mail to real_address@hotmail.it.
But when I send a mailing (with incorrett address)...don't send anything...
This is maillog after send mailing:
Dec 5 16:36:10 host sendmail[20773]: STARTTLS=client, relay=mail.xxx.it., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 5 16:36:10 host sendmail[20773]: 00001600000000009: to=<errore@xxx.it>, delay=00:00:29, xdelay=00:00:01, mailer=esmtp, pri=0, relay=mail.xxx.it. [10.40.0.19], dsn=2.0.0, stat=Sent (Ok: queued as AD65372BFF)
Dec 5 16:36:10 host sendmail[20773]: 00001600000000004: to=<user1@xxx.it>, delay=00:00:29, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mail.xxx.it. [10.40.0.19], dsn=2.0.0, stat=Sent (Ok: queued as CCFE472D48)
Dec 5 16:36:10 host sendmail[20773]: 00001600000000003: to=<user2@yyy.it>, delay=00:00:29, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mail.yyy.it. [10.40.0.6], dsn=2.0.0, stat=Sent (message sent ok)
Dec 5 16:36:10 host sendmail[20773]: STARTTLS=client, relay=mail.jjj.it., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 5 16:36:10 host sendmail[20773]: 00001600000000008: to=<full@jjj.it>, delay=00:00:29, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mail.impresa21.it. [10.40.0.19], dsn=2.0.0, stat=Sent (Ok: queued as 135C072D56)
* where errore@xxx.it and full@jjj.it would be bounced
How you can see, don't appear Milter messages...
I'm going crazy with Bounce configuration...can you help me please????
I've installed openemm 2011, and it's ok...the instant bounce work perfectly,
but I'll try to configure bounce delayed and It don't work.
This is my scenario:
- DNS configuration
mydomain.com A xxx.xxx.xxx.xxx
host.mydomain.com A xxx.xxx.xxx.xxx
news.mydomain.com A xxx.xxx.xxx.xxx
news.mydomain.com MX 10 host.mydomain.com
* records A have the same address
- Sendmail Configuration:
root@host:/# cat /etc/mail/mailertable
news.mydomain.com procmail:/home/openemm/conf/bav/bav.rc
root@host:/# cat /etc/mail/relay-domains
mydomain.com
news.mydomain.com
In "/etc/mail/sendmail.mc" I've added following lines:
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
MAILER(`procmail')dnl
INPUT_MAIL_FILTER(`bav',`S=unix:/home/openemm/var/run/bav.sock, F=T')dnl
- OpenEMM Configuration
root@host:/# cat /home/openemm/conf/bav/bav.conf-local
news@news.mydomain.com alias:ext_1@news.mydomain.com
news@news.mydomain.com alias:ext_2@news.mydomain.com
root@host:/# cat /home/openemm-2011/var/spool/bav/bav.conf
@localhost accept:rid=local
@host.mydomain.com accept:rid=local
@host.mydomain.com accept:rid=local
ext_1@news.mydomain.com accept:rid=1,cid=1,fwd=real_address@hotmail.it
ext_2@news.mydomain.com accept:rid=2,cid=1,fwd=real_address@hotmail.it
news@news.mydomain.com alias:ext_1@news.mydomain.com
news@news.mydomain.com alias:ext_2@news.mydomain.com
In the web-interface I've created 2 bounce filter.
If I send a private mail to news@news.mydomain.com, it work right, and milter forward this mail to real_address@hotmail.it.
But when I send a mailing (with incorrett address)...don't send anything...
This is maillog after send mailing:
Dec 5 16:36:10 host sendmail[20773]: STARTTLS=client, relay=mail.xxx.it., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 5 16:36:10 host sendmail[20773]: 00001600000000009: to=<errore@xxx.it>, delay=00:00:29, xdelay=00:00:01, mailer=esmtp, pri=0, relay=mail.xxx.it. [10.40.0.19], dsn=2.0.0, stat=Sent (Ok: queued as AD65372BFF)
Dec 5 16:36:10 host sendmail[20773]: 00001600000000004: to=<user1@xxx.it>, delay=00:00:29, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mail.xxx.it. [10.40.0.19], dsn=2.0.0, stat=Sent (Ok: queued as CCFE472D48)
Dec 5 16:36:10 host sendmail[20773]: 00001600000000003: to=<user2@yyy.it>, delay=00:00:29, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mail.yyy.it. [10.40.0.6], dsn=2.0.0, stat=Sent (message sent ok)
Dec 5 16:36:10 host sendmail[20773]: STARTTLS=client, relay=mail.jjj.it., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Dec 5 16:36:10 host sendmail[20773]: 00001600000000008: to=<full@jjj.it>, delay=00:00:29, xdelay=00:00:00, mailer=esmtp, pri=0, relay=mail.impresa21.it. [10.40.0.19], dsn=2.0.0, stat=Sent (Ok: queued as 135C072D56)
* where errore@xxx.it and full@jjj.it would be bounced
How you can see, don't appear Milter messages...
I'm going crazy with Bounce configuration...can you help me please????