CentOS 5 Server :: TLS Configuration - Section On The Wiki For Postfix TLS / SASL?

Dec 29, 2009

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].....

View 3 Replies


ADVERTISEMENT

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

Server :: Support Sasl For Postfix?

Aug 17, 2010

i used yum install postfix, but i don't know it's support sasl? how to check it?

View 3 Replies View Related

Server :: Postfix Error With TLS & SASL Enabled?

Mar 3, 2010

I have Postfix up and working perfect. It receives and sends email fine with no TLS and SASL but I installed Dovecot and then generated some self signed certificates using 'openssl' and for some reason I can't send from my IMAP server. I get this in my logs:

Code:
Mar 3 11:20:45 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=10.1.1.204, lip=192.168.0.200, TLS
Mar 3 11:21:20 mail postfix/smtpd[1386]: connect from tuna.mydomain.tld[10.1.1.204]

[Code].....

View 10 Replies View Related

Server :: Postfix SASL Authentication Failure ?

Jun 19, 2011

Am unable to send mail from Outlook to my Postfix SMTP server.

Am getting the following in the /var/log/maillog.

Code:

Think I've pretty much followed the instructions correctly here.

[url]

Also, I looked for the PID of the smtpd and did a strace on it.

Code:

Code:

However, when I looked at the permission of this file, it should be accessible by everyone.

Code:

View 3 Replies View Related

Server :: Postfix Sasl - Can't Email To Clients

May 13, 2010

I have an issue where postfix is setup to use dovecot auth and as far as I know it works, if i login using telnet to the mail server i can authorize myself y providing the base64 encoded user & password. so if i can login, why cant my email clients. have tried thunderbird and evolution. this is the mail.log relavant entries for sucessful login via telnet

[Code]...

Login by pop or imap works flawlessly that what i dont get. From what i see it SHOULD be working. It it changes things, im using postfixadmin, postfix, dovecot. passwords and info stored in mysql tables. passwords are md5 encrypted. I thought that may be the issue, but that dosnt make sence.

View 6 Replies View Related

Server :: Postfix SASL Authentication (UNIX Accounts)?

Nov 12, 2010

I'm using postfix with unix accounts for a while now and I just realized today that SASL authentication, instead of working only with the USERNAME, it also works if the username is followed by ANYDOMAIN.COM

So, let's say I have the following UNIX users: tim, mike, john. If I set the Outgoing Username:[URL]..(where whatever.com can be any name you can think of) IT WORKS, even though it shouldn't, it should only work with tim, mike and john without any domain name. Does anyone know what might cause this and what's the workaround to this problem?

View 3 Replies View Related

Server :: Postfix SASL - Relay Access Denied?

Mar 21, 2011

distro = debian 5

when i tried to send to other domain, i will get "Relay access denied"

below are my configs

main.cf

Code:
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no

[Code].....

View 4 Replies View Related

Server :: TLS / SASL Authentication - Dovecot And Postfix - Does Config

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

Server :: Postfix / Sasl Authentication Not Working When Started As A Service

Mar 15, 2011

I am re setting up a server of mine running red hat enterprise Linux server 6 and I had all of this working befor but for some reason I had troubles getting sasl to work and now when I login my smtp server I get an error stating that my username or password is incorrect though I am sure I am entering both correctly. Would anyone know what could be happening? I have been spending days on the web looking for the solution and only went from sasl not working when started as a service to this. For some reason I can't use Pam with saslauthd and had to use shadow instead of which from what I hear I get to use better methods of secure authentication with smtp

View 2 Replies View Related

CentOS 5 Server :: Unable To Test SASL On Mail Server

Nov 23, 2009

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.

View 3 Replies View Related

CentOS 5 Server :: Sendmail With SASL Support?

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

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 :: Postfix SASL Auth Not Working?

Mar 10, 2010

I'm getting relay access denied to an email outside of my domain. It seems the passwords are authenticating because I'm not getting invalid password prompts.

### BEGIN POSTFIX CONF ###
# postconf -n
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
mailbox_size_limit = 0

[Code].....

View 5 Replies View Related

Software :: Cannot Install Postfix (2.8.3) With SASL Support

Jun 15, 2011

I'm trying tom compile and install postfix with SASL support, but i have a error messeage when install:

#make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/sasl2/include/sasl" AUXLIBS="-L/usr/local/sasl2/lib -lsasl2"
...
#make install

[code]....

View 1 Replies View Related

Red Hat :: Postfix And Can't Get Cyrus-sasl To Work Completely

Mar 13, 2011

I for some reason can't get Cyrus-sasl to work completely. I have to manually start it via saslauthd -a show if I let it start up itself or do a service saslauthd start or restart testsaslauthd will fail. I need help getting this fixed. I tried setting /etc/sysconfig/saslauthd to shadow instead of Pam but still no luck. Also when I try to login my postfix server I get an error stating that my username or password is incorrect even though it is right and I can receive mail from dovecot.

View 2 Replies View Related

CentOS 5 Server :: SASL Bind Failures - Invalid Credentials

Dec 14, 2009

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:

$ /usr/lib64/mozldap/ldapmodify -h ldaphost.mycompany.com -D uid=eharmic,ou=mydept,dc=mycompany -o mech=GSSAPI -o authid=eharmic < ../ldapmod.txt
Bind Error: Invalid credentials
Bind Error: additional info: SASL(-14): authorization failure:

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.

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

Slackware :: Postfix Slackbuild With Cyrus-SASL, LDAP And MySQL?

Jan 3, 2010

Slackware 13 64 - full installation
Postfix from slackbuilds dot org
Dovecot from same

has anyone recompiled Postfix using the Slackbuild script, modifying the script to include support for Cyrus-SASL, OpenLDAP, and MySQL in the build, while retaining Dovecot SASL and TLS? If so I would appreciate it if they could post the CCARGS and AUXLIBS commands. I am having some difficulty getting this working.

View 3 Replies View Related

Ubuntu Servers :: Send Mail Doesn't Postfix SASL Work

Nov 27, 2010

I'm running a server with Ubuntu 10.04 and I have installed postfix and courier. The server can recieve mail and I can fetch them using POP, but when I try to send mail it doesn't work. Postfix itself can send email if i telnet from localhost and I am using my ISP as a relay because they block port 25. I'm using outlook 2007 on my client computer and it just says that the server rejects the login attempt and tells me to check my username and password. Postfix listens on port 12 as well because the client connection also has outgoing on port 25 blocked. I have tried to use telnet to connect to the server, and I can connect. This is what I get:

[Code]....

Now what? I've tried searching for the answer but all I can come up with is AUTH PLAIN or AUTH LOGIN, but I don't know what to type after that.

View 2 Replies View Related

Ubuntu Servers :: Postfix / SASL Authentication For SMTP - KMail Cryptically Leaves With A Generic Auth Fail Notice

Aug 2, 2010

I have been faithfully following the postfix/sasl/etc install docs from [URL] and seem to have hit a minor snag with SASL authentication for SMTP. KMail cryptically leaves me with a generic auth fail notice and tailing the mail logs gives me

[Code]...

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

CentOS 5 :: Wiki.centos.org Crashes X With Firefox?

Apr 20, 2010

I am using CentOS 5 with a couple extra repos; KDE, RPMforge, adobe and a repo provided by Mike A. Harris which has very new Firefox(3.6.3) and other packages. Understandably I am using an, at press time, unsupported version of Firefox. (I use updated packages at Adobe, KDE, and of Firefox for bleeding edge media support and website testing)

Most sites are working fine, including all sites that I have tried at the www.centos.org domain. Wikipedia, Pandora, AOL Mail, Dell, Facebook, Hulu, Google, Linksys, all of the other sites I have built and many more seem to work fine. When directing Firefox to anything on the CentOS wiki X seems to crash (the screen goes blank for a second, it flashes a Console login such as found at ctrl+alt+F1 and the gives me the X login screen) running services are un-interrupted, but all GUI programs close (Firefox and OpenOffice do recover data). I was running yum from a console and it was not interrupted.

Has anyone else had this issue with a newer version of Firefox? Again it is only seeming to affect the CentOS wiki. Not a worry since I only use the wiki for reference configuring my machine, and Konqueror browses it just fine. Anything I should do to help developers and other users? Bug reports? Ideas on how to fix it?

View 15 Replies View Related

Server :: Postfix Configuration: How To Restrict Use Of CC

Jan 17, 2011

I have configured postfix on my server.

telnet mydomain.com 25
helo validdomain.com
mail from: validaddress@validdomain.com
rcpt to: validuser@mydomain.com

[code]....

When I run this test, as expected, the email is delivered to validuser. However, postfix also delivers it to user1 and user2 despite the fact that the sender does not belong to my domain. I have implemented client, helo and recipient restrictions as below. How do I prevent the malicious use of CC as described here?

Snap of main.cf
-------------------
smtpd_client_restrictions = permit_mynetworks,
reject_invalid_hostname,
reject_rbl_client zen.spamhaus.org,
reject_unknown_client,

[code].....

View 1 Replies View Related

Slackware :: Postfix - Cyrus SASL Authentication - Pam-mysql - Mysql Database

May 10, 2011

Pam-mysql can not connect to the database and below are my configurations.

saslfinger -s Output:
root@mailbackup:/# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Tue May 10 10:12:10 EAT 2011
version: 1.0.2
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.7.2
System: Slackware 13.1.0

-- smtpd is linked to --libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x00007f74ebfb7000)

-- active SMTP AUTH and TLS parameters for smtpd --

-- listing of /usr/lib64/sasl2 --

-- listing of /usr/local/lib/sasl2 --

-- content of /usr/lib64/sasl2/smtpd.conf --

-- content of /usr/local/lib/sasl2/smtpd.conf --

-- active services in /etc/postfix/master.cf --

-- mechanisms on localhost --

View 3 Replies View Related

CentOS 5 :: Download Wiki For Use Offline?

May 12, 2009

I am away for two weeks in a Internet free zone - unless I can get it back on - I would like to download the wiki, if possible to browse and try new things. I can update my comp, but will need to take it to a friends to connect.

View 1 Replies View Related

Server :: Postfix Configuration To Split Mail Between Apps On Same Host?

Jul 19, 2010

I have an OpenSuse 11.2 system that is running 2 BBS systems independently, both of which are capable of receiving smtp mail on prot 25. What I would like to do is set up Postfix on the OpenSuse OS to receive all mail for both those domains and then send the relevant mail to the correct BBS. I would therefore have Postfix listening on Port 25 External and the 2 BBS applications listening on different ports on the localhost address. At least that is the plan.

how to do this. I want to do it and still make sure Postfix is secure and not accidentally open up any nasty relay holes etc etc.

View 2 Replies View Related

CentOS 5 Server :: Configure Postfix On 5 To Relay Email From The Internet To The Exchange Server

Apr 24, 2011

i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...

View 1 Replies View Related

Debian Configuration :: Tests And Playing Around With Postfix In A Test Squeeze Server?

Feb 15, 2011

I'm doing some tests and playing around with postfix in a test squeeze server. What I want to achieve is a postfix mail server using ports 465 and 587 with smtp authentication to send mails. I followed this howto: [URL].. and I'm using a php script with pear functions to test sending emails to a gmail test account of mine. This is the script:

<?php
require_once "Mail.php";
$from = "Webmaster <webmaster@server>";
$to = "My Name <myaccount@gmail.com>";
$subject = "This is sent with pear as a test";
$body = "This is the body of the message";

[Code]...

View 2 Replies View Related

Server :: CentOS Mail Server - Dovecot & Postfix

Oct 2, 2010

Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only.I had follow this how-to http://www.linuxmail.info/squirrelma...o-in-centos-5/ and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works.I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, i install VM player on it and run CentOS inside the VM Player.I want to do testing on Windows 7 side by installing Thunderbird email client program, i want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How ?

Do i have to do any other configuration on CentOS ? any DNS ? port number for IMAP,POP3 or SMTP ?

View 1 Replies View Related







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