LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-25-2005, 05:04 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Postfix Authenticationn Fail!


Code:
debian:/home/revenant# courierauthtest revenant xxxxx
Trying authdaemon...
Temporary authentication failure from module authdaemon
Authentication FAILED!
debian:/home/revenant#

debian:/home/revenant# grep authmodulelist /etc/courier/authdaemonrc
##NAME: authmodulelist:0
authmodulelist="authpam"
##NAME: authmodulelistorig:1
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam"
I tried changing to "authpwd" and "authuserdb"

Code:
debian:/home/revenant# courierauthtest revenant xxxxx
Trying authdaemon...
Authentication FAILED!
debian:/home/revenant#
Any idea what happen?

Another problem I encounter after trying sending to another linux machine using the "mail" command.

The linux machine did not receive any mail so I check out the postfix error log and found this.

Code:
/var/log/mail/mail.info

Feb 25 11:28:28 localhost postfix/smtp[6712]: CBDD782C4: to=<revenant@debian.client>, relay=debian.client[192.168.100.31], delay=1, status=bounced (host debian.client[192.168.100.31] said: 554 <revenant@debian.client>: Relay access denied (in reply to RCPT TO command))

Last edited by subaruwrx; 02-25-2005 at 05:09 AM.
 
Old 02-28-2005, 04:54 AM   #2
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
bump
 
Old 03-02-2005, 08:54 AM   #3
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
My /etc/postfix/main.cf

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = debian.server
mailbox_size_limit = 0
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = debian.server, debian, localhost, localhost.localdomain #domain this machine will deliver locally
mynetworks = 127.0.0.0/8 192.168.100.0/24 #trusted networks
mynetworks_style = subnet
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +

Last edited by subaruwrx; 03-02-2005 at 09:24 AM.
 
Old 03-03-2005, 09:45 AM   #4
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Latest Update

Suspecting that I do not have the module authpwd, I remove courier-imap, compiled and installed courier-auth with authpwd, install back courier-imap using apt-get.

Code:
/etc/courier/authdaemonrc
# The authentication modules that are linked into authdaemond.  The
# default list is installed.  You may selectively disable modules simply
# by removing them from the following list.  The available modules you
# can use are: authcustom authcram authuserdb authldap authpgsql authmysql authpam

authmodulelist="authpwd"
Although they still did not include authpwd in the available modules, I still try my luck and specify authpwd. But still no go

Code:
debian:/home/revenant# courierauthtest revenant
Trying authdaemon...
Authenticated: module authdaemon
Home directory: /home/revenant
UID/GID: 1000/1000
AUTHADDR=revenant
AUTHFULLNAME=Collin Yeo
OPTIONS=<none>
Code:
debian:/home/revenant# courierauthtest revenant [password]
Trying authdaemon...
Temporary authentication failure from module authdaemon
Authentication FAILED!
debian:/home/revenant#
What does the above 2 means?

Last edited by subaruwrx; 03-03-2005 at 09:57 AM.
 
Old 03-04-2005, 09:01 PM   #5
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Re: Latest Update

Quote:
Originally posted by subaruwrx
Suspecting that I do not have the module authpwd, I remove courier-imap, compiled and installed courier-auth with authpwd, install back courier-imap using apt-get.

Code:
/etc/courier/authdaemonrc
# The authentication modules that are linked into authdaemond.  The
# default list is installed.  You may selectively disable modules simply
# by removing them from the following list.  The available modules you
# can use are: authcustom authcram authuserdb authldap authpgsql authmysql authpam

authmodulelist="authpwd"
Although they still did not include authpwd in the available modules, I still try my luck and specify authpwd. But still no go

Code:
debian:/home/revenant# courierauthtest revenant
Trying authdaemon...
Authenticated: module authdaemon
Home directory: /home/revenant
UID/GID: 1000/1000
AUTHADDR=revenant
AUTHFULLNAME=Collin Yeo
OPTIONS=<none>
Code:
debian:/home/revenant# courierauthtest revenant [password]
Trying authdaemon...
Temporary authentication failure from module authdaemon
Authentication FAILED!
debian:/home/revenant#
What does the above 2 means?
bump
 
Old 03-06-2005, 09:15 AM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Re: Latest Update

Quote:
Originally posted by subaruwrx
Suspecting that I do not have the module authpwd, I remove courier-imap, compiled and installed courier-auth with authpwd, install back courier-imap using apt-get.

Code:
/etc/courier/authdaemonrc
# The authentication modules that are linked into authdaemond.  The
# default list is installed.  You may selectively disable modules simply
# by removing them from the following list.  The available modules you
# can use are: authcustom authcram authuserdb authldap authpgsql authmysql authpam

authmodulelist="authpwd"
Although they still did not include authpwd in the available modules, I still try my luck and specify authpwd. But still no go

Code:
debian:/home/revenant# courierauthtest revenant
Trying authdaemon...
Authenticated: module authdaemon
Home directory: /home/revenant
UID/GID: 1000/1000
AUTHADDR=revenant
AUTHFULLNAME=Collin Yeo
OPTIONS=<none>
Code:
debian:/home/revenant# courierauthtest revenant [password]
Trying authdaemon...
Temporary authentication failure from module authdaemon
Authentication FAILED!
debian:/home/revenant#
What does the above 2 means?
up
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
I'll fail if I can't figure this out... A.C. Helm Slackware 2 11-22-2005 09:28 AM
postfix and cyrus-imapd fail on fedora core 2 kwingate Fedora 3 12-13-2004 10:27 AM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 06:33 PM
postfix outgoing mail fail from outlook express importboy03 Linux - Networking 0 02-20-2003 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration