Koozali.org: home of the SME Server

zoneedit and qmail addresses error

stephen noble

zoneedit and qmail addresses error
« on: April 05, 2003, 01:14:58 PM »
i use zonedit to point to my mailserver

user@domain.net works
user-qmail.lets.me.do.this@domain.net doesn't

when it does locally,  

the bounce says my server said: 553 Sorry, that is an invalid e-mail address

is this zoneedits fault, or me
do i need a different dns supplier
any suggestions for different qmail friendly one ?

stephen noble

stephen noble

Re: zoneedit and qmail addresses error
« Reply #1 on: April 05, 2003, 01:29:12 PM »
NB. user-anything works if you have a .qmail-default

sascha

Re: zoneedit and qmail addresses error
« Reply #2 on: July 27, 2003, 03:25:58 PM »
Dear Stephen,

I dont think the problem is that simple. I also use zoneedit to keep my gateway server up to date with DNS. Its has a dynamically assigned IP.

On the inside of the network we have various other mail servers and hence "virtual domains". If I manually add these to the /var/qmail/control/smtproutes file on the gateway box then what happens is that that server rejects emails sent to it from either the inside or the outside on port 25. I get an error saying "553 Sorry, that is an invalid e-mail address". If I remove the entries from smtp routes file on the gateway server then it works fine, but sends all mail to our ISP relay server.  

Of course its more efficient to have mail routed internally to the correct server dealing with that domain rather than go out via the gateway server. Otherwise it just has to come in again over the same line.

We have used this successfully in the past with fixed IP servers but with the zoneedit system it appears to fail horribly.

Any ideas ?

Sascha

sascha

Re: zoneedit and qmail addresses error
« Reply #3 on: July 27, 2003, 03:30:18 PM »
A further thought is that if the gateway server has a local user with the same name as the one you are posting to, it will accept the mail correctly.

IE if there is a user called bob on the server and you post to
bob@virtualdomain1.net
Then it accepts email OK.

If you email to
frank@virtualdomain1.net
then you get the invalid email address message.

BUT ... as a gateway server it should simply relay for all users on all "virtual domains" on the internal network. In this case it is impossible to add all users on all domains to the master gateway server.

Sascha

stephen noble

Re: zoneedit and qmail addresses error
« Reply #4 on: July 27, 2003, 03:52:56 PM »
hi sascha
my problem was a contrib that was incompatible with .qmail addresses something-mailrules, internal worked but mailrules blocked external .qmail addresses


your problem  is possibly how to deal with delegating domains
using qmail i edit
\var\qmail\control\virtualdomains &
\var\qmail\control\smtproutes
and redirect all mail for them to another mail server

dungog.net/sme sells an rpm, vdomain, that  does this
allows virtual domains to be delegated one by one to other mail servers

regards
stephen noble

sascha

Re: zoneedit and qmail addresses error
« Reply #5 on: July 29, 2003, 01:40:41 PM »
Dear Stephen,

The problem was resolved by editing the /var/qmail/control/smptroutes file so that our "internet provider smtp server" was the last entry in the list. IE...

domain1.com:[ip]
domain2.com:[ip]
domain3.com:[ip]
:[ip]

This presumably allows qmail to route mail before sending it to the
internet provider smtp server (the :[ip] entry). Bizarre but true.

Sascha