By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,760 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,760 IT Pros & Developers. It's quick & easy.

Postfix server and CDO messages

P: 80
Our front-end office is Windows and makes extensive use of CDO messages sent from VBA. Recently, we switched from an external e-mail service to an internal postfix server. I know the external service used Linux based servers as well. Problem is, our CDO messages are not accepted by our server. Any idea what settings I might need to change to allow these messages access?
Jan 14 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 254
I'll admit that I am not particularly familiar with CDO, and, in fact, I have used sendmail rather than postfix, but I can suggest some topics for investigation.

First, you know that the CDO messages generated by your office apps were sufficiently standard that the other mail server could handle them. I suspect then that your problem probably lies somewhere other than the CDO (which would be good). In fact, I would guess that the problem lies more in the configuration of the postfix server than in the office clients.

The first thing I would probably do is try to send a message manually. It's simpler than it might sound. Log on to one of the client boxes, let's say it's called "phobos" just for the sake of illustration. Also for the sake of the example, let's say your domain is, and your mail server is called Open a command window. Here's a sample from when I do this from a linux box, deimos, using its own sendmail server: Telnet is useful for much more than interactive terminal sessions and port 25 is the standard mail server (SMTP) port.

The lines beginning with "Connected" or with numeric codes are prompt or feedback lines from the server. The other lines are what I typed:

Expand|Select|Wrap|Line Numbers
  1. $ telnet localhost 25
  2. Connected to localhost.localdomain (
  3. Escape character is '^]'.
  4. 220 ESMTP Sendmail 8.13.8/8.13.8; Mon, 14 Jan 2008 13:15:50 -0500
  5. helo deimos
  6. 250 Hello localhost.localdomain [], pleased to meet you
  7. mail from: <prn@deimos>
  8. 250 2.1.0 <prn@deimos>... Sender ok
  9. rcpt to: <>
  10. 250 2.1.5 <>... Recipient ok
  11. data
  12. 354 Enter mail, end with "." on a line by itself
  13. subject: test
  15. this is a test.
  16. .
  17. 250 2.0.0 m0EIFo5E012640 Message accepted for delivery
but, if I connect to deimos from windows box phobos, I get:

Expand|Select|Wrap|Line Numbers
  1. c:\> telnet 25
  2. 220 ESMTP Sendmail 8.13.8/8.13.8; Mon, 14 Jan 2008 13:21:22 -0500
  3. helo phobos
  4. 250 Hello [], pleased to meet you
  5. mail from: <prn@deimos>
  6. 250 2.1.0 <prn@deimos>... Sender ok
  7. rcpt to: <>
  8. 550 5.7.1 <>... Relaying denied
I suspect that you may find something like that. "Relaying denied" is a very likely error message, in fact. You do NOT want to have an open relay. You will need to set up the mail handling rules on your mail server so that mail from your windows client boxes can be relayed and mail from outside your domain cannot be relayed to anywhere but your local boxes (if you do not serve the mail clients direct from the mail server ("deimos" in the above example).

Jan 14 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.