Page 1 of 1

To bounce or not to bounce

Posted: Fri Jun 22, 2012 8:42 pm
by ut2k3
Hi Guys,

first of all thanks for the great software. I have a strange Problem with bounces when I sent a test mailing to non existent E-Mails. When I sent a Mailing from news@mailingdomain.com (configured as Sender, Reply-To) to info@nonexistentDomain1234.de from OpenEMM (No Testuser or Adminuser) there is no bounce message arriving the INBOX of news@mailingdomain.com.

But the strange thing is that when I send from the shell for test with the following command:

Code: Select all

(echo subject: test; echo) | sendmail -Am -v -f news@mailingdomain.com info@nonexistentDomain1234.de
A bounce message appearing in my INBOX of news@mailingdomain.com


I've installed OpenEMM 2011 a few days ago on my fresh debian server with the following constellation:

External Mailserver (sending and receiving):
mx1.mailingdomain.com with news@mailingdomain.com

Configured with sendmail as a smarthost with the following lines:

sendmail.mc

Code: Select all

define(`SMART_HOST',`mx1.mailingdomain.com')dnl
FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
and the credentials for the external mailserver are inside the authinfo

I've made some additional changes required by documentations or found on this forum listed in the following:

sendmail.mc (added/changed):

Code: Select all

DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
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
In oder to test I've added all possibilities of the mail domains to the mailertable:

Code: Select all

ksxxxxx.kimsufi.com procmail:/home/openemm/conf/bav/bav.rc
mailingdomain.com procmail:/home/openemm/conf/bav/bav.rc
bounce.mailingdomain.com procmail:/home/openemm/conf/bav/bav.rc
helohost.mailingsmtpserver.com  procmail:/home/openemm/conf/bav/bav.rc
(bounce.mailingdomain.com is an additional a-record pointed to the external IP of the OpenEMM-Host)

I've also added all these domains inside the mailertable to the relay-domains:

Code: Select all

ksxxxxx.kimsufi.com
mailingdomain.com
bounce.mailingdomain.com
helohost.mailingsmtpserver.com
the local-host-names is empty

only ksxxxxx.kimsufi.com is in the /etc/hosts configured to the external IP-Address.

I also created for testing a bav.conf-local because of the different Mailadress from the STMP.

Code: Select all

bounce@bounce.mailingdomain.com alias:ext_3@bounce.mailingdomain.com
MAILER-DAEMON@bounce.mailingdomain.com alias:ext_4@bounce.mailingdomain.com
news@mailingdomain.com alias:ext_5@bounce.mailingdomain.com
I think openEMM also creates the bav.conf right inside var/spool/bav/bav.conf:

Code: Select all

@ksxxxxx.kimsufi.com	accept:rid=local
ext_3@ksxxxxx.kimsufi.com	accept:rid=3,cid=1
ext_3@bounce.mailingdomain.com	accept:rid=3,cid=1
ext_4@ksxxxxx.kimsufi.com	accept:rid=4,cid=1
ext_4@bounce.mailingdomain.com	accept:rid=4,cid=1
ext_5@ksxxxxx.kimsufi.com	accept:rid=5,cid=1
ext_5@bounce.mailingdomain.com	accept:rid=5,cid=1
bounce@bounce.mailingdomain.com alias:ext_3@bounce.mailingdomain.com
MAILER-DAEMON@bounce.mailingdomain.com alias:ext_4@bounce.mailingdomain.com
news@mailingdomain.com alias:ext_5@bounce.mailingdomain.com
Did I made something that wrong? I would really appreciate to find the solution. After that is working I'll release a full HowTo for debian because the current one isn't that good (has a lot of gaps).

Does openEMM add special headers or something different that causes the Mailserver not sending an Bounce. I've tried also to send do Nonexistinguser@extistingdomain.de of one of my other servers. The Mail arrives an get rejected but there is NO bounces message arriving to the INBOX of news@mailingdomain.com. If I use the manual command on the shell or an E-Mailclient with this account for sending to Nonexistinguser@extistingdomain.de I get a bounce notification -> That's why I think its related to OpenEMM.

Thanks for your help! Feel free to ask for additional informations of my configuration

Re: To bounce or not to bounce

Posted: Tue Jul 24, 2012 2:30 pm
by whotwagner
I have the exactly same problem and no idea how to solve this. i would be greatful for every hint...

Re: To bounce or not to bounce

Posted: Fri Jul 27, 2012 1:28 pm
by maschoff
Your changes to get incoming bounces look ok to us. But your problem is too specific for guessing. You should have someone to check out your server configuration.

Re: To bounce or not to bounce

Posted: Wed Sep 04, 2013 10:25 am
by mariasam
Could you tell me your resolution to fix this problem. I meet the same problem. :(