Sponsored Content
Top Forums UNIX for Advanced & Expert Users Unable to send mail with 'mail' command Post 302963913 by RudiC on Thursday 7th of January 2016 05:53:23 PM
Old 01-07-2016
From my (very limited) view: you have the relayhost line commented out, and authentication info for the relay host is missing.
 

10 More Discussions You Might Find Interesting

1. AIX

unable to send mail

hi, I have tried this code to send mail.Its not giving me error but I am not receiving mail also. #!/bin/ksh echo "The first mail" >msg cnt=`cat /dir1/msg | wc -l` if then mail -s "Hello" abc.xyz@domain.com < msg fi I have also tried with the command mailx -s "hello"... (0 Replies)
Discussion started by: monika
0 Replies

2. Shell Programming and Scripting

Unable to send a mail

Hi, I have been trying to send a mail from a remote site using this script To send the mail: #!/bin/ksh MAILTO="abc@xyz.com" BACKUPDIR="/wls_domains/wli81_1/RHTEAM/OUTPUTBACKUP/" #BACKUPDIR="../OUTPUTBACKUP/" while ; do print $1 uuencode $1 $1 | mail $MAILTO ... (3 Replies)
Discussion started by: monicaminj2000
3 Replies

3. UNIX for Dummies Questions & Answers

Unable to send e-mail using mailx command

Hi All, Can you please help me in solving this. I am facing some problem sending mails. If I use like this, I am able to send mail the mail echo "This is an automated e-mail; please do not reply." | mailx -s "Good Morning ." 'abc@xys.com' But if I use like this, then I am unable to send... (1 Reply)
Discussion started by: manas6
1 Replies

4. Solaris

Unable to send mail

Hey guys i got this error my logs - I ping 127.0.0.1 and it says that its alive - I checked sendmail and it is running - I tried to send a test email but nothing happens it seems that it hangs - What is the possible cause of this? (5 Replies)
Discussion started by: sbn
5 Replies

5. Solaris

Unable to send mail

hi all i got two server, mercury and procyon mercury can send email but procyon cannot below is their syslog mercury: Jul 6 13:17:17 mercury sendmail: n665HGXg006886: to =<leecw@domain.com>, ctladdr=<ora10g@mercury.domain.com> (4001/101), d elay=00:00:01, xdelay=00:00:01,... (7 Replies)
Discussion started by: SmartAntz
7 Replies

6. UNIX for Dummies Questions & Answers

[SOLVED] Command line mail taking too long to send; unable to qualify my own domain name

Hello, I'm having a problem with my mail. When I send mail, it takes a long time for the send to complete. In the below, datestamp is just a simple script to put in a no-white-space date/time stamp. $ datestamp ; mail woodnt; datestamp 02-05-10@193844 Subject: test timer Cc: ... (0 Replies)
Discussion started by: Narnie
0 Replies

7. 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

8. Shell Programming and Scripting

Not able to send the mail using mail and mailx command

Hi All, I am trying to send a mail from linux server but could'nt able to send the mail. I tried the below syntax's so far but no luck. mail -s “Hello world” abc@xyz.com < /usr/g/txt.log cat "txt.log" | mailx -s "Hello world" abc@xyz.com mailx -s “Hello world” abc@xyz.com <... (2 Replies)
Discussion started by: scriptscript
2 Replies

9. Shell Programming and Scripting

Unable to send mail

Hi friends I am trying to send mail through a unix server. I am using following command mailx -s "THIS IS TEST" jhon@gmail.com Whenever i am typing the above command it is going to next line when i press @ on unix server prompt. so it is taking this command as following mailx -s "THIS... (3 Replies)
Discussion started by: Nakul_sh
3 Replies

10. 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
TRIVIAL-REWRITE(8)					      System Manager's Manual						TRIVIAL-REWRITE(8)

NAME
trivial-rewrite - Postfix address rewriting and resolving daemon SYNOPSIS
trivial-rewrite [generic Postfix daemon options] DESCRIPTION
The trivial-rewrite daemon processes two types of client service requests: rewrite Rewrite an address to standard form. The trivial-rewrite daemon by default appends local domain information to unqualified addresses, swaps bang paths to domain form, and strips source routing information. This process is under control of several configu- ration parameters (see below). resolve Resolve an address to a (transport, nexthop, recipient) triple. The meaning of the results is as follows: transport The delivery agent to use. This is the first field of an entry in the master.cf file. nexthop The host to send to. For local delivery this is an empty string. recipient The envelope recipient address that is passed on to nexthop. The trivial-rewrite daemon by default only distinguishes between local and non-local mail. For finer control over mail routing, use the optional transport(5) lookup table. This program expects to be run from the master(8) process manager. STANDARDS
None. The command does not interact with the outside world. SECURITY
The trivial-rewrite daemon is not security sensitive. By default, this daemon does not talk to remote or local users. It can run at a fixed low privilege in a chrooted environment. DIAGNOSTICS
Problems and transactions are logged to syslogd(8). BUGS
CONFIGURATION PARAMETERS
The following main.cf parameters are especially relevant to this program. See the Postfix main.cf file for syntax details and for default values. Use the postfix reload command after a configuration change. Miscellaneous inet_interfaces The network interfaces that this mail system receives mail on. This information is used to determine if user@[net.work.addr.ess] is local or remote. mydestination List of domains that this machine considers local. myorigin The domain that locally-posted mail appears to come from. resolve_unquoted_address When resolving an address, do not quote the address localpart as per RFC 822, so that additional @, % or ! characters remain visi- ble. This is technically incorrect, but allows us to stop relay attacks when forwarding mail to a Sendmail primary MX host. Rewriting allow_percent_hack Rewrite user%domain to user@domain. append_at_myorigin Rewrite user to user@$myorigin. append_dot_mydomain Rewrite user@host to user@host.$mydomain. swap_bangpath Rewrite site!user to user@site. Routing local_transport Where to deliver mail for destinations that match $mydestination or $inet_interfaces. The default transport is local. Syntax is transport:nexthop; see transport(5) for details. The :nexthop part is optional. default_transport Where to deliver non-local mail when no information is explicitly given in the transport(5) table. The default transport is smtp. Syntax is transport:nexthop; see transport(5) for details. The :nexthop part is optional. parent_domain_matches_subdomains List of Postfix features that use domain.tld patterns to match sub.domain.tld (as opposed to requiring .domain.tld patterns). relayhost The default host to send non-local mail to when no entry is matched in the transport(5) table. When no relayhost is specified, mail is routed directly to the destination's mail exchanger. transport_maps List of tables with domain to (transport, nexthop) mappings. SEE ALSO
master(8) process manager syslogd(8) system logging transport(5) transport table format LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA TRIVIAL-REWRITE(8)
All times are GMT -4. The time now is 08:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy