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


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

CentOS 5 Server :: Migration Sendmail To Postfix?

Sep 22, 2011

todo: I have now running sendmail with milters and auth, dovecot as lda configured with virtual domains / Local User, srs. on centos 5.x

I want to migrate to Postfix with:
at first step the same Local User now with Mbox and there Mails
same milter with macros for auth....
dovecot as lda

[Code]...

View 1 Replies View Related

CentOS 5 Server :: Sendmail To Postfix - Transfer All The Mail And Settings From The Old To The New?

Jul 31, 2009

i currently installed centos 5.3 with postfix. My old server is centos 4.5 final / new 5.3 final. Old server has sendmail / new has postfix. how can i transfer all the mail and settings from the old to the new? also, the old mail server is mail.xxx.xxx and for testing purposes i named the new mail server mail2.xxx.xxx.

when i an ready to put it into production, the new server will need to be mail.xxx.xxx and the old removed from the system. How do i go about changing the name and making sure everything comes out correct?

View 1 Replies View Related

CentOS 5 Server :: Sendmail To Postfix Migration: Struggling With Config

Oct 25, 2010

I have a lightweight admin background, but good enough to set up most servers. I have switched from sendmail to postfix for the first time, but I keep going around in circles on the following...

In sendmail, I used to maintain a table (mailertable) where I would redirect email like this

Quote:

View 1 Replies View Related

CentOS 5 Server :: Cannot Get Sendmail Or Postfix To Send A 220 Response - Nor Respond With Details

Aug 11, 2009

I cannot get either sendmail or postfix to send a 220 response, nor respond with details. See below for sample telnet output. Details: I have a server that requires email, but only for light use. I'm definitely not an expert, but I have set up a sendmail configuration on a previous server. I tried to configure sendmail first and then postfix later, when I couldn't get sendmail working. I'm not sure exactly what the problem is, but I have a feeling the following might yield some important information. Note: this is the result for Postfix, but virtually the same thing happened with sendmail, too. That is, initially the telnet connection would close immediately. Afterwords, I could connect a second time but then it never responded with a 220 banner nor any 250's.

[Code]...

View 4 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

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

Red Hat / Fedora :: Configure Sendmail Or Postfix?

Nov 28, 2010

How will I configure sendmail or postfix ,so that I can send mail to external mailclient like to gmail,hotmail etc.

View 1 Replies View Related

General :: Remove Sendmail If Want Postfix?

Oct 14, 2010

I am on Scientific Linux. While trying to remove sendmail, YUM asked to remove depended packages:

alpine
fetchmail
mdadm
mutt
redhat-lsb
sendmail-cf

Should I really remove them and sendmail? If trying to install potfix, YUM does not say that sendmail is incompatible and does not ask to remove it.

View 3 Replies View Related

Server :: Sendmail To Postfix Migration?

Oct 25, 2010

I have a lightweight admin background, but good enough to set up most servers. I have switched from sendmail to postfix for the first time, but I keep going around in circles on the following. In sendmail, I used to maintain a table (mailertable) where I would redirect email like this

[Code]....

I happily mapped any incoming email address of any valid hosted domain either to go out to it's final destination via smtp, or if the person has a local mailbox, it delivered locally. Any errors could be forced, and a catch-all for the domain could be directed also.

I've struggled with virtual hosts and transport and a combination of the two to come up with the same result for postfix. I have this feeling I'm missing something really simple, or I am not 'getting it' when I'm doing something postfixy and I still have sendmaily expectations. right path so I will at least know I'm pointing in the right direction and working with the right files to achieve my aims? Postfix is so amazingly powerful and flexible, I'm having trouble figuring this bit out.

I have this feeling I just need a calm hand on my shoulder, a friendly smile and a hand pointing me the right way..

View 6 Replies View Related

Slackware :: Instruct Mailx To Use Postfix Instead Of Sendmail?

Jun 22, 2011

im just wondering is it possible to instruct mailx to use postfix instead of sendmail while have sendmail and postfix installed? like system-switch-mail way in other distros. basically i would like to be able to use mailx when i uninstall sendmail and keep postfix only installed, so i dont get msg after i press . to send email from mailx

Code:
/usr/sbin/sendmail: No such file or directory

View 7 Replies View Related

Server :: User Mailbox Size In Postfix/Sendmail?

Apr 6, 2010

I'm running Postfix in slackware 12.1. The mails are stored in /var/spool/mail/username. When a user's mailbox size got more than 200MB, the user can't check their mail. when it happend the log shows:

Apr 4 10:04:11 ns1 popa3d[2391]: Authentication passed for userX
Apr 4 10:04:11 ns1 popa3d[2391]: Failed or refused to load /var/spool/mail/userX

View 1 Replies View Related

Software :: RHEL6 Sendmail & Postfix Can't Use Local User?

Jul 3, 2011

I've tried to configure the mail service in RHEL6 but seems both sendmail and postfix can't use local user located in /etc/passwd.

Like, user Tommy and Jake they got User Unknow from maillog
Tommy:x:506:507::/home/Tommy:/bin/bash
Jake:x:507:508::/home/Jake:/bin/bash
But IF I use users' home folder not located in /home then it can go throught.mailuser2:x:513:514::/rhome/mailuser/mailuser2:/bin/bash mailuser3:x:514:515::/rhome/mailuser/mailuser3:/bin/bash

[Code]...

View 1 Replies View Related

CentOS 5 :: Can't Install Postfix Or Qmail?

Dec 27, 2009

What is wrong with my yum :(Sendmail refuses to start ( doesnt give an error ) just doesnt start.Anyway, so i want to use postfix or qmail, but yum doesnt have them in.?

Any ideas how i can get postfix installed? Im getting soo tired of yum not actually having anything useful in it. [root@status1 ~]# cat /etc/redhat-release CentOS release 5.4 (Final)

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

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

General :: SMTP AUTH, Sendmail Client To Postfix Server?

Dec 2, 2010

I'm hoping someone here can help, as I've been beating my head on the wall for a week now with little advancement. I've found a number of tutorials on setting this up, however none of them have gotten me 100% of the way there. Here's my situation: home-based Fedora server (Core 8), running sendmail 8.14.2-1. Connecting to hosting company's smtp server over port 587, to bypass Verizon's blocking of port 25.

My /etc/mail/sendmail.mc file looks like this (comment lines removed):Quote:

divert(-1)dnl
define(`SMART_HOST', `smtp2.datarealm.com')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 PLAIN')dnl
FEATURE(`authinfo',`hash -o /etc/mail/auth/client-info.db')dnl
define(`RELAY_MAILER', `esmtp')dnl

[Code]....

View 14 Replies View Related

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 View Related

General :: Safe To Remove Sendmail By Running "yum Erase Sendmail" And Let Postfix Handles "mailx" Also?

Sep 5, 2010

I have installed postfix and dovecot on my server and thought postfix will not only take SMTP connection from my e-mail client like Outlook, but also handles "mailx" commands from the server. However, it looks like sendmail is still responsible for sending mails from "mailx". I tested this by turning it on/off using "service sendmail stop" and "service sendmail start". Mails sent using "mailx" will only be sent when sendmail is up. When I did "yum info sendmail", it lists sendmail as an installed package. Is is safe to remove sendmail by running "yum erase sendmail", and let postfix handles "mailx" also?

View 3 Replies View Related

OpenSUSE Network :: Setting Up Default Postfix Sender / Using Relay For MTA

Dec 17, 2010

I have setup up an Opensuse as a simple we/application server.It handles requests for various things and will need to send out email on occasion for things like password reset requests, information / warnings etc. etc.This is a standard OPenSuse 11.x install with defaults so it comes with Postfix as the mta.I do not want a mail server I just want to send out via my clients mail server which is hosted exchange rackspace, which simply requires SMTP auth to do so.What would be the proper way to do this so ALL e-mail send from this machine, regardless of account like WWWRun or when logged in and sending from the command line has the same sender all the time.

View 6 Replies View Related

Server :: Postfix As Spam Mailscanner To Protect Mail Server Running Sendmail?

Jul 27, 2011

I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:

<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,

[code]....

View 1 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

CentOS 5 Server :: Add Disclaimer To Postfix?

Dec 22, 2009

I have a webserver that I run myself utilizing CentOS 5.3. I added a postfix server just to send outgoing mail to people who are part of my webpage. I do not do any email exchange so I can actually receive email on the server, only send (if someone can help me out with that I'm willing to listen).Basically I want to add a disclaimer to the bottom of every email that gets sent out, no matter who sends the email, stating the the email is sent from an unmonitored email account so don't reply to the email. I followed the steps listed here [URL].. even though it was for Fedora 8 it seemed to do what I needed it to do. For some reason no matter who I send email with the disclaimer does not show up. I am doing masquerading so when the email gets send it shows it comes from my domain, not localhost.localdomain because most webservers block it assuming it is spam mail.

View 2 Replies View Related

CentOS 5 :: Postfix With Purchased SSL Certificate

Aug 2, 2010

I bought an SSL certificate that I am using for my whole website and would like to use that for postfix as well. I created my own as a test and it worked fine, but I want to use the one I bought because that is trusted, more secure, and the user doesn't get an untrusted popup every time they check their mail through outlook.

The problem is that I don't have a defined "key". I have two files, they are two certificate files. One is the website certificate and the other is a bundle certificate. I tried setting bundle as the key and the actual website cert as the certificate but that did not work. Can I do this? Is their a different type of cert I need to buy for this? What do I need to make "smtpd_tls_key_file" and "smtpd_tls_cert_file"?

My two files are, "sf_bundle.crt", and "website.com.crt".

View 6 Replies View Related

CentOS 5 :: Getting Response From Port 25, Postfix?

Sep 13, 2010

I am new to Linux, moreso to CentOS, but I can definitely follow walk-throughs and tutorials easily enough.
I am installing a webserver for our small business and decided to go the postfix/dovecot route.

I installed everything based on the walkthrough on linuxmailcom and eve put squirrelmail on top, so users can access via webmail. I am able to send mail just fine, users/folders are setup and working as they should for sending, but I am unable to receive any mail. MX records have been updated to direct mail @mydomain to this mailserver machine. The problem I am having is with port 25... If I do 'telnet x.x.x.x 25' I get no response, just a timeout then back to command prompt. My other ports are fine, and I get the banner for each 110, 143, etc... all ports but 25 work internally and externally, forwarded.

I tried turning off firewall rules, and still, nothing from port 25. Should I try to have postfix listen on another port by editing its' master.cf, or is this is problem with my centOS/Linux instead. I didn't know where to go with this, so I thought the best place to start was here.

View 2 Replies View Related

CentOS 5 :: Disable SSLv2 In Postfix?

Sep 1, 2011

I would like to disable SSLv2 in Postfix but unfortunately Google has failed to produce a suitable answer. There are numerous posts on blogs and forums and such that do not appear to actually work. For example, one such post (which has been copied about quite a bit) says to use the following main.cf directives:

smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium, high

But if I run:

$ openssl s_client -connect xxxx.xxxxxxx.xxx:25 -starttls smtp -ssl2

the command is successful and SSLv2 is still negotiated.

The Postfix documentation does not provide an example of this particular case but I don't think it would matter much if it did since I somewhat doubt that anyone other than the developers themselves fully understand how these directives actually work.

How do I disable SSLv2 in Postfix and more generally disable ciphers that are considered to be weak?

View 1 Replies View Related

Server :: How To Back Up RedHat4 Postfix To Centos 5.4

Feb 25, 2010

I was having before Redhat mail server which using postfix mail there is some problem of this mail server i need to format and to set up again new mail server in Centos 5.4.how to back up postfix mail server and to restore into Centos 5.4?[/B]

View 1 Replies View Related

Software :: CentOS Postfix Emails As Root Only

Feb 25, 2010

I have a CentOS 5.3 system running a recently installed Postfix (I removed sendmail so I positively know it's running Postfix).

I am able to send out email as user root, but when I change to another user on the same server, the mail delivery fails.

Here's what's captured in the /var/log/maillog:

Here's my main.cf

No changes to other Postfix files since install, so they are the default files.

View 1 Replies View Related

CentOS 5 Server :: Getting SASL+Postfix To Authenticate?

Feb 19, 2009

I'm trying to expand my Courier+MySQL+Postfix+PostfixAdmin server to use SASL logins on Postfix so I can relay on my server. After following several guides I still can't get it to work: Postfix logs show the user transcript and end with "Authentication failure" but it does not tell me what told it that the login failed. The messages log show this:

Feb 19 22:48:55 sportlaan-server saslauthd[7254]: do_auth : auth failure: [user=berend] [service=smtp] [realm=mydomain.com] [mech=pam] [reason=PAM auth error] Which I don't get because I don't think it should be using PAM... I think...

The setup is similar to this one: http://www.howtoforge.org/virtual_users_postfix_courier_mailscanner_clamav_centos_p6
My SASL config has this in it:
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
log_level: 3
authdaemond_path: /var/spool/authdaemon/socket
mech_list: plain login

View 2 Replies View Related







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