Recently exim4 on a remote VPS stopped delivering mails sent from my MUA (mutt). This MUA is using TLS encryption, with dovecot IMAP installed on the VPS internet mail host. The server continues to route local email correctly and I can also still receive mail to my user account on my client MUA. From my client machine, sending mail addressed to remote domains results in mail going to IMAP inbox with the message "550 relay not permitted". Exim4 on the client is configured as a smarthost. Can anyone advise? Can this be a problem with my remote exim4.conf or local exim config ?
Magnus Lawrie wrote:> Recently exim4 on a remote VPS stopped delivering mails sent from my MUA > (mutt). This MUA is using TLS encryption, with dovecot IMAP installed on > the VPS internet mail host. The server continues to route local email > correctly and I can also still receive mail to my user account on my > client MUA. From my client machine, sending mail addressed to remote > domains results in mail going to IMAP inbox with the message "550 relay > not permitted". Exim4 on the client is configured as a smarthost. Can > anyone advise? Can this be a problem with my remote exim4.conf or local > exim config ? > > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users >I understand that I can explicitly allow relaying for domain and host together, though I can see this isn''t the ideal solution. Exim checks and recognizes the domain IP; My client host is name.localhost which exim doesn''t identify.
Hi, On Tue, Jan 05, 2010 at 03:48:14PM +0000, Magnus Lawrie wrote:> Magnus Lawrie wrote: >> Recently exim4 on a remote VPS stopped delivering mails sent from my MUA >> (mutt). This MUA is using TLS encryption, with dovecot IMAP installed on >> the VPS internet mail host. The server continues to route local email >> correctly and I can also still receive mail to my user account on my >> client MUA. From my client machine, sending mail addressed to remote >> domains results in mail going to IMAP inbox with the message "550 relay >> not permitted". Exim4 on the client is configured as a smarthost. Can >> anyone advise? Can this be a problem with my remote exim4.conf or local >> exim config ?Do you have a static IP address or do you do SMTP authentication?> I understand that I can explicitly allow relaying for domain and host > together,You can allow relaying _TO_ domain and _FOR_ a host (which of course needs a static IP).> though I can see this isn''t the ideal solution. Exim checks and > recognizes the domain IP; My client host is name.localhost which > exim doesn''t identify.Please explain with IP addreses. There is no such thing as a "domain IP". Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Apols, my reply was meant for list Marc Haber wrote:> [did you answer privately on purpose? this deprives the list archive > of the answer and makes it impossible for others to chip in] > > On Tue, Jan 05, 2010 at 09:38:39PM +0000, Magnus Lawrie wrote: >> Marc Haber wrote: >> ok, so I intend now to do in exim4.conf.template: >> >> # List of sender networks (IP addresses) to _unconditionally_ relay >> # _for_. If you intend to be SMTP AUTH server, you do not need to enter >> # anything here. >> hostlist relay_from_hosts = MAIN_RELAY_NETS : 94.30.95.157 > > Just add 94.30.95.157 to dc_relay_nets in > /etc/exim4/update-exim4.conf.conf or re-run dpkg-reconfigure > exim4-config on the server.thanks.> >>>> though I can see this isn''t the ideal solution. Exim checks and >>>> recognizes the domain IP; My client host is name.localhost which >>>> exim doesn''t identify. >>> Please explain with IP addreses. There is no such thing as a "domain >>> IP". >> domain ditch.org.uk is directed at 212.13.195.54 > > I fail to see the connection to e-mail here. Is that the IP address of > the server?Yes, should I be talking only about mail.ditch.org.uk? rgds, Magnus
On Wed, Jan 06, 2010 at 09:18:38AM +0000, Magnus Lawrie wrote:> Yes, should I be talking only about mail.ditch.org.uk?If it''s your smarthost, call it your smarthost. If it''s your client, call it your client. Just use terminology that allows others to understand what you''r saying. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190