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
ADVERTISEMENT
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
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
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
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
Feb 16, 2010
I'm trying to change some configurations but when I change it from the default options in main.cf, it doesn't actually update the running configuration. I've even restarted the server all together but it still doesn't update it.In main.cf, here is the configuration I've added:
bounce_template_file = /etc/postfix/bounce.cf
bounce_queue_lifetime = 4h
maximal_queue_lifetime = 4h
delay_warning_time = 1h
View 1 Replies
View Related
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
Feb 26, 2010
Im a fairly new linux person and have a hopefully easy question. I am running centos with dovecot and postfix for the mail. Im using imap so all the mail is on the server. Im also using thawte certificates. What is the easiest way to move all of this over to a more stable box? The box i have now is a major POS.
View 4 Replies
View Related
Jan 22, 2010
I'm looking into migrating postfix mailboxes and users from an old machine running Fedora5 to a new machine running cenOS. I was wondering, what would be the procedure to migrating over existing postfix mail to the new machine? Is it as simple as copying over /home directories and /etc/passwd etc?
View 5 Replies
View Related
Aug 11, 2011
I'm trying to setup notification function for the Nagios Core which use Mail to send notification.I got an account from Rogers. I have SMTP server, email account with authentication information.My Nagios server is in a workgroup, there is now domain assigned to it, I just use nagiosserver.localdomain in /etc/hosts.I added Rogers SMTP server in /etc/mail/sendmail.mc and Future (AuthInfo) I created an /etc/mail/AuthInfo and add AuthoInfo:smtpserver "U:user" " P: pwd" "M:Plain"I added smtp server in /etc/mail/access for RelayI added root@nagiosserver.localdomain on /etc/mail/virtusertableI regenerated sendmail.cf by user m4 commandrestart sendmail service.When I ran: Mial -s test nagios4ccs@rogers.comIt did not prompt any error message , in the maillog it says the message is queued but It can not be sent out
View 3 Replies
View Related
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
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
Nov 7, 2009
I am trying to change the configuration of sendmail so that I can relay mail through google smtp server as suggested here.
First I ran 'm4 sendmail,mc > sendmail.cf' with the original .mc file that came with Fedora 10. There was no error.
I added the following lines.
Quote:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo','hash /etc/mail/auth/client-info.db')dnl
define(`SMART_HOST',`smtp.gmail.com')dnl
define(`RELAY_MAILER_ARGS�, `TCP $h 587′)
define(`ESMTP_MAILER_ARGS�, `TCP $h 587′)
I ran ''m4 sendmail,mc > sendmail.cf' again and got this message:
Quote:
m4:/usr/share/sendmail-cf/mailer/procmail.m4:33: ERROR: end of file in argument list
I did not change anything in the procmail.m4 file. What do you think caused this error?
View 3 Replies
View Related
Feb 14, 2011
I have a Windows 2k server running the AD PDC. 60 desktops users and 6 Windows servers use it as a single sign on server to login. As I plan to install a Centos 5.5 server with Samba for NAS and print sharing, is it possible to migrate the PDC services to the Linux server? I want desktop users and windows servers to authenticate on the Linux server. Is this possible? I have never worked with LDAP services. Worse, should I attempt this migration, it must be completed in a very short time frame.
View 5 Replies
View Related
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
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
Oct 14, 2010
I am running the following on CentOS 5.5 (Final)
dovecot 1.0.7
saslauthd 2.1.22
When I send an email via TLS I see the following log entries.
Code:
Oct 14 11:53:06 ns2 postfix/smtpd[11372]: connect from unknown[172.16.1.159]
Oct 14 11:53:06 ns2 postfix/smtpd[11372]: setting up TLS connection from unknown[172.16.1.159]
[Code]....
What I'm really curious about is there is an intial TLS connection with a 256 bit cipher, but then.. The last entry states "sasl_method=PLAIN" - so surely this is not encrypted? Or am I misunderstanding how it works?
View 2 Replies
View Related
Sep 7, 2009
I was tryin to deploy svn on centos 5 with respect to [URL] I am stuck understandin the location svnpath parameter on svn config
[Code]...
View 1 Replies
View Related
Mar 4, 2010
I am new to Linux and I am trying to set up a mail server using postfix. I have done all the configurations(hopefully correct) and all the test seems to work except 2 things.
1) Postfix is running but when I try to restart the service it always fails. I checked the /var/log folder and there are no error messages.
2) When I try sending e-mails using outlook, outlook fails to connect to my server.
I am wondering if I have done the configurations properly. I am a little confused in regards to hostname and domain name. When I do a hostname on the terminal I see the hostname that I gave my server. When I do the domainname command however, domain is none. Is it necessary to have a domain to configure postfix? I have myhostname = my.hostname.com what should my domainname = to if there is none. If I do require a domain name how to I create one? I need to be able to access e-mail from external clients.
View 2 Replies
View Related
May 15, 2010
the mail server itself will receive mail, that part works. i'm using dovecot imap to grab my mail, that works. but if i try to send mail from my iphone using an account on that server it doesnt work. this is what i see in syslog: May 15 07:14:52 coax postfix/smtpd[1432]: NOQUEUE: reject: RCPT from mobile-166-137-139-003.mycingular.net[166.137.139.3]: 450 4.1.8 <eppo@customconnexions.com>: Sender address rejected: Domain not found; from=<eppo@customconnexions.com> to=<xxxxxxx@aol.com> proto=ESMTP helo=<[10.25.15.47]>
View 1 Replies
View Related
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
Apr 24, 2009
I am trying to set up a mail server on centos5 using sendmail and dovecot, and eventually spamassassin and some antivirus filter as well. I'd also like to get the proper secure auth mechanism set up at some point too. But for starters, I've been having a lot of difficulty trying to even connect to the mail server from a client computer in the local network. I installed Eudora on the client and after some tweaking in dovecot I was able to connect to the mail server, but then when I try to send an email I get a "connection refused" error, with nothing being logged on the server that I can see.
The last time I set up a mail server was Fedora Core 2, so the configuration files have changed a bit to say the least, and I can't really refer back to those to set up this new server. Does anybody know of a good step-by-step doc on getting the mail server going? I've read the man pages and other various readme's, but these really only list out the available options with no really good explanation of what needs to be done to get the mail server going. If there isn't a full write-up on how to do this, I'll put something together when I'm finished so others can use it in the future.
View 7 Replies
View Related
Mar 16, 2011
I run a CentOS server and would like to put a disclaimer message on every email that is send through that sendmail server.
View 1 Replies
View Related
Nov 18, 2010
We have moved from a Windows based SMTP server to Sendmail on Cent 5.5. We have a special application that was written to look at the "BadMail" folder on the Windows box. I am told by my developers that it is capable of monitor remote locations and they just need to know the format or extension of the badmail files.
My question is what is the default location of the badmail folder in Sendmail? This is a default install from CentOS.
View 1 Replies
View Related
Mar 3, 2010
setup a mail server using sendmail on Redhat 5/Centos 5.
View 3 Replies
View Related
Jan 28, 2009
I recently turned on sendmail in CentOS 5.2 and configured it to relay mail for its domain onto some other email account elsewhere. Anyway, it's kind of hit and miss, but I've got a few of these:
Jan 27 21:47:18 smhi sendmail[12176]: n0S3YLaX011994: to=<kevin@hiding.my.domain.com
>, delay=00:12:56, xdelay=00:00:03, mailer=esmtp, pri=120673, relay=mx.hiding.my.mailrelay.com
[65.87.230.26], dsn=4.0.0, stat=Deferred: 451 4.3.0 Greylisting is active,
please try again later.
I don't think I have any greylisting software installed, but it seems to be greylisting? What's up with that? And why would it be intermittent? how I turn this off?
I've previously configured sendmail on Fedora systems and CentOS 4 and haven't run into this before...
View 11 Replies
View Related
Apr 9, 2009
After upgrading to CentOS 5.3 my sendmail will no longer deliver messages using a program in my /etc/smrsh. It fails with the message "unknown mailer error 1". This program was working perfectly before I did the upgrade using yum. Here is the list of packages that were upgraded. Does anything jump out as being the source of the issue? I don't believe that sendmail itself was upgraded:
Packages Installed:
dbus-libs - 1.1.2-12.el5.x86_64
libselinux-utils - 1.33.4-5.1.el5.x86_64
Packages Updated:
initscripts - 8.45.25-1.el5.centos.x86_64
[Code]....
View 3 Replies
View Related
Jun 23, 2009
I am trying to make my webserver a well respected email sender and it appears to me that using DKIM is something I need to do.
I have no experience with this and would like to know if anyone thinks there are issues that I should be aware of before going down this path.
Also, I have not been able to find any good, STEP BY STEP, documentation on how to set up DKIM with Sendmail.
I am also not sure if you need a certain network configuration for DKIM to work...this is what I am working with:
My webserver (centos 5.3, sendmail 8.13.8) sends outgoing mail and has a valid reverse DNS that matches a forward DNS. The MX records for my webserver's domain point to a third party email provider who handles the incoming mail for that domain. I added an spf record that signifies it that my webserver is authorized to send mail for mydomain.
View 2 Replies
View Related
Aug 5, 2009
I have been trying to get procmail working on CentOS 5.2. I don't need anything fancy, just an auto reply for a "noreply@" account. Looking at the sendmail configuration, it appears procmail is the MDA. I have looked at many different tutorials and how-tos, but most are old, and/or the locations/paths and setups are markedly different from the defaults on my system. Can anyone recommend a good CentOS-based tutorial on Procmail w/ recipes? (I have an RHEL book and it's no help either.) Thank you for your time and consideration.
View 1 Replies
View Related
Nov 12, 2009
We have CentOS 5.3 and are using sendmail for outbound emails. We are trying to switch over to authsmtp service. Authsmtp requires sendmail built with SASL suport.
How do I find out if my sendmail has been built with SASL support? If it is not, is it easy to build it with SASL support?
View 6 Replies
View Related