Sponsored Content
Full Discussion: [Solved] Sendmail again
Operating Systems HP-UX [Solved] Sendmail again Post 302640663 by wojciech on Tuesday 15th of May 2012 07:50:01 AM
Old 05-15-2012
HP-UX box is attached to a local network.
Through a local network I have access to the SMTP server. SMTP server sends mail to other networks. SMTP server requires authentication and I can not change that. I have a username and password but do not know how to enter them into sendmail config. I want to be able to send messages from the console using a script. As mentioned earlier, I tried to configure mailx but without success.
Best regards.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sendmail

Hello Everyone! Can anyone help me with this problem. When root sends mail from my sun to our exchange server the from field looks like this"root@server.domain.com but i would like it to look like this "root.server@domain.com" or somthing like that. I dont wont the "server" after the @. i like... (2 Replies)
Discussion started by: dozy
2 Replies

2. Programming

sendmail

hi, i am using sendmail function to send the mail for mail client. when i am sending mime content with attaching with body for the images. the image is not displaying in the mail box. all the mime content stuff is displaying. all the headers are proper. hope the reply for this (0 Replies)
Discussion started by: nagineni
0 Replies

3. UNIX for Dummies Questions & Answers

sendmail.cf

we have two mail servers and want to setup failover for DR. we have a line in sendmail.cf like this DS smtp.domain.com and this works fine...... we changed it to DS smtp1.domain.com smtp2.domain.com this is bad, we get errors of savemail panic and many bounce messages and... (0 Replies)
Discussion started by: robsonde
0 Replies

4. Linux

Sendmail

How do i see all incoming mail's and outgoing mail's for a particular user and how do i list folders of sendmail (mailbox) (1 Reply)
Discussion started by: sagar824u
1 Replies

5. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

6. Solaris

Sendmail

I have sendmail enabled in my Solaris 10 boxes. It has being flagged as an violation to unix security standard as the port 25 is listening. I want to run the sendmail to run in non-daemon mode so that the queue is processed. Please help. (0 Replies)
Discussion started by: ranasarkar
0 Replies

7. Linux

Sendmail

In my server sendmail is running in daemon mode as, server01:~ # ps -ef| grep sendmail mail 6354 1 0 2010 ? 00:00:00 sendmail: Queue control root 6423 1 0 2010 ? 00:00:47 sendmail: accepting connections mail 6474 6354 0 2010 ? 00:05:03... (0 Replies)
Discussion started by: ranasarkar
0 Replies

8. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

9. UNIX and Linux Applications

Sendmail

Hi All, What is Sendmail.cf? What is it's significance? (2 Replies)
Discussion started by: rafa_fed2
2 Replies

10. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
Mail::Mailer(3) 					User Contributed Perl Documentation					   Mail::Mailer(3)

NAME
Mail::Mailer - Simple interface to electronic mailing mechanisms INHERITANCE
Mail::Mailer is a IO::Handle SYNOPSIS
use Mail::Mailer; use Mail::Mailer qw(mail); # specifies default mailer $mailer = Mail::Mailer->new; $mailer = Mail::Mailer->new($type, @args); $mailer->open(\%headers); print $mailer $body; $mailer->close or die "couldn't send whole message: $! "; DESCRIPTION
Sends mail using any of the built-in methods. As TYPE argument to new(), you can specify any of "sendmail" Use the "sendmail" program to deliver the mail. "smtp" Use the "smtp" protocol via Net::SMTP to deliver the mail. The server to use can be specified in @args with $mailer = Mail::Mailer->new('smtp', Server => $server); The smtp mailer does not handle "Cc" and "Bcc" lines, neither their "Resent-*" fellows. The "Debug" options enables debugging output from "Net::SMTP". You may also use the "Auth => [ $user, $password ]" option for SASL authentication. To make this work, you have to install the Authen::SASL distribution yourself: it is not automatically installed. "smtps" Use the smtp over ssl protocol via Net::SMTP::SSL to deliver the mail. Usage is identical to "smtp". $mailer = Mail::Mailer->new('smtps', Server => $server); "qmail" Use qmail's qmail-inject program to deliver the mail. "testfile" Used for debugging, this displays the data to the file named in $Mail::Mailer::testfile::config{outfile} which defaults to a file named "mailer.testfile". No mail is ever sent. "Mail::Mailer" will search for executables in the above order. The default mailer will be the first one found. METHODS
Constructors Mail::Mailer->new(TYPE, ARGS) The TYPE is one of the back-end sender implementations, as described in the DESCRIPTION chapter of this manual page. The ARGS are passed to that back-end. $obj->open(HASH) The HASH consists of key and value pairs, the key being the name of the header field (eg, "To"), and the value being the corresponding contents of the header field. The value can either be a scalar (eg, "gnat@frii.com") or a reference to an array of scalars ("eg, ['gnat@frii.com', 'Tim.Bunce@ig.co.uk']"). DETAILS
ENVIRONMENT VARIABLES PERL_MAILERS Augments/override the build in choice for binary used to send out our mail messages. Format: "type1:mailbinary1;mailbinary2;...:type2:mailbinaryX;...:..." Example: assume you want you use private sendmail binary instead of mailx, one could set "PERL_MAILERS" to: "mail:/does/not/exists:sendmail:$HOME/test/bin/sendmail" On systems which may include ":" in file names, use "|" as separator between type-groups. "mail:c:/does/not/exists|sendmail:$HOME/test/bin/sendmail" BUGS Mail::Mailer does not help with folding, and does not protect against various web-script hacker attacks, for instance where a new-line is inserted in the content of the field. SEE ALSO
This module is part of the MailTools distribution, http://perl.overmeer.net/mailtools/. AUTHORS
The MailTools bundle was developed by Graham Barr. Later, Mark Overmeer took over maintenance without commitment to further development. Mail::Cap by Gisle Aas <aas@oslonett.no>. Mail::Field::AddrList by Peter Orbaek <poe@cit.dk>. Mail::Mailer and Mail::Send by Tim Bunce <Tim.Bunce@ig.co.uk>. For other contributors see ChangeLog. LICENSE
Copyrights 1995-2000 Graham Barr <gbarr@pobox.com> and 2001-2007 Mark Overmeer <perl@overmeer.net>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.12.1 2010-01-26 Mail::Mailer(3)
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy