08-15-2008
I wrote you should also take another UID than the one from the line you copied^^ Best would be one that isn't taken already.
It welcomes you as user "someuser" because the 1st entry it finds is the one with "someuser" having also the uid 30313.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
On my small network some of my users are having trouble logging in. What's something that I can do to find out what's wrong? Are there any commands that I can run or files I can check?
,AP (4 Replies)
Discussion started by: Anthony
4 Replies
2. UNIX for Dummies Questions & Answers
hello,
Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux).
I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies
3. HP-UX
hello:
before I am add user in Linux with " adduser" command .
for example system(adduser zzf -p hello);
and this command "-p" option is used to create "login password".
now i do not find the "-p" option in " adduser " in hp unix os.
and i should how to do ??? (3 Replies)
Discussion started by: phoenix_fei
3 Replies
4. Linux
Hi All
I am facing a login issue actually on my local machine users are not suppose to login with there respective prompt on the machine.
Access deneid
login as: daya
Sent username "daya"
daya@10.10.0.3's password:
Access denied
daya@192.168.0.83's password:
and even i am not suppose... (3 Replies)
Discussion started by: daya.pandit
3 Replies
5. AIX
1) when user login to the server the session got colosed. How will resolve?
2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem?
Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies
6. Red Hat
first of all I am Newbie to linux I confidured my sendmail -8.13 on RHEL5, but i have a problem regarding user accounts.
How can I user access his account on remotely while all users exit on servers ?
should i need to configure extra server to enable this ....
And what is LDAP and can this... (1 Reply)
Discussion started by: sandy6573
1 Replies
7. UNIX for Advanced & Expert Users
Dear All,
Plz help
in unixware 7x only root user login & other user not login .
message giving permission denied (3 Replies)
Discussion started by: sudhir69
3 Replies
8. AIX
Hi,
I am getting tired in creating several users in a day. Can anyone have a script to create several users in the same server, as well as, to create one user in several servers.
where i have to put script and how to run the script.
Waiting for your reply.
Thanks in advance (5 Replies)
Discussion started by: udtyuvaraj
5 Replies
9. UNIX for Advanced & Expert Users
I wan to add a new user. I have executed the following command. The user home directory is created.
but password creation shows error.
Note: I'm using LDAP Server for user authentication.
adduser xxx
Adding user `xxx' ...
Adding new group `xxx' (1003) ...
Adding new user `xxx' (1003) with... (2 Replies)
Discussion started by: ungalnanban
2 Replies
10. Red Hat
I could not create the user name with the number infront of...
useradd 8siva
useradd: Invalid account name `8siva' (3 Replies)
Discussion started by: gsiva
3 Replies
LEARN ABOUT CENTOS
mail::spamassassin::client
Mail::SpamAssassin::Client(3) User Contributed Perl Documentation Mail::SpamAssassin::Client(3)
NAME
Mail::SpamAssassin::Client - Client for spamd Protocol
SYNOPSIS
my $client = new Mail::SpamAssassin::Client({
port => 783,
host => 'localhost',
username => 'someuser'});
or
my $client = new Mail::SpamAssassin::Client({
socketpath => '/path/to/socket',
username => 'someuser'});
Optionally takes timeout, which is applied to IO::Socket for the
initial connection. If not supplied, it defaults to 30 seconds.
if ($client->ping()) {
print "Ping is ok
";
}
my $result = $client->process($testmsg);
if ($result->{isspam} eq 'True') {
do something with spam message here
}
DESCRIPTION
Mail::SpamAssassin::Client is a module which provides a perl implementation of the spamd protocol.
PUBLIC METHODS
new
public class (Mail::SpamAssassin::Client) new (\% $args)
Description: This method creates a new Mail::SpamAssassin::Client object.
process
public instance (\%) process (String $msg)
Description: This method calls the spamd server with the PROCESS command.
The return value is a hash reference containing several pieces of information, if available:
content_length
isspam
score
threshold
message
check
public instance (\%) check (String $msg)
Description: The method implements the check call.
See the process method for the return value.
headers
public instance (\%) headers (String $msg)
Description: This method implements the headers call.
See the process method for the return value.
learn
public instance (Boolean) learn (String $msg, Integer $learntype)
Description: This method implements the learn call. $learntype should be an integer, 0 for spam, 1 for ham and 2 for forget. The return
value is a boolean indicating if the message was learned or not.
An undef return value indicates that there was an error and you should check the resp_code/resp_msg values to determine what the error was.
report
public instance (Boolean) report (String $msg)
Description: This method provides the report interface to spamd.
revoke
public instance (Boolean) revoke (String $msg)
Description: This method provides the revoke interface to spamd.
ping
public instance (Boolean) ping ()
Description: This method performs a server ping and returns 0 or 1 depending on if the server responded correctly.
PRIVATE METHODS
_create_connection
private instance (IO::Socket) _create_connection ()
Description: This method sets up a proper IO::Socket connection based on the arguments used when creating the client object.
On failure, it sets an internal error code and returns undef.
_parse_response_line
private instance (@) _parse_response_line (String $line)
Description: This method parses the initial response line/header from the server and returns its parts.
We have this as a separate method in case we ever decide to get fancy with the response line.
_clear_errors
private instance () _clear_errors ()
Description: This method clears out any current errors.
_filter
private instance (\%) _filter (String $msg, String $command)
Description: Makes the actual call to the spamd server for the various filter method (ie PROCESS, CHECK, HEADERS, etc). The command that
is passed in is sent to the spamd server.
The return value is a hash reference containing several pieces of information, if available:
content_length
isspam
score
threshold
message (if available)
perl v5.16.3 2011-06-06 Mail::SpamAssassin::Client(3)