Trying to forward email with exim4

Hi there,

I have exim4 set up, initially using the send mail only configuration shown here:

http://library.linode.com/email/exim/se … 0.04-lucid">http://library.linode.com/email/exim/send-only-mta-ubuntu-10.04-lucid

I then set up the domain manaobscura.com to use Google Apps, following the instructions here:

http://library.linode.com/email/google-mail

I also have several other domains, but I don't want to create Google Apps accounts for each one of them:

gazimoff.com

gazimoff.co.uk

damageb.in

damagebin.com

molotovchicken.com

obscurecast.com

I thought that adding virtual hosts using this guide would do the trick:

http://www.debian-administration.org/articles/140

The files in /etc/exim4/virtual/ have the following contents (or similar)

> * : damagebin@manaobscura.com

I've since updated exim4.conf and restarted the MTA, but no joy. I've also hunted around for solutions but I'm getting nowhere fast.

Does anyone have any suggestions? I'm starting to pull my hair out on this one.

Thanks in advance

4 Replies

it'd probably help if I provided some further information. I get the following error with emails bouncing back to me:

> 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">http://mail.google.com/support/bin/answer.py?answer=7720

[mail.damageb.in. (10): Connection refused]

@Gazimoff:

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">http://mail.google.com/support/bin/answer.py?answer=7720

[mail.damageb.in. (10): Connection refused]
The link google provided gives you a list of possibilities. The mail server for damageb.in is either firewalled prohitting connections or the mail server is not listening on the public IP address.

@Gazimoff:

Does anyone have any suggestions?
Make sure you have rDNS set up and your mail server is configured to accept mail for the domains you want. Presently there are no MX records for damageb.in, nor is there a listening SMTP service at the A record for the domain.

Travis

@otherbbs:

Make sure you have rDNS set up and your mail server is configured to accept mail for the domains you want. Presently there are no MX records for damageb.in, nor is there a listening SMTP service at the A record for the domain.

Hi Travis, thanks for the reply.

On the DNS manager I've set up MX entries. I've also checked them using mxtoolbox and they seem to be responding OK. It's as you say though - the box just doesn't seem to be listening on that port or actively refusing connections.

More digging required. Thanks though!

FIXED

When configuring exim4 using the default script, it helps if you tell it to listen on the linode IP address if you want it to accept incoming connections…

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct