Programming :: Conversion From Infix To Postfix And Compilation Of Postfix For Eval

May 11, 2010

I was trying to write a graph plotting program with c++. I need to convert the infix expression from user to postfix expression for quick evaluation. However, the evaluation of postfix is kind of interpreted, and thus kind of slow for evaluating huge number of values. Say if I plot an implicit function the penalty is quite huge. Is there a way that I can compile the infix expression from my running graph plotting application for high speed evaluation.

View 6 Replies


ADVERTISEMENT

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

Mar 11, 2010

Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

View 1 Replies View Related

Ubuntu :: Configuring Webmin Postfix Server With Multiple Postfix Virtual Hosts?

Sep 25, 2010

is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..

View 1 Replies View Related

CentOS 5 :: Postfix Mail Server Will Not Start Tried To Change Postfix Smtp Port?

Oct 4, 2010

so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens

View 7 Replies View Related

Server :: Updated Postfix Not Running After Transferring Over Users From Older Postfix?

Feb 25, 2011

I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:

Feb 25 16:24:39 puny1 postfix/master[3517]: fatal: fifo_listen: create fifo public/pickup: Permission denied

I gather this is a file permission issue and ive tried to make sure the public folder in /var/spool/postfix is correctly set but still no avail.

View 2 Replies View Related

CentOS 5 :: Switch From The Default Sendmail To Postfix Doing A Yum Install Postfix On 5.2

Dec 12, 2008

I have isntalled a server with Centos 5.2 OS, now I would like to switch from the default sendmail to postfix doing a yum install postfix I've noticed there is already available an rpm version for the OS but I would like to compile my own 2.5 version, I've noticed compiling from source does not allow me to use the mail switcher to tell to the system I'm gonna use Postfix instead of Sendmail as the default MTA while this is possible when I use the "official" rpm version of the package. Now my question is this, would this be a problem? There is some specific procedure/best practice I should follow? Or once compiled and configured Postfix I can safely disable/uninstall sendmail?

View 6 Replies View Related

Programming :: Using Eval In Bash?

Nov 23, 2010

Having a problem with an unwanted redirection in in a function call. Although this isn't the function it does illustrate the problem:

Code:
#!/bin/bash
doat () {
ALL="sys1 sys2"
for Sys in $ALL;do
echo "---> $Sys <---";
echo $(eval echo $1);

[Code]...

figure out how to get the variable into the command without outputting to the file in the eval statement? So that ssh line that gets executed would look like the following to each iteration of the for loop:

Code:
ssh root@$Sys rpm -qa|sort > /trans/${Sys}-rpm-list.txt;
doat works when the incoming argument doesn't have any redirection in the command.

View 3 Replies View Related

Programming :: Using Eval To Remove Backslashes?

Jun 21, 2010

I am using bash. My question is :

Code:
eval echo \h
eval echo \h
both give output as h, but
Code:
eval echo \\h
gives output as h Why ?

Does eval here just remove backslashes (I know the use of eval in the case where substitutions occur)

View 1 Replies View Related

Ubuntu :: Installing The Postfix On 10.10?

Mar 12, 2011

I am trying to install postfix but i'm having problems I run this command

sudo apt-get install postfix

and it downloads, does something else and in the terminal window I see a list of options and OK at the bottom. The problem is becuase it opens in a terminal window, i can't select an option. It is like a picture and nothing else. I've read loads of instructions and they all say to choose an option but i haven't got a choice. How can i get postfix to install so i can make a selection? Would it be worth using Synaptics and if so what packages do i download? Just noticed, the package configuration screen is nothing like i've seen on other sites with how-tos. The screen I get shows a description and there is no cancel option.

View 1 Replies View Related

General :: Postfix Loopback To Myself

Dec 24, 2010

I m facing a problem regarding with postfix, when the user try to send a mail to anyone on the system it loopback to itself i

This is my main.cf file:

View 115 Replies View Related

Server :: Getting The Postfix Configuration And How To Use It

Dec 13, 2010

Postfix Configuration needed and its use

View 1 Replies View Related

Server :: Install Postfix In Red Hat?

Apr 9, 2010

I have problems to install postfix in Red Hat Linux release 9 (Shrike). This is my output:

Code:
[server02].root:/tmp/sendmail>rpm -Uvh postfix-1.1.11-11.i386.rpm
warning: postfix-1.1.11-11.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
libdb-4.0.so is needed by postfix-1.1.11-11

[Code]....

View 6 Replies View Related

Server :: Second Domain On The Same Postfix?

Nov 24, 2009

I have a postfix relay running in RHEL 5. It serves as an SMTP server. Mail traffic is delivers to the exchange server/Active directory system that is handled by another admin. So far postfix serves [URL] I am asked if it's possible to configure the same server to relay inbound and outbound email for the domain [URL]

View 4 Replies View Related

CentOS 5 :: Postfix Keeps Shutting Down?

Jul 13, 2010

I installed postfix and configured it but for some reason it keeps shutting down right after startup. Here is what happens,

[root@server /]# /etc/init.d/postfix restart
Shutting down postfix: [FAILED]
Starting postfix: [ OK ]

[code]....

View 8 Replies View Related

Debian :: Postfix Cannot Send Out And Received

Jan 7, 2016

I am studying Debian, the postfix service this night cannot send and recevied outside email,internal work fine, i check the log found is show "no space left device"

i run command df -i

found
/dev/mapper/mailbox-var use 100%

What is the file for? how can solve it?

View 1 Replies View Related

Debian :: Postfix SASL When Using Smtp

Apr 28, 2010

I installed webmin + postfix + dovecot + sasl2-bin to get a webserver running. I have fixed all the problems, but there is still one. I am totally new to sasl, so I am sorry if I made a stupid mistake.

[Code]....

Thunderbird gives the following error when trying to send mail: Sending of message failed. The message could not be sent because the connection to the SMTP server mail.virovene.org was lost in the middle of the transaction. Try again later or contact your network administrator. mail.err Apr 28 23:33:18 virovene postfix/smtpd[6264]: fatal: no SASL authentication mechanisms

View 4 Replies View Related

Debian :: Microsoft Refugee Trying To Set Up Postfix

Jul 29, 2011

I run a Windows based e-mail server and looking at moving my new server to Debian, however, this following problem might stop that, so I am hoping someone can help me out - I cannot receive mail.I have installed 'postfix' via Synaptic Package Manager.During installation, I was to choose a general type of mail configuration. I select "Internet Site" as this is what it is.I was then asked to input a system mail name. I used my IPv4 address (I will be hosting multiple domains).

View 4 Replies View Related

Fedora :: Postfix Or Sendmail Virtuser?

Aug 6, 2009

browser just crashed trying to upload the config file at the end, so I fi miss something, sorry.I have been trying over the past few days to get either postfix or sendmail to properly forward my emails. I have made an entry in virtusers (for both postfix and sendmail) as:[URL]..I know that they these files are mapped correctly because I did an entry of:[URL].. that worked, it sent it to root's mailbox. I got this to work in both sendmail of postfix. What the problem is that when I point it to an external domain (ex. name@gmail.com), it fails, and the email gets lost somewhere on my server (I have yet to fine where they are going). The other thing I noticed is when I send an email from my server (via php) and send it to test (or whatever)@example.com the catchall works, and sends the email to my gmail address. Is this virtuser only applicable for outgoing email? Or is something else wrong?

View 1 Replies View Related

Fedora :: Configure Postfix And The Dovecot?

May 27, 2010

I have configured Postfix, mysql and Dovecot according to following guide. [URL] My issue is When I'm Install dovecot ( using yum command). it Didn't create a "/usr/lib/dovecot/deliver" folder.Then my mail.log trace this error message

Code:

May 27 16:36:02 localhost pipe[26056]: fatal: pipe_command: execvp /usr/lib/dovecot/deliver: No such file or directory May 27 16:36:02 localhost postfix/pipe[26055]: CE9768FED3: to=<john@example.com>, relay=dovecot, delay=26, delays=26/0.02/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/lib/dovecot/deliver: No such file or directory )
After that I have create "/usr/lib/dovecot/deliver' folder. Then I have set permission using follwing command.

Code:

mkdir /usr/lib/dovecot/deliver
chown vmail /usr/lib/dovecot/deliver

Now My log file trace this message

Code:

May 27 19:26:52 localhost postfix/pipe[30111]: E178F9000E: to=<john@example.com>, relay=dovecot, delay=388941, delays=388941/0.02/0/0, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /usr/lib/dovecot/deliver: Permission denied )

how to set permission for this? Or My configuration is wrong?

View 6 Replies View Related

Fedora :: Setting Up Postfix And Fetchmail For RR?

Jun 2, 2011

I have a fresh install of FC14 and I am looking for information on what I have to do to get postfix and fetchmail set up to use my roadrunner e-mail.

View 4 Replies View Related

OpenSUSE :: Postfix Relay Denied On 11.4

Jun 4, 2011

I was never confident with postfix, but used it for several years now on my own server. I even noted the exact config used. But my old server crashed and I have to build fast a news one and I don't receive mails anymore. Here is the log message when trying to send to me from gmail:

Jun 4 08:06:34 ks3095514 postfix/smtpd[4008]: connect from mail-pw0-f50.google.com[209.85.160.50]
Jun 4 08:06:34 ks3095514 postfix/smtpd[4008]: NOQUEUE: reject: RCPT from mail-pw0-f50.google.com[209.85.160.50]: 554 5.7.1 <jdd@dodin.net>: Relay access denied; from=<lesrevesdeness@gmail.com> to=<jdd@dodin.net> proto=ESMTP helo=<mail-pw0-f50.google.com>
Jun 4 08:06:35 ks3095514 postfix/smtpd[4008]: disconnect from mail-pw0-f50.google.com[209.85.160.50]

The main.cf file is the openSUSE default one (see below). Part of my problems seems to come from the reverse. I *could once* receive one test messsage to " ks3095514.kimsufi.com" (the default reverse/domain name) (below, commented out), but not for my own domain (dodin.org). Most of the time the only necessary lines are mydomain, myhostname, myorigin and mydestination, but this don't work anymore. New defaults??. local (from and to the server) mail works, root can send to jdd and I read it from home.

mydomain = dodin.org
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root .....

View 9 Replies View Related

General :: What Harm Can Come From Disabling Postfix

Feb 28, 2010

I have a netbook running opensuse 11.2 I'm trying to make it run faster by disabling services, and I would like to kill off postfix as I don't ever use it (As far as i actually know) What harm could come from disabling postfix, if any?

View 3 Replies View Related

General :: Where Are All The Emails Stored In Postfix?

Apr 28, 2011

I've installed Postfix MTA in Xubuntu. Where are all the emails stored in my Postfix server?

View 2 Replies View Related

General :: Possible To Queue An Item In Postfix By?

Aug 22, 2011

I'm wondering if it's possible to create mail packages and put them into the postfix queue simply by writing files to the hard drive.Currently I have a script which uses a socket connection to dump the data in, but if I could write it directly to the hard drive this would speed things up considerably. Is this possible?

View 3 Replies View Related

Ubuntu Servers :: Postfix: How To Get The Configuration

Jan 3, 2010

I have a postfix server running on a virtual machine hosted by vpslink.com. I have followed the following configuration guide to install the system with dovecot, sasl smtpd authentication, and postfix as an mta: [URL](I know it says it's a debian configuration, but it seemed legitimate that I could follow it). Anyway, in sending email from my primary email account, I have found that roughly 1/2 of the messages are delivered, and 1/2 of them are rejected with a message similar to the following:

Quote:

[code].....

View 5 Replies View Related

Ubuntu :: Sending Mail With Postfix

Jan 10, 2010

I'm simply just having trouble sending mail with postfix. I have all my hostnames, rdns setup properly. I also have iptables open on port 25.

View 9 Replies View Related

Ubuntu :: Postfix Not Sending Emails?

Jan 18, 2010

i'm not a techie but have tried my best to solve the issue without success. I have a static IP from local ISP and my computer is configured with 192.168.1.2 (LAN IP).

I have installed ubuntu server 9.04 and want to send emails from my server for which I've configured postfix. But I dont know what to do next.

My questions are:

1. Do i need to install DNS server for using postfix? If not, what should I install to send emails from this server?

2. Do I need to forward any particular port in my router?

3. If I dont have a fully qualified domain, what are the configurations I need to do to send emails?

View 1 Replies View Related

Ubuntu :: Php Mail() On Apache Using Postfix?

Apr 20, 2010

I get this error in my apache error.log file whenever i call the php mail() function. I can send mail from the system and i have updated the php.ini files mail path to /etc/postfix but i still get this error

error.log has this line after each call to php's mail() function sh: /etc/postfix: Permission denied

View 5 Replies View Related

Ubuntu :: Can't Remove Programs Because Of Postfix / What To Do?

May 6, 2010

I get this when I try to uninstall anything (Synaptic, Software Store, doesn't matter) code...

View 2 Replies View Related

Ubuntu :: Postfix Smtp Configuration

May 13, 2010

I'm running Postfix primarily as a local email server. There is no email coming in from other machines, and there are no other machines using it to send mail. But I'd like it to be able to send mail. I use Evolution for my normal email stuff, and it's configured to send mail to my ISP's smtp server, and that's working fine. But I occasionally send mail from the command line, using the "mail" or "mutt" utilities. (Mutt because the standard mail doesn't support attachments.) These don't use Evolution's configuration, they depend upon whatever is listening to port 25 - and that's Postfix. So all I should need to do is to give Postfix the smtp server, user name, and password. My problem is that Postfix has voluminous documentation online, and I haven't been able to find this simple configuration in it.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved