07-14-2009
the hop count stops email from hopping around forever...
it depends on who is sending you mail but a hop limit of 20 is a good starting number.
set it to 30, this should let in 99% of valid mail but still stop a mail from hopping around forever.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
My problem is on :
SunOS "MY_HOSTNAME" 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-60
I get the following message on the console login screen:
sendmail: MAA 23665: SYSERR: putoutmsg (NO-HOST): error on output channel sending "550 none...User unknown": I/O error.
Does anyone... (11 Replies)
Discussion started by: guest100
11 Replies
2. UNIX for Dummies Questions & Answers
I have faced the following error :
Feb 8 11:56:10 test sendmail: unable to qualify my own domain name (test) -- using short name
I searched the forum and tested the required in the posts , but it doesn't work ...
I have changed the IP and local host in /etc/hosts to be as follows :
... (1 Reply)
Discussion started by: atiato
1 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
When ever i open unix, periodically after every 3 minutes(approximately) i get the below error.
"Dec 29 23:56:01 "domain name" sendmail: unable to qualify my own domain name ("domain name") -- using short name".
This is interrupting me while writing a program.
Please... (2 Replies)
Discussion started by: rakeshbharadwaj
2 Replies
4. Shell Programming and Scripting
Hi,
I have got a shell script, which fails to run properly..
I am getting the following error:
"Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive)."
I SSH to the machine and then run the... (1 Reply)
Discussion started by: LinuxUser2008
1 Replies
5. IP Networking
I have situation:
- localhost L
- server A
- server B (currently accessible only from B, but it have key of my localhost - added when L have different location and can access directly to B)
problem:
how set tunnel from L to B and use key from localhost (I don't remember password to B)?
I... (0 Replies)
Discussion started by: lessmore
0 Replies
6. Red Hat
Hi,
Need help here in sendmail error encountered
# tail /var/log/maillog
Aug 18 16:36:01 dot-123-my-server sendmail: q7IKa1GJ001123: to=<munin@dot-123-my-server>, ctladdr=<munin@dot-123-my-server> (101/102), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30898, dsn=2.0.0, stat=Sent
Aug... (2 Replies)
Discussion started by: edwin rosales
2 Replies
7. IP Networking
Hello,
I got an application on a linux server that I would like to access using https and a URL. I would like to create a ssh tunnel. But, let's say the app is on box C, but box C can only be accessed through box B, that can be accessed only through box A. I would like to create the ssh tunnel... (0 Replies)
Discussion started by: Pouchie1
0 Replies
8. Shell Programming and Scripting
Hi
I need to write a script to ssh through several hops (e.g. HostA-HostB-HostC-HostD), where Host A does not have direct assess to HostC ; HostB cannot access HostD directly.
when I ssh 3 hops and run command with arg1, arg2 and redirect the output to a file, e.g.
HostA> ssh -t HostB ssh -t... (3 Replies)
Discussion started by: chiensh
3 Replies
9. Solaris
Hello,
we have a mailserver named vision.mailhost.com 192.168.10.10 ( solaris 10)
We have an test server named visionway 192.168.10.5 ( solaris 10)
we want to run a cron job on test server and send an email if the cronjob fails
Question is how does the test server sendmail know the... (1 Reply)
Discussion started by: nimika
1 Replies
10. Shell Programming and Scripting
Hi friends,
I am trying to scp a file from server A to Server C via Server B (which is jump host)
from Server A to Server B i have one pem key. from server B to server C I have different Pem key..
what I tried
scp -r -o ProxyCommand="ssh -W %h:%p ec2-user@1.4.5.5 dmu.sh... (7 Replies)
Discussion started by: onenessboy
7 Replies
LEARN ABOUT PHP
mb_send_mail
MB_SEND_MAIL(3) 1 MB_SEND_MAIL(3)
mb_send_mail - Send encoded mail
SYNOPSIS
bool mb_send_mail NULL NULL (string $to, string $subject, string $message, [string $additional_headers], [string $additional_parame-
ter])
DESCRIPTION
Sends email. Headers and messages are converted and encoded according to the mb_language(3) setting. It's a wrapper function for mail(3),
so see also mail(3) for details.
PARAMETERS
o $to
- The mail addresses being sent to. Multiple recipients may be specified by putting a comma between each address in $to. This
parameter is not automatically encoded.
o $subject
- The subject of the mail.
o $message
- The message of the mail.
o $additional_headers (optional)
- String to be inserted at the end of the email header. This is typically used to add extra headers (From, Cc, and Bcc). Multiple
extra headers should be separated with a CRLF (
).
Note
When sending mail, the mail must contain a From header. This can be set with the $additional_headers parameter, or a default
can be set in php.ini.
Failing to do this will result in an error message similar to Warning: mail(): "sendmail_from" not set in php.ini or custom
"From:" header missing. The From header sets also Return-Path under Windows.
Note
If messages are not received, try using a LF (
) only. Some Unix mail transfer agents (most notably qmail) replace LF by
CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last resort, as it does not comply with RFC
2822.
o $additional_parameter
-$additional_parameter is a MTA command line parameter. It is useful when setting the correct Return-Path header when using send-
mail.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.0.0 | |
| | |
| | The Content-Type and Content-Transfer-Encoding |
| | headers may be redefined as of PHP 5.0.0. Before |
| | this time, the values defined by mb_language(3) |
| | are always used. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
mail(3), mb_encode_mimeheader(3), mb_language(3).
PHP Documentation Group MB_SEND_MAIL(3)