Sponsored Content
Top Forums UNIX for Advanced & Expert Users Solaris sendmail not paying attention to virtusertable Post 303022731 by defaria on Wednesday 5th of September 2018 08:29:01 PM
Old 09-05-2018
BDTD - yes I've done that already (and after every modification). Honestly if I hadn't done that the /map virtuser wouldn't work at all.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sendmail for Solaris 2.6

How do I configure send mail to send mail to internet mail accounts. The system is on a network which has an internet net router configured. (2 Replies)
Discussion started by: stuart.tootill
2 Replies

2. Solaris

Solaris 10 - Sendmail

Hello, I just installed Solaris 10 and my sendmail works. However, when I send an email the from heading appears as 'user@serverhostname.company.com'. Is there a way to remove the serverhostname so that the heading appears as 'user@company.com'. Thanks. (0 Replies)
Discussion started by: vitzit
0 Replies

3. UNIX for Dummies Questions & Answers

Solaris 9 Sendmail Question

hello to all, I'm a newbie to configuring sendmail. I have a solaris 9 server that is also set up as a NIS master server. My 1st question is how do properly set up sendmail to work in conjuntion with NIS users, so I need to set up sendmail in a certain way or can I just set it up normally. Also... (5 Replies)
Discussion started by: GLJ@USC
5 Replies

4. Solaris

sendmail problem on Solaris 10

Hi All, I am facing problem while sending mail using "mail" & "sendmail" commands from my Solaris 10 system. When I send the mail, it moves it to dead.letter & generates following error messages in /var/log/syslog file; Feb 22 14:20:14 ppip1n sendmail: l1M8oDEE008601:... (10 Replies)
Discussion started by: jumadhiya
10 Replies

5. Solaris

solaris 8/9 sendmail

Hi All, How do I make sure that sendmail outside the server is blocked? How do I make sure the port 25 is blocked on the firewall? How do I determine if port 25 is used or other ports? Thanks in advance for any commment you may add. (1 Reply)
Discussion started by: itik
1 Replies

6. Cybersecurity

How to configure sendmail in solaris 10

how to configure sendmail in solaris 10 ???? Anyone knows, pls share the documents. (1 Reply)
Discussion started by: vishwanathhcl
1 Replies

7. Solaris

sendmail solaris 10

My mail isbeing sent via server in format of : username@host.domain and from this fails as the domain does not exist. In solaris 9 we used DMdomain which cured the problem. this does not work in solaris 10 I have tried to rebuild sendmail.cf from a new version of the .mc file and tried... (7 Replies)
Discussion started by: smcart
7 Replies

8. Solaris

Help to configure sendmail on Solaris 10

Hello, I need help to configure sendmail on Solaris 10. I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users. I'm studying several tutorials ... When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies
Statistics::Basic::ComputedVector(3pm)			User Contributed Perl Documentation		    Statistics::Basic::ComputedVector(3pm)

NAME
Statistics::Basic::ComputedVector - a class for computing filtered vectors SYNOPSIS
Invoke it this way: my $vector = vector(1,2,3); my $computed = computed($vector)->set_filter(sub{ # NOTE: only interested in even numbers: grep { !($_ % 2) } @_ }); # nearly the same, opposite order: my $computed = computed(1,2,3)->set_filter(sub {map{$_+1}@_}); my $vector = $computed->query_vector; METHODS
new() The constructor takes a single array ref or a single Statistics::Basic::ComputedVector as its argument. It returns a Statistics::Basic::ComputedVector object. If passed arguments other than Statistics::Basic::Vector objects, the constructor will built an appropriate vector object -- which can be queried with "query_vector()" Note: normally you'd use the computed() constructor, rather than building these by hand using "new()". copy() Creates a new computed vector object referring to the same source vector and using the same filter as this one. my $v1 = vector(1,2,3); my $c1 = computed($v1); $c1->set_filter(my $s = sub {}); my $copy1 = computed($v1); $copy1->set_filter($s); my $copy2 = $c1->copy; # just like $c2, but in one step To instead create a filtered version of a filtered vector, choose this form: my $v1 = vector(1,2,3); my $c1 = computed($v1); $c1->set_filter(sub {}); my $c2 = computed($c1); $c2->set_filter(sub {}); insert() Insert new values into the input vector. If the vector was already full (see "set_size()"), this will also shift oldest elements from the input vector to compensate. $computed->insert( 4, 3 ); # insert a 3 and a 4 Note that continuing from the "SYNOPSIS" example, this would certainly insert a 4 and a 3 into the input vector, but the 3 wouldn't be returned from a "query()" because it is odd. This function returns the object itself, for chaining purposes. append() ginsert() Insert new values into the input vector. If the vector was already full (see "set_size()"), these functions will grow the size of the input vector to accommodate the new values, rather than shifting things. $computed->append( 4, 3 ); # append a 3 and a 4 Note that continuing from the "SYNOPSIS" example, this would certainly insert a 4 and a 3 into the input vector, but the 3 wouldn't be returned from a "query()" because it is odd. This function returns the object itself, for chaining purposes. query() "query()" returns the contents of the computed vector (after filtering) either as a list or as an arrayref. my @copy_of_contents = $computed->query; my $reference_to_contents = $computed->query; Note that changing the $reference_to_contents will not usefully affect the contents of the vector itself, but it will adversely affect any computations based on the vector. If you need to change the contents of a vector in a special way, use another Statistics::Basic::ComputedVector object instead. Keeping $reference_to_contents available long term should work acceptably (since it refers to the vector contents itself). query_vector() Return the input Statistics::Basic::Vector object. query_filled() This returns true when the input vector is full (see "query_filled()" in Statistics::Basic::Vector). This is of questionable usefulness on computed vectors, but is provided for completeness (and internal package consistency). query_size() Return the current size of the computed vector. set_filter() Set the filtering for the computed vector. This function takes a single coderef argument -- all other arguments will be ignored. The elements of the input vector are passed to your filter coderef in @_ and your ref should return the calculated elements of the computed vector as a list. my $vec = vector(1,2,3); my $pow = computed($vec); $pow->set_filter(sub { return map { $_ ** 2 } @_ }) If you need to call more than one filter function, concatenate them together using map or an anonymous sub. $pow->set_filter(sub { return f1(f2(f3(f4(@_)))) }); This function returns the object itself, for chaining purposes. set_size() Set the size of the input vector (not the computed vector, that would make little sense). This function returns the object itself, for chaining purposes. set_vector() Set the contents of the input vector (not the computed one). This function returns the object itself, for chaining purposes. OVERLOADS
This object is overloaded. It tries to return an appropriate string for the vector and raises errors in numeric context. In boolean context, this object is always true (even when empty). AUTHOR
Paul Miller "<jettero@cpan.org>" COPYRIGHT
Copyright 2012 Paul Miller -- Licensed under the LGPL SEE ALSO
perl(1), Statistics::Basic, Statistics::Basic::Vector perl v5.14.2 2012-01-23 Statistics::Basic::ComputedVector(3pm)
All times are GMT -4. The time now is 12:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy