Sponsored Content
Operating Systems Linux Red Hat not able to Send mail due to Security Issue Post 302340703 by mark54g on Tuesday 4th of August 2009 08:20:03 AM
Old 08-04-2009
You gave no details about how or where it fails.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

2. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

3. Solaris

Send mail issue.

Hi Gurus, I have moved one of my servers(Sol-9) to client site and have an issue trying to send mails from their site through SMTP server in my site. I get the below error when my server forwards mails to the SMTP server in another domain. root: mailx -v hari.ganesh@fnis.com Subject: test... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies

4. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

5. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

6. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

7. Ubuntu

Not able to send mail out of UbuntuBox in send mail

Hi Guys.. yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver problem is.. i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain.. Now main... (2 Replies)
Discussion started by: cmdman
2 Replies

8. Red Hat

Zimbra Mail Server Security Issue

Hello, I have issue with my Zimbra Mail Server 6.0.7. In that i have configured HTTPS for client login and for whole session. but it stills communicate in http based authentication. due to that some sniffing software are easily sniffing details. So how do i configure completely HTTPS in... (3 Replies)
Discussion started by: Chintanghanti
3 Replies

9. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
getlogin(2)							System Calls Manual						       getlogin(2)

NAME
getlogin, getlogin_r, setlogin - Gets and sets login name SYNOPSIS
#include <unistd.h> char *getlogin(void); int getlogin_r( char *name, size_t len); int setlogin( char *name); The following function does not conform to current standards and is supported only for backward compatibility: int getlogin_r(char *name, int len); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: getlogin(), getlogin_r(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Points to the login name. Specifies the length of the buffer pointed to by name. DESCRIPTION
The getlogin() function returns the login name of the user associated with the current session. The name is normally associated with a login shell at the time a session is created, and is inherited by all processes descended from the login shell. (This is true even if some of those processes assume another user ID, for example when the su command is used.) The setlogin() function sets the login name of the user associated with the current session to name. This call is restricted to the supe- ruser, and is normally used only when a new session is being created on behalf of the named user (for example, at login time, or when a remote shell is invoked). The getlogin_r() function is the reentrant version of getlogin(). Upon successful completion, the login name is stored in name. RETURN VALUES
Upon successful completion, the getlogin() function returns a pointer to a null-terminated string in a static buffer or a null pointer if the user's login name cannot be found. If getlogin() fails, a null pointer is returned, and errno is set to indicate the error. Upon successful completion, the setlogin() function returns a value of 0 (zero). If setlogin() fails, then a value of -1 is returned and an error code is placed in errno. Upon successful completion, the getlogin_r() function returns a value of 0 (zero). Otherwise, an error number is returned. [Tru64 UNIX] Upon successful completion, the obsolete version of the getlogin_r() function returns a value of 0 (zero). Otherwise, -1 is returned and errno is set to indicate the error. ERRORS
If the getlogin(), getlogin_r(), or setlogin() function fails, errno may be set to one of the following values: [Tru64 UNIX] The name parameter gave an invalid address. [Tru64 UNIX] The name parameter pointed to a string that was too long. [Tru64 UNIX] Login names are limited to 64 characters, as specified by MAXLOGNAME (which is defined in sys/user.h). However, this name limit must be enabled in the kernel at boot time by explicitly setting the generic subsystem's login_name_max attribute to 64. For backward compatibility reasons, 12 is the default value of the login_name_max attribute. An additional value for a setlogin() failure is the following: [Tru64 UNIX] The caller tried to set the login name and was not the supe- ruser. RELATED INFORMATION
Commands: su(1) Functions: setsid(2) Standards: standards(5) delim off getlogin(2)
All times are GMT -4. The time now is 05:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy