Koozali.org: home of the SME Server

outgoing mail help seriously needed

Louis Aszod

outgoing mail help seriously needed
« on: April 03, 2003, 06:18:51 AM »
This problem is driving me NUTS.  Webmail works fine sending and receiving on any of my machines.  On one of my network machines, Outlook pop and imap work just great, both sending and receiving.  But on another of my network machines, Outlook pop and imap will RECEIVE mail ok from ANYBODY, but will only SEND mail to users configured on my own domain, virtual or otherwise, in the SME server!  Any attempt to send from this one network machine to an address outside of my domain results in the lovely qmail announcing that its rcpthosts are not configured to accept mesages from that domain.

Well, no DUH.  I'm not trying to send something to IT, I'm trying to send something to OUT THERE.  Why does qmail think this one single machine is trying to send outward bound mail back to the server?  Is it even thinking that?  I don't know anymore.  I'm so confused.  I have no idea what to do.  Can anybody help me?  I haven't touched *a thing* , but not A THING, on the SME server (at least, that I know of...)

Can anybody tell me what gives here?

Thanks a million, if you can help me.

Louis

Louis Aszod

Re: outgoing mail help seriously needed
« Reply #1 on: April 03, 2003, 12:03:49 PM »
Sorry for the flippant post earlier--I was pretty ticked off and frustrated.  I think I might have found the problem and was wondering if anyone else has experienced this: I set Outlook up with username@virtualdomain.com instead of username@primarydomain.com.  That killed Outlook being able to send messages outside of the domain for some reason.  This happened yesterday on the machine that was giving me such pain.

An hour ago, I did the same thing on the machine that was working just fine with the details set up as username@primarydomain.com.  When, for testing, I deleted that account and set it up again as username @virtualdomain.com, Outlook on *that* machine fried.

No amount of reinstalling Outlook or deleting accounts and setting them up again with the primary domain which used to work fine will fix the problem.  It causes permanent dammage.  Qmail will not deliver any posts intended for recipients outside the domain if those posts originate from Outlook, once a user is set up as an account under a virtual domain.  Webmail still works perfectly on all the machines.

I'm running SME in server-only mode behind a Netgear firewall/router set up as a DHCP server.  It's forwarding the ports needed for service to SME.

Has anyone had an issue remotely resembling this one?  I have no idea how to fix this, or if it's even something that's not just a local glitch due to some peculiarity of my network...

Thanks,
Louis Aszod

Louis Aszod

Re: outgoing mail help seriously needed
« Reply #2 on: April 03, 2003, 01:00:59 PM »
addendum:

The primary domain is registered and held with my ISP on their DNS servers.  The virtual domains are registered with a completely different registrar on *their* DNS.  Could that be "tricking" Qmail into thinking it's being used as a mail relay for incoming messages and bouncing the messages back to Outlook?  Has anyone had success using virtual domains with an Outlook POP or IMAP account??

Thanks,

Louis Aszod

Bill Talcott

Re: outgoing mail help seriously needed
« Reply #3 on: April 03, 2003, 07:21:35 PM »
Are you using the virtual domain as the server name, or just as the "from" address?

I have no firsthand experience with virtual domains, but essentially they're just alternate names for the same server.

Louis Aszod wrote:
>
> Any attempt to send
> from this one network machine to an address outside of my
> domain results in the lovely qmail announcing that its
> rcpthosts are not configured to accept mesages from that
> domain.

Are all the PCs on the same network subnet? That message is the SME saying that the email is coming from an unauthorized network. You can get around this by adding Damien's SASL contrib. Then anyone who logs on correctly (regardless of network location) will have SMTP access. You shouldn't have to though, if the PCs are on the same LAN...

Louis Aszod

Re: outgoing mail help seriously needed
« Reply #4 on: April 03, 2003, 07:43:31 PM »
Hi Bill,

I was using the virtual domain as the email address, the "From" address, and the server address.  The server-manager's Hostnames and Addresses screen listed the virtual domains as valid servers, so I used those, thinking things would be okay.

Do you have any idea what happened, or how I can fix things?  I'm terrified of going into qmail and the template system for fear I'll further screw up what I already don't understand very well....

Thanks,

Louis Aszod

Bill Talcott

Re: outgoing mail help seriously needed
« Reply #5 on: April 03, 2003, 07:55:37 PM »
Louis Aszod wrote:
>
> I was using the virtual domain as the email address, the
> "From" address, and the server address.  The server-manager's
> Hostnames and Addresses screen listed the virtual domains as
> valid servers, so I used those, thinking things would be okay.
>
> Do you have any idea what happened, or how I can fix things?
> I'm terrified of going into qmail and the template system for
> fear I'll further screw up what I already don't understand
> very well....

I thought that using the virtualdomain.com as the server name would work also, though I don't have any firsthand experience. Maybe try the main domain name to see if that works?

Louis Aszod

Re: outgoing mail help seriously needed
« Reply #6 on: April 04, 2003, 04:51:12 AM »
Yep, tried that first thing.  Qmail refuses to send messages from these machines now via Outlook, even with Outlook reinstalled and reconfigured.  It keeps bouncing the messages back with the error, "That domain is not in my list of receipt hosts."

Maybe a bug?  Should I post it?

Charlie Brady

Re: outgoing mail help seriously needed
« Reply #7 on: April 04, 2003, 05:47:19 AM »
Louis Aszod wrote:

>  It keeps bouncing the messages
> back with the error, "That domain is not in my list of
> receipt hosts."

If you post the bounce message, with full headers, here, I expect someone can diagnose your problem. I expect you are trying to relay via an external SMTP server, i.e. at an ISP somewhere. Try putting your server's local IP address in the SMTP server setting of Outlook.

Charlie

Louis Aszod

Re: outgoing mail help seriously needed
« Reply #8 on: April 04, 2003, 10:12:43 AM »
Charlie, that did the trick.  It sounds so simple--I wish I had thought of it before posting all this here.  Thanks a ton.  And thank you too, Bill, for your responses trying to help me out.  I appreciate you guys....

Louis Aszod

Bill Talcott

Re: outgoing mail help seriously needed
« Reply #9 on: April 04, 2003, 08:21:05 PM »
The server name should be the same as the local IP if you're using the SME's DNS. Ping the name and see what IP address it resolves to...