473,394 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Postfix server and CDO messages

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
1 2336
prn
254 Expert 100+
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 bar.com, and your mail server is called deimos.bar.com. 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 (127.0.0.1).
  3. Escape character is '^]'.
  4. 220 deimos.bar.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 14 Jan 2008 13:15:50 -0500
  5. helo deimos
  6. 250 deimos.bar.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
  7. mail from: <prn@deimos>
  8. 250 2.1.0 <prn@deimos>... Sender ok
  9. rcpt to: <prn@bar.com>
  10. 250 2.1.5 <prn@bar.com>... Recipient ok
  11. data
  12. 354 Enter mail, end with "." on a line by itself
  13. subject: test
  14.  
  15. this is a test.
  16. .
  17. 250 2.0.0 m0EIFo5E012640 Message accepted for delivery
  18.  
but, if I connect to deimos from windows box phobos, I get:

Expand|Select|Wrap|Line Numbers
  1. c:\> telnet deimos.bar.com 25
  2. 220 deimos.bar.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 14 Jan 2008 13:21:22 -0500
  3. helo phobos
  4. 250 deimos.bar.com Hello phobos.bar.com [10.4.48.54], pleased to meet you
  5. mail from: <prn@deimos>
  6. 250 2.1.0 <prn@deimos>... Sender ok
  7. rcpt to: <prn@bar.com>
  8. 550 5.7.1 <prn@bar.com>... Relaying denied
  9.  
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).

HTH,
Paul
Jan 14 '08 #2

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

Similar topics

3
by: Mark Adams | last post by:
I am a relative newbie to MySQL. I had a Postfix+Courier+MySQL mail server running for several months. It took me a week or so to get it up and running in September. Now, I did a clean upgrade to...
1
by: Charlie | last post by:
I have the first part of the project done but I'm having difficulty deciding how to add an evaluate function to this program. The program asks the user to enter a function in infix notation and...
5
by: Henry Jordon | last post by:
ok I have my problem entering in an expression in infix notation and it outputs the postfix notation. I now need to evaluate the postfix notation. I have some code written and there are comments as...
19
by: caramel | last post by:
i've been working on this program forever! now i'm stuck and going insane because i keep getting a syntax error msg and i just can't see what the compiler is signaling to! #include <stdio.h>...
2
by: rohit tripathi | last post by:
Write a program to evaluate a postfix expression using a stack. Note that 1. The expression may have the operators + - * / div and mod. 2. The expression may have variables and numbers...
1
by: aitia | last post by:
this the code. i used ECLIPSE to run this.. it has some codes smells that i can't seem to figure out.. can any one help? import java.io.*; import java.util.*; public class Postfix { private...
0
by: lopes80andre | last post by:
Hi, I'am trying to configure a Postfix server to send e-mails by SMTP using the SMTP server of my ISP. I have made a Postfix installation as "Internet with Smarthost". I'am using a domain in...
0
by: sganeshsvk | last post by:
sir, In Linux, We use send mail from some specific client host IP address to main server by using postfix configuration. Suppose Some unwanted users or other third persons hosts send the...
0
by: sganeshsvk | last post by:
sir, In linux server, we using Postfix(MTA) configuration then send mail from the outlook Express. Everyday our linux server IP address dynamically changed. So daily I update IP address...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.