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?
I checked relay system using IP address it working gr8, but I want to implement user based authorization in relay server. but no idea where to make changes in sendmail.mc.. and my outlook asking for password again and again..whats role of openssl in user based authentication ?
I have sendmail setup with sasl and multiple domains.I'm sure there is an easy fix for this but I can send emails to anyuser@<anyofmyvirtualdomains.dom> and it will be accepted. I'm just trying to cut down on any confusion that may occur later. Is it possible "restrict" or classify a user into a particular domain? I've setup virtusertable and aliases but no luck in accomplishing my goal.I've searched to find no particular information on this.
I followed the Wiki guide for configuring my Postfix server for SASL / TLS. I don't get any errors and I assume it's working but when I try and test SASL (saslauthd), I don't get the response noted according to the Wiki and I don't understand why.
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
I am setting up a cluster of servers which use Centos Directory Server for control of logins, etc and kerberos for authentication. The basic setup is working fine, I have been able to manually create accounts using the directory console and these accounts seem to work. Now what I want to do is automate the process of creating new accounts. I am writing a perl script which can be run by one of the server administrators, they supply a small number of arguments and it should create a new user in the directory server, and also create a principal in the kerberos.
I want them to be able to do this using their logged-in kerberos credentials, i.e., without having to enter and re-enter their passwords. My first attempt was to use perl modules Net::LDAP and Authen::SASL. I could not get this working so fell back to using ldap command line tools, but even these I cannot seem to get working! When using mozldap tools, as specified in the admin manual, I get the following:
Using openldap tools I strike exactly the same problem: $ ldapmodify -Y GSSAPI -H LDAP://ldaphost.mycompany.com -D uid=eharmic,ou=mydept,dc=mycompany -U eharmic < ../ldapmod.txt SASL/GSSAPI authentication started ldap_sasl_interactive_bind_s: Invalid credentials (49) additional info: SASL(-14): authorization failure:
I believe I have set up the mapping correctly: dn: cn=MyMapping,cn=mapping,cn=sasl,cn=config objectClass: top objectClass: nsSaslMapping cn: MyMapping nsSaslMapRegexString: ^(.+)@MYCOMPANY.COM nsSaslMapBaseDNTemplate: ou=mydept,dc=mycompany nsSaslMapFilterTemplate: (uid=1)
It must be getting reasonably far because after doing the above I can see the LDAP service ticket in my "klist" output.
I was reading over and checking the How to section on the Wiki for Postfix TLS / SASL. I followed it completely and everything seems to be working fine however I am confused about the following section:
smtpd_tls_security_level = may smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.cert[code].....
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.
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.
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...
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:
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.
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.
Sendmail does not work anymore. //deinstaled everything [root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net /usr/sbin/sendmail: No such file or directory
//reinstaled everything, restart sendmail [root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net [root@localhost ~]# /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory //fixed that with '-o' in /etc/mail/submit.cf, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net // in mail.log: Apr 2 12:49:16 localhost sendmail[6252]: o32AnGis006252: to=mymail@mymail.net , ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49856, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
//test [root@localhost ~]# telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused
//commented out #O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA //in sendmail.cf, restart sendmail
//test [root@localhost ~]# telnet localhost 25 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused
I have this server that runs Tomcat . this server sends mail with localhost as MTAthe local MTA is sendmail (with the default settings) . from time to time i have this strange thing and the emails it sends never reach the destination. the log shows it left the server , but looking at the logi see that the time on the log is wrong . sometime its correct and ometines its +2 hours. i guess this email are bounced at the destinationfor sending at future time . all this email that didnt reach the destination have this in common
Is anyone can help me how to setup sendmail ( Centos 5.2 ) as mail relay for Microsoft exchange. I will put the mail relay in DMZ and Mail server in Local Network.v
I used Zimbra since a week ago to my centos 5 server, but now I'm using google apps. Today I tried to uninstall Zimbra and restore sendmail, but when I try to send a mail to local domain, it responds with an unknown user message and don't deliver the message to google mail.What I forgot in reconfiguration?
Is there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.
I have setup CentOS 5.2 with Nagios to monitor my network and have that configuration almost done. I have also setup Sendmail to forward all mail (really only Nagios notifications) out to my Exchange server using define('SMART_HOST', 'exchange.domain') in the sendmail configuration file and it seems to be working correctly.is there a way to configure Sendmail to forward all mail out through my Exchange server as it is now but send mail out to the internet itself if the exchange server is unavailable, somewhat like a failover configuration.
how do I decipher the following entries from sendmail log:ruleset=check_relay, arg1=[120.2.197.187], arg2=127.0.0.11, relay=[120.2.197.187], reject=553 5.3.0 Rejected - your IP is blacklisted by http://www.spamhaus.org: 1 Time(s)
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?
this is sasidhar. we are getting problems with sendmail. we have a site, when user registers we are sending a confirmation mail to user. The problem is some times it is not sending mails to users. The user accounts are valid.This is what I am getting reply to my mail
I'm confused about the sendmail/ssl combination. so confused, i'm not even sure what i'm confused about :) I want to have email sent from our server to the rest of the world in a 'secure' manner. Just dl'ed and installed CentOS5.4: Linux rh5 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:03:03 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux the /etc/mail/sendmail.mc has the instructions