Error trying to Postmap a Hash file
I'm following the instructions (at least I'm trying to) in "FrontlineSpam_Defense_for_Mail_in_Mac_OSX.pdf" to restrict the
faking of my IP or domain names.
I added these lines to main.cf :
smtpdhelorequired = yes
smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks,
checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname,
rejectinvalidhostname, permit
Then I created the file /etc/postfix/helo_access and added these contents
to the helo_access file:
xxx.yyy.zzz.xxx REJECT You are not me.
mydomain.com REJECT You are not me.
(with extra lines for my additional domains)
The problem is when I attempt to "postmap" the Hash file.
I type the commmand "sudo postmap /etc/postfix/helo_access" and I get:
myserver:~ root# sudo postmap /etc/postfix/helo_access
postmap: fatal: /etc/postfix/main.cf, line 659: missing '=' after attribute name: "checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, "
Can anyone tell what I'm doing wrong?
Thanks!
Keith
checkheloaccess hash:/etc/postfix/helo_access should be on the same line as smtpdhelorestrictions
smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
(above is one long line)
Message was edited by: pterobyte
Similar Messages
-
I/O error trying to open old AW files
I have hundreds of old Appleworks files from an older version (5.0) and when I try to open them with my new Intel based iMac using Appleworks 6.2.9 it says
" An I/O error occurred".
All I'm trying to do is open the file - not print or anything else. I can't figure it out.
Need help.
Larry
imac Mac OS X (10.4.8)Yvan Koenig has said he has some AppleWorks 5 files fail to open in AppleWorks 6 with the I/O error. I've never had a problem opening any AppleWorks 5 files whether they were created on a Mac or PC.
Are you sure that some of these files aren't ClarisWorks 4 or earlier files? AppleWorks 6.2.9 (the current version) can't open all ClarisWorks 4 or earlier files & gives an I/O error. There doesn't appear to be a way to predict which files will cause problems. I've had it happen & not happen with all AppleWorks file types. These files can be opened by any other version of AppleWorks 6.
I'm not clear if it's one file or all of the files you can't open. If it's just one or a few, I'd think there is some corruption in the file. If it's a lot (more than half) & you're sure they are AppleWorks 5 files, some basic troubleshooting might help.
First step, delete the AppleWorks 6 preferences as they may be corrupt, particularly the translator cache. See my user tip, AppleWorks has stopped working correctly, for more info.
Did you move these files from one Mac to another using a USB flash drive or other removable device? If the device is PC-formatted, some information in the files may have been lost in the transfer. Another user tip addresses this problem - AppleWorks 6 won't open my AW 5 files.
I'd be willing to take a look at two or three of these problem files for you & see if I can figure out where the problem is. E-mail them to me with a subject line of "I/O errors." Just click my name in blue next to this post. My public e-mail address is in the biography section. -
Error trying to display a report file in FDM event script
Hi
I am trying to display a file (report) during an event script and receive an error "Object reference not set to an instance of an object" . The process works in version 9.3 but is generating this error during our upgrade testing on 11.1.2.2 (different hardware)
The file (check report) is getting written correctly the \OutBox\Log directory. The file contains a standard Check Report with a file extension .pdf ( lngFileType = 31)
We have no issues creating the file
We try to display the file on the screen for the user using the following code which fails with the "Object reference not set to an instance of an object" error and also a message "Could not load XML file:" with the file name and path
'Open report file in web client
RES.PlngActionType = 4
RES.PstrActionValue = strFileName
Symptoms:
We can open the same file as text with RES.PlngActionType = 1
Everyone has rights to open/read a file in the directory
File can be opened manually and appears correct
Any help would be appreciated. I have not found similar issues on the forum. Support has offered no suggestions to dateHi and thanks for your response.
Yes, we have tried all the various type of files ( ScriptActionTypes). The Type = 1 will open the file, but as a text stream without formatting, etc. If we try type = 3 we receive a different error message:
Error: Invalid Report ID: 0
Detail: Stacktrace:
upsAppServerDM._clsAppServerDM.fPublishReport(lngReportID[Int32], lngPubFileType[Int32], strReportSQL[String], strSubReportSQL[String])
Hyperion.FDM.Pages.ViewReportActionEvent.ExecuteReport(reportID[Int32], sqlStatement[String])
Hyperion.FDM.Pages.ViewReportActionEvent.PreviewReport()
Also, the Validation Report is enabled (we are using check with warnings - ID133), I have tried changing the default Web Settings from .PDF to .html and back again and tried the various other default options available under Web Settings.
If we create a simple test text file, we can open the file as text (Type = 1)
Here is the complete error message employing Type = 4 (XML)
Error: Object reference not set to an instance of an object.
Detail: Stacktrace:
Hyperion.FDM.Pages.IntersectionSummaryCheck.FillTitleRow()
Hyperion.FDM.Pages.IntersectionSummaryCheck.Page_Load(sender[Object], e[EventArgs])
System.Web.UI.Control.OnLoad(e[EventArgs])
Hyperion.FDM.Pages.BasePage.OnLoad(e[EventArgs]) -
Geting an error trying to import a data file into OWB repository
Hi,
We're using OWB 11.1.0.7.0
I'm trying to import a new data file and I'm getting an error.
When I go to The Project/Files/ I right click on the module I want to add the files to,
I get a 'Wizard' titled 'Welcome to the Import Metadata Wizard'.
I click next.
I get the 'Filter Information' screen that asks if I want to select 'All Data Files' or a specific file.
I pick 'All Data Files' and click 'next'.
I get the 'Object Selection' screen that has a left and right panel. The left side is titled 'Available' and the right side is titled Selected.
The 'Available' panel had the directory in Linux (/etl/datafeeds/dev) where our data files are stored with a plus sign next to it.
When I click the plus sign, I get an error message that says:
API2836: Directory
/etl/datafeeds/dev does not exist.Has anyone seen this? What is the work around? Is it a bug? How do I import a data file into OWB if this isn't the way to do it?
Thanks,Hi, is there any obligation to use import wizard?
can you use right click and import view/table?
Ugur MIHCI
www.ifslibrary.com -
REP-1057 Error trying to open a rdf file
Hi,
i have an rdf file that works fine when run from applications (11.5.9). I have to make some changes to the report but when I try to open it in reports developer (6i) I get the error
"Rep - 1057.....is not a valid report builder file'..
Any way around it?
Thanks
A/AInoL wrote:
Since it runs in Apps, it cannot be corrupted. Maybe there was a problem in copying the file to your PC? I would also say this but i asked in the start that the file is converted to the latest version or not and the answer was that file created in the 6i version. So, i thought that the file in which he is trying to make changes it is in 6i as backup and the file which he is using to run the application it is the separate one.
And i know if the file is running in the application it can not be corrupted but why i mentioned about the corruption i explained above.
-Ammad -
Error trying to open source media - Compressor 1.2.1
I have a problem with a movie that have been sent to me. I seem unable to add it to a batch in Compressor or in Final Cut Pro 4.5 HD for the that matter.I'm using QuickTime 7.0.3 adn Mac OS X 10.4.3
When ever I had it to Compressor I get this error:
"Alert: Error trying to open source media file"
http://www.saruken.com/temp/Compressor-Error.jpg
And when I import it into Final Cut I get this error:
"File Error: 1 file(s) recognized, 0 access denied, 1 unknown."
http://www.saruken.com/temp/FCP-error.jpg
The settings for the offending movie are:
Format: H.264, 640x480, Millions, AAC, Stereo (L R), 22.050kHz
FPS: 29.97
Data Rate: 90 kbytes/sec
Key Frame: Every 300 Frames
The only difference between my test, which works fine, and this file is the frame rate (mine is at 25fps) and the number of audio channels (my test was in mono).
The file I was sent was encoded in Compressor, not sure which one - but I think it might be version 2.
The strange thing is it opens in QuickTime fine. I've tried exporting from QuickTime Pro as another h.264 with mono sound with no joy. I've tried saving a reference of the movie to see if that works, again no joy.
The only way I can get Compressor to accept the file is by transcoding it to another codec, like Soreson 3. Then FCP and Compressor are happy.
What I can't work out is why the h.264 file I made is fine (and any file I still make as well), and the one I was sent is not. I'm also having the same problem with an h.264 file I downloaded from Apple QuickTime Trailers, and an another I found on the web.
Updates that have been done recently incase they might have caused the problem are 10.4.3 and installing Motion 2 Trail (since removed), which wanted to update Pro Application Support (this might be the problem?).
Any help greatly apprieated
HamiI just tried the offending movie file on my Powerbook, it has never seen Motion 2 or those Pro Application Support updates - and it gets the same error.
Very odd indeed - any ideas?
thanks in advance
Hami -
Webutil error while trying to open an excel file
Hi, I´m using oracle forms to read an excel file, I have two installations in different servers using oracle app server 9.04 and in one of this installations while trying to read an excel file i get the following error message in the java console:
2006-jul-14 10:45:27.718 ERROR>WUO-708 [OleFunctions.get_obj_property()] No se ha podido obtener la propiedad: Workbooks; Excepción
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: Workbooks
Description: An unknown COM error has occured.
2006-jul-14 10:45:36.140 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_ADD_ARG to SD:\UPLOADS\FILE.xls
I dont really know where to start to try and solve this issue, any help is greatly appreciated
Thanks
Hi, I´m using oracle forms to read an excel file, I have two installations in different servers using oracle app server 9.04 and in one of this installations while trying to read an excel file i get the following error message in the java console:
2006-jul-14 10:45:27.718 ERROR>WUO-708 [OleFunctions.get_obj_property()] No se ha podido obtener la propiedad: Workbooks; Exception
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: Workbooks
Description: An unknown COM error has occured.
2006-jul-14 10:45:36.140 WUO[getProperty()] Getting property WUO_OLE2_CREATE_ARGLIST
2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_HANDLE to 2
2006-jul-14 10:45:37.781 WUO[setProperty()] Setting property WUO_OLE2_ADD_ARG to SD:\UPLOADS\FILE.xls
I dont really know where to start to try and solve this issue, any help is greatly appreciated
ThanksI created a system DSN named odbc_excel. Then, I created a file named initexcelsid.ora with the following arguments:
HS_FDS_CONNECT_INFO = odbc_excel
HS_AUTOREGISTER = TRUE
HS_DB_NAME = dg4odbc
In the location, I put excelsid in the Service_Name entry. Do you need me to post the listener.ora file or something else?
Thank you. -
Error 7 occurred when trying to read a spreadsheet file in LabVIEW
Hi,
I got the message (in bold) below when I was trying to read a text file type. I also include a snippet of my block diagram.
Error 7 occurred at Open File+.vipen File
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or
the file path might be incorrectly formatted for the operating system.
For example, use \ as path separators on Windows, : on Mac OS X, and /
on Linux. Verify that the path is correct using the command prompt or
file explorer.
I really appreciate if someone can help me. Thanks.
Attachments:
read from spreadsheet.png 70 KBHi Ravens Fan,
Thanks again for your valuable input. I replaced the string manipulation functions with a path control. I think it works coz I can see the waveform data, rms values etc. And then you said if it works, do a Path to String on that...and I'm not exactly sure how to do that. I attached a snippet of the modified vi. you may refer the original vi snippet in my previous email.
I appreciate it if you could help me again.
Thanks.
Attachments:
read from spreadsheet2.png 283 KB -
For the first time, I'm trying to use adobe premiere elements 10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or the codex is not installed. As a test, I created another very small project and get the same error message, when I try to open it. Pls give me a simple answer, a refund or a phone
mike frischenmeyer
What computer operating system is your Premiere Elements 10 running on? And, what video card/graphics card does that computer use?
Is this the first time you are using Premiere Elements 10 or have you worked with it before successfully? There is no easy solution until we
know the details and troubleshoot to determined what caused the problem.
1. Can you open a new project?
2. After you saved/closed the problem project, did you move, delete, or rename any of the files/folder that were related to the source media
for that project?
3. Please review the Adobe document on troubleshooting damaged projects.
Troubleshoot damaged projects | Adobe Premiere Elements
4. What are the steps that you are using to reopen this saved closed project.
a. File Menu/Open Project/Name of Project
b. Other
Please review and consider and then we can decide what next based on your further details and results..
Thank you.
ATR -
I have design standard with creative cloud, I have installed this on 2 computers, my office and home which I was told was allowed, I have just tried to open an indesign file from the office at home and and error message said that this was created with a newer version? they are the same versions and both are up to date, I was asked this morning to put in my adobe id email and password to connect to CC which I have never been asked to do before, can anyone help?
what's your home version (click help>about) and was that just a warning so you were able to open the file?
-
When trying to open ITunes, I got an error message of msvcr80.dll can not be found.
Assuming that it was an iTunes file, I reinstalled iTunes.
Trying to open again, I got an error message of an appication is trying to open a library file incorrectly.
How do I resolve this problem.
Neither my PC with Vista nor my my laptop with windows 7 will work?
ThanksHello Msvcr80.dll,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Check for .dll files
Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
Reboot your computer.
Note: Depending on your operating system, you may only have one of the listed paths.
Uninstall and reinstall iTunes
Uninstall iTunes and all of its related components.
Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
Re-download and reinstall iTunes 11.1.4.
Best of luck,
Mario -
I am running InDesign CS5.5 and trying to open an In Design File but getting an error message. " Cannot open the file "PDavidLCover.indd". Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file me be open in another application."Please help I really need to get this file open.
Since you've shown us the folder contents it's a good bet it isn't in use (no lock file). And it doesn't look like the file is mis-named as there doesn't seem to be anything else there that would be the .indd file (but just in case, open it in TextEdit and paste the first few lines here so we can see what the file header says), so the most likely case is the file is damaged. Is that on a removable device of some sort?
You can try the tool at Repair corrupt InDesign Adobe files on Mac OS X or send me a link to the file by private message and I'll try the recovery tool I have for Windows. -
Error while trying to Insert a pdf file in database
Hi All,
I have sent this problem to Informix. By any chance if you had faced the same problem and found the solution, pls send mail to [email protected]
Thanks
Babu
Hi there,
I tried to insert a pdf file in to Informix database. I followed the guidelines
given in the "InformixJDBC Driver
Programmer's Guide". Actually my program works if i use
PreparedStatement.setBytes method. But why
PreparedStatement.setBinaryStream method is not working????.
Here is the code snippet.....
Connection conn = null;
PreparedStatement ps = null;
try
File ff = new File("C:\\test.pdf");
InputStream value = null;
FileInputStream fileinp = new FileInputStream(ff);
value = (InputStream) value;
int len = (int) ff.length();
System.out.println("len: " + len);
conn = connect();
String sql = "INSERT INTO dbep04m@inf10004:pg_wip_t (c_db,n_object,u_img) VALUES (\"2\",?,?)";
if (conn != null)
long stTime = System.currentTimeMillis();
ps = conn.prepareStatement(sql);
for (int ii=1;ii<=10000;ii++)
ps.setInt(1,ii);
ps.setBinaryStream(2,value,len);
int rtVal = ps.executeUpdate();
//System.out.println("return value" + rtVal);
ps.close();
conn.close();
long endTime = System.currentTimeMillis();
System.out.println("Total time taken for this run: " + (endTime-stTime)/(1000) + " seconds");
catch (FileNotFoundException ex)
ex.printStackTrace();
catch (IOException ex)
ex.printStackTrace();
catch (SQLException ex)
ex.printStackTrace();
finally
try
if (ps != null)
ps.close();
if (conn != null)
conn.close();
catch (SQLException ex)
ex.printStackTrace();
I am getting the following error message.......
java.sql.SQLException: Insufficient Blob data
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java)
at com.informix.jdbc.IfxSqli.sendStreamBlob(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendBlob(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendBind(IfxSqli.java, Compiled Code)
at com.informix.jdbc.IfxSqli.sendExecute(IfxSqli.java)
at com.informix.jdbc.IfxSqli.sendCommand(IfxSqli.java)
at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java)
at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java)
at com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java)
at com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java)
at com.aexp.eaim.iu.isp.testcase.InsertBlob.insertUsingSql(InsertBlob.java, Compiled Code)
at com.aexp.eaim.iu.isp.testcase.InsertBlob.main(InsertBlob.java:194)
Here is the example given in the "Informix JDBC Driver Programmer's Guide". In the line maked bold, the blob size was hard coded as 10. Then
why you are trying to find the file length???.
try
stmt = conn.createStatement();
stmt.executeUpdate("create table tab1(col1 byte)");
catch ( SQLException e)
System.out.println("Failed to create table ..." + e.getMessage());
System.out.println("Trying to insert data using Prepare Statement ...");
try
pstmt = conn.prepareStatement("insert into tab1 values (?)");
catch (SQLException e)
System.out.println("Failed to Insert into tab:" + e.toString());
File file = new File("data.dat");
int fileLength = (int) file.length();
InputStream value = null;
FileInputStream fileinp = null;
int row = 0;
String str = null;
int rc = 0;
ResultSet rs = null;
System.out.println("Inserting data ...\n");
try
fileinp = new FileInputStream(file);
value = (InputStream)fileinp;
catch (Exception e) {}
try
pstmt.setBinaryStream(1,value,10); //set 1st column
catch (SQLException e)
System.out.println("Unable to set parameter");
set_execute();
public static void set_execute()
try
pstmt.executeUpdate();
catch (SQLException e)
System.out.println("Failed to Insert into tab:" + e.toString());
e.printStackTrace();
Best Regards
Babusorry!!!. There is an error in the code
old code :
value = (InputStream) value ;
should be code :
value = (InputStream) fileinp; -
Trying to convert a word file to pdf and keep getting "An error occured while signing in"?
Trying to convert a word file to pdf and keep getting "An error occured while signing in"?
Or contact Adobe Customer Service via http://helpx.adobe.com/contact.html?product=export-pdf
-
When I try to install Itunes, I get this error: (translated from Norwegian) There was a network error while trying to read from the file: C: \ windows \ installer \ iTunes.msi I have tried many times to reinstall, but nothing helps, please help me.
(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
(2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?
Maybe you are looking for
-
Rounding to 2 decimal places WITHOUT using any formatting class
Hello I'm trying to round a number (double) to 2 decimal places without using any of the formatting class like (DecimalFormat or Math.Round and BigDecimal). Is it possible to do it by just using typecast?
-
Have anew netgear router and now mac keeps freezing and iphone wont download e mails. Help
-
Hello, I'm installing locale nam (en_US.UTF-8) from solaris 10 DVD as follows in a non-global zone: localeadm -a nam -d /cdrom/sol_10_807_sparc/s0/Solaris_10/Product It does install some packages and then prompts : No solaris3 image has been found in
-
Hi, I have set a condition type with an Scale Based Type: N Year. Then I have created the condition records as the following: from 0 to 2 years it charges a value of 10 from 2 to 4 years it charges a value of 15 more than 4 years it charges a value o
-
I tunes won't work since 7.4.3.1
HI, I am in trouble with Itunes, on windows XP Pro. With the 7.4.3.1 version I have a message that tells me : some system components are missing. If I click OK Itunes works. I have this message each time I launch I tunes. I tried to register dll as I