Can't get my e-mail server to accept incoming e-mails

Use this forum for all questions related to bounce management of OpenEMM

Moderator: moderator

Can't get my e-mail server to accept incoming e-mails

Postby pbolgar » Fri Mar 11, 2011 7:03 pm

I am not sure what I am doing wrong, I have not been able to get bounce management to work because I can't get my e-mail server to accept e-mails.

Each time I send an e-mail to it to see, it bounces, I get the following:
This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

ext_2@mail.myservername.uk

Message will be retried for 1 more day(s)

Technical details of temporary failure:
The recipient server did not accept our requests to connect. Learn more at http://mail.google.com/support/bin/answ ... nswer=7720
[mail.myserver.uk. (10): Connection refused]


I did set up the MX record,
Domain Type Class TTL Answer
mail.myservername.uk. MX IN 300 mail.myservername.uk. [Preference = 10]
mail.myservername.uk. A IN 300 myserversipaddress



And it is different from the host name of the computer which is news.myservername.uk, also set up:
Domain Type Class TTL Answer
news.myserver.uk. MX IN 300 mail.myserver.uk. [Preference = 10]
mail.myserver.uk. A IN 300 myserveripaddress


I looked in /home/openemm/var/log/20110311-cc-email-bav-update.log, and the only entries it has say:

[11.03.2011 17:32:46] 8880 ERROR/data: Unable to read virtusertable (2, 'No such file or directory')


What do I do to handle this?

Thanks!
pbolgar
 
Posts: 32
Joined: Sat Feb 20, 2010 6:13 pm

Re: Can't get my e-mail server to accept incoming e-mails

Postby maschoff » Fri Mar 11, 2011 9:00 pm

Just create an empty virtusertable with touch.

Which one of your FQDNs is the domain name of your server and which one the domain for the sender address of your mails?
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2131
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Can't get my e-mail server to accept incoming e-mails

Postby pbolgar » Fri Mar 11, 2011 9:15 pm

Thanks!
Just create an empty virtusertable with touch.

Where do I put the virtusertable?

Which one of your FQDNs is the domain name of your server and which one the domain for the sender address of your mails?


news.myserver.uk is the domain name of the server and mail.myserver.uk is where I want to set up the answers to come to - like info@mail.myserver.uk.
pbolgar
 
Posts: 32
Joined: Sat Feb 20, 2010 6:13 pm

Re: Can't get my e-mail server to accept incoming e-mails

Postby maschoff » Fri Mar 11, 2011 9:23 pm

1. /etc/mail/virtusertable

2. If news.myserver.uk = server hostname and mail.myserver.uk = sender hostname, then you need an MX record for mail.myserver.uk like

Code: Select all
mail.myserver.uk MX news.myserver.uk


This line defines the MX record, meaning that host news accepts e-mails sent to host mail. Please see the OpenEMM Install Guide, section 9.2 for more info.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2131
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Can't get my e-mail server to accept incoming e-mails

Postby pbolgar » Mon Mar 14, 2011 7:08 pm

maschoff wrote:1. /etc/mail/virtusertable

2. If news.myserver.uk = server hostname and mail.myserver.uk = sender hostname, then you need an MX record for mail.myserver.uk like
Code: Select all
mail.myserver.uk MX news.myserver.uk



This is now done:

Code: Select all
mail.myserver.org.uk   MX   IN   300   news.myserver.org.uk. [Preference = 10]
is the current setting.

This line defines the MX record, meaning that host news accepts e-mails sent to host mail. Please see the OpenEMM Install Guide, section 9.2 for more info.

I went through the install guide and I think I did it, can't find what the bug would be, but I am getting the following:

I am getting the below message with my bounces:
Code: Select all
[news.myserver.uk. (10): Connection refused]


I looked in /var/logs/mail.info and found:
Code: Select all
Mar 14 17:53:28 news sm-msp-queue[1508]: p2EHpYt5014903: to=root, ctladdr=pbolgar (1000/1000), delay=00:01:54, xdelay=00:00:00, mailer=relay, pri=120150, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


In mail.warn and in mail.err I found the below:

Code: Select all
Mar 14 07:54:00 news sendmail[11240]: p2E7npau011224: bogus queue file, uid=122, gid=133, mode=100660
Mar 14 07:54:00 news sendmail[11240]: p2E7npau011224: Losing ./qfp2E7npau011224: bogus file uid/gid in mqueue


What do I do now?

Best,

Peter
Last edited by pbolgar on Fri Jul 01, 2011 11:47 am, edited 1 time in total.
pbolgar
 
Posts: 32
Joined: Sat Feb 20, 2010 6:13 pm

Re: Can't get my e-mail server to accept incoming e-mails

Postby pbolgar » Wed Mar 23, 2011 3:42 pm

Maschoff,

Thanks for all your help on this so far - I know this is free software and there is no free user support with it and what you have already suggested to me is much appreciated.

Would you be able to point me in which direction to look to get this resolved? I am guessing that it is the sendmail configuration somehow, right?

Best,

pbolgar
pbolgar
 
Posts: 32
Joined: Sat Feb 20, 2010 6:13 pm

Re: Can't get my e-mail server to accept incoming e-mails

Postby maschoff » Wed Mar 23, 2011 5:00 pm

Without investigating your specific configuration we do not know a solution. Unfortunately, there is no secret we know. Best would be to have a sendmail expert take a look (and no, we are no sendmail experts, we only use it because it is widely distributed and because of its libmilter capability).
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2131
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Can't get my e-mail server to accept incoming e-mails

Postby pbolgar » Wed Mar 23, 2011 5:02 pm

Thanks! I understand.

I really love openemm, keep up the good work!
pbolgar
 
Posts: 32
Joined: Sat Feb 20, 2010 6:13 pm

Re: Can't get my e-mail server to accept incoming e-mails

Postby paultim374 » Wed Jun 12, 2013 7:14 am

This line defines the MX record, meaning that host news accepts e-mails sent to host mail. Please see the OpenEMM Install Guide, section 9.2 for more info.
With dumps course you will learn how to create stunning Photoshop image. Try out 350-050 braindumps design tutorial and SAP guide to learn the best web designing skills. for more detail University of California, Los Angeles best wishes
paultim374
 
Posts: 1
Joined: Wed Jun 12, 2013 7:12 am


Return to Bounce Management

Who is online

Users browsing this forum: No registered users and 1 guest

cron