Can't Send

PCTech

Verified User
Joined
Nov 27, 2005
Messages
104
Location
USA
I just got my DA setup and my domain is pointing to my NS properly. Problem is, using Outlook I can't send to any email address outside my domain. I get this message:

Your message did not reach some or all of the intended recipients.

Subject: test
Sent: 12/7/2005 8:33 AM

The following recipient(s) could not be reached:

'[email protected]' on 12/7/2005 8:33 AM
550 authentication required

I tried SquirrelMail sending to the same address, it said it sent, was never returned (in SquirrelMail) but it never arrived at the destination.

Any ideas?

Thanks
 
ok - I just set my Outgoing mail server (SMTP) to my isp providers mail server and it works fine, is this how it needs to be done or are there DA setting for SMTP?

Thanks
 
DA requires authentication by one of two methods.

You either have to check for mail within 30 minutes of trying to send mail, or you have to do a plaintext authorization login to the smtp server.

How your client does that is up to you.

And of course your ISP could be blocking access to your mailserver; many do that.

None of these issues will affect squirrelmail, so your mailserver may be misconfigured.

You should probably fix it or have it fixed, because the server itself needs to send email.


Jeff
 
jlasman I don't understand what you mean. Where do I configure the mail settings or check to see how they are configured. Again using my ISPs mail server works but I would rather use the one on my server.

You should probably fix it or have it fixed, because the server itself needs to send email.

Thanks!
 
The configuration file for your (SMTP) email server /etc/exim.conf. It might be configured to require authentication, but if your client is not doing that, the email won't be sent.

If your email is not being sent, the best way to figure it out, is to look at the log files exim generates (/var/log/exim/*). They will list any failure as well as successful deliveries, and should give you an idea why you are having problems.
 
I see this:

# SSL/TLS cert and key
tls_certificate = /etc/exim.cert
tls_privatekey = /etc/exim.key


and this:

# This transport is used for delivering messages over SMTP connections.

remote_smtp:
driver = smtp


Would either of these cause my problem? If not, what exactly am I looking for in this file? It seems that by default, that shouldn't be enabled.

Thanks
 
PCTech said:
I see this:

# SSL/TLS cert and key
tls_certificate = /etc/exim.cert
tls_privatekey = /etc/exim.key


and this:

# This transport is used for delivering messages over SMTP connections.

remote_smtp:
driver = smtp


Would either of these cause my problem? If not, what exactly am I looking for in this file? It seems that by default, that shouldn't be enabled.

Thanks
Without SMTP your mail would not get delivered to or from other servers, so you really do want it enabled. Instead of shooting in the dark looking at your exim.conf, look at the log files that is going to tell you what is really happening.
 
toml is right in that you can find the problem in the server's exim logs:

/var/log/exim/mainlog

I don't think he makes it clear but the exim.conf file has been very carefully written (by me) to make sure your server requires authentication.

If it didn't, then it would be what we call an open relay, and before long almost every blocklist (including the ones in SpamBlocker [included in DA]) would list your server.

Your best bet is to leave the exim.conf file alone, and figure out why you can't send email from your client.

The best way to do that is to tail the exim log in real time:

# tail -f /var/log/exim/mainlog

while attempting to send email.

If your attempts never make it into the log, then your ISP is hijacking the traffic and it's not getting to your server at all.

If your attempts make it into the log but you still get the error message then make sure you're receiving mail from the same server before you try to send.

If you're doing that and still get an error, then your exim.conf file has probably already been changed from the default and your best bet is to install it again, either from the standard DA download site, or the newer (version 2) one at my download site.

Either way, be sure to read the README information (included in the file you download from DA, or in a separate file at my download site, and be sure to make the required changes to the exim.conf file.

Save your old file; you may need it if you make a mistake that keeps exim from running.

Jeff
 
Ok - thanks for the help folks - here is what I have done. I changed the smpt back to mail.greglee.net and sent an email to my office account and to my hotmail account. Here is the log entry:
2005-12-13 08:26:09 1Em5U9-000Ltz-Aq <= [email protected] H=rbn1-216-180-7-52.adsl.hiwaay.net (greglee) [216.180.7.52] P=esmtpa A=login:p[email protected] S=1912 id=000801c5fff1$50b94ed0$0101a8c0@greglee T="test" from <[email protected]> for [email protected]
2005-12-13 08:26:09 1Em5U9-000Ltz-Aq => greglee <[email protected]> F=<[email protected]> R=virtual_user T=virtual_localdelivery S=2080
2005-12-13 08:26:09 1Em5U9-000Ltz-Aq Completed
2005-12-13 08:29:06 1Em5X0-000Lxx-2k <= [email protected] H=rbn1-216-180-7-52.adsl.hiwaay.net (greglee) [216.180.7.52] P=esmtpa A=login:p[email protected] S=1920 id=000d01c5fff1$b9f9e350$0101a8c0@greglee T="test3333" from <[email protected]> for [email protected]
2005-12-13 08:29:30 1Em5X0-000Lxx-2k => [email protected] F=<[email protected]> R=lookuphost T=remote_smtp S=2008 H=mx4.hotmail.com [65.54.244.232] C="250 <000d01c5fff1$b9f9e350$0101a8c0@greglee> Queued mail for delivery"
2005-12-13 08:29:30 1Em5X0-000Lxx-2k Completed
Since it makes it to the log file, can I assume that my ISP isn't blocking anything? The thing is - I'm no longer getting the original error message, but the emails aren't getting to the destination.

jlasman I haven't changed anything in the exim.conf file EXCEPT removed the # signs when I set up SpamAssassin, do you still think I need to replace that file with the one you suggested?

Thanks!
 
According to your log file, it was delivered. It was a virtual user, so you should be able to see the email in /var/spool/virtual/thegdpgroup.com/greglee
Perhaps you aren't logging into that account properly to read the email? The login username should be [email protected] and whatever password you assigned.
 
thegdpgroup.com isn't curren't on my server (waiting for the registrar to transfer to me) I use outlook to check the email and the server it is currently on uses CPanel and when I check the webmail it isn't there either.
 
PCTech said:
thegdpgroup.com isn't curren't on my server (waiting for the registrar to transfer to me) I use outlook to check the email and the server it is currently on uses CPanel and when I check the webmail it isn't there either.
According to your log file it is. That could be why you aren't seeing it. Check your DNS settings for that domain, if your server sees the MX record pointing locally then it will be delivered locally.
 
GOOD GOD! LOL - well, it is all setup on my server just waiting for the transfer to my registrar so I can change the nameservers, but I bet that IS the problem. The site is in two places actually, the original server where the NS point to and on my server 'in waiting' - I feel like an idiot, but thanks for pointing that out (not that I'm an idiot, but that it is in fact on my server and that is where the issue is.

My original problem with email is fixed, I can send and receive to and from other places using mail.greglee.net in both pop3 and smtp.. I'm learning!
 
Back
Top