- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 09:19 AM
05-14-2003 09:19 AM
sendmail question
My problem is that when a specify 1 recipient, sendmail is successful. However, as soon as I add a second recipient, both get queued.'
output:
recip1@company.com... queued
recip2@company.com... queued
I've tried on the commandline, I've tried using the -t and using an input file, I've also created an alias. The alias works if ther is only one user in the group, but when I add a second, they get queued.
TIA
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 09:31 AM
05-14-2003 09:31 AM
Re: sendmail question
# mailx -s "Subject" user1@domain.com user2@domain.com < /tmp/mail_content_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 09:37 AM
05-14-2003 09:37 AM
Re: sendmail question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 09:39 AM
05-14-2003 09:39 AM
Re: sendmail question
From sendmail FAQ:
If a mail message is temporarily undeliverable, it is queued and delivery is attempted later. If the message is addressed to multiple recipients, it is queued only for those recipients to whom delivery is not immediately possible.
That works with latest version...
What version of sendmail are you using:
echo \$Z | /usr/sbin/sendmail -bt -d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 09:48 AM
05-14-2003 09:48 AM
Re: sendmail question
yes, the mail is successfull when sent individually to the two recipients, but get queued when send as multiple recipients of the same mail.
the mailx had the same result.
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 09:48 AM
05-14-2003 09:48 AM
Re: sendmail question
so it could be
cat file | mailx -s "subject" friend1@work.com friend2@work.com firend3@work.com
the -r option is optional
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 10:11 AM
05-14-2003 10:11 AM
Re: sendmail question
Yet Another Sendmail Diagnostic command.
/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@juf.org dovidgrinker@juf.org
If you use those email addreses, I'll have to flame you.
More help.
mailq
sendmail -q
The diag command above should get you enough to make modifications to setup.
If any of the above answers have been useful, please submit points to my collegues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 10:42 AM
05-14-2003 10:42 AM
Re: sendmail question
echo 'To: recip1@company.com, recip2@company.com' | sendmail -t -v -oem
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 10:47 AM
05-14-2003 10:47 AM
Re: sendmail question
I get the same return
recip1@company.com... queued
recip2@company.com... queued
but individually they work.
very confusing.
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 10:51 AM
05-14-2003 10:51 AM
Re: sendmail question
Also,
grep Mlocal /etc/mail/sendmail.cf
Should look like:
Mlocal, P=/usr/bin/rmail, F=lsDFMAw5:/|@qm9, S=10/30, R=20/40,
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 11:09 AM
05-14-2003 11:09 AM
Re: sendmail question
Mlocal, P=/usr/bin/rmail, F=lsDFMAw5:/|@qm9, S=10/30, R=20/40
the only output from your previous command was:
recip1@company.com... queued
recip2@company.com... queued
when I run it with the single recipient I get onn the verbose and debug info, but multiple only returns the queues messages.
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 11:41 AM
05-14-2003 11:41 AM
Re: sendmail question
echo 'To: recip1@company.com, recip2@company.com' | sendmail -t -v -oem
recip2@company.com,recip1@company.com... Connecting to myserver.internal.net. via relay...
220 myserver.mydomain.ca ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2653.13) ready
>>> EHLO system1.internal.net
250-myserver.mydomain.ca Hello [system1.internal.net]
250-XEXCH50
250-HELP
250-ETRN
250-DSN
250-SIZE 0
250-AUTH LOGIN
250 AUTH=LOGIN
>>> MAIL From:
250 OK - mail from
>>> RCPT To:
250 OK - Recipient
>>> RCPT To:
250 OK - Recipient
>>> DATA
354 Send data. End with CRLF.CRLF
>>> .
250 OK
recip1@company.com,recip2@company.com... Sent (OK)
Closing connection to system1.internal.net.
>>> QUIT
221 closing connection
Any chance you can post your sendmail.cf???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:04 PM
05-14-2003 12:04 PM
Re: sendmail question
-Rusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:29 PM
05-14-2003 12:29 PM
Re: sendmail question
O RefuseLA=55
We don't use that....
It makes sendmail stop accepting connections if the load average is x or above.
Just curious - can you comment it out - reload sendmail daemon - then try your multiple recipient again? I'm pretty sure this won't affect it - but it's worth a try...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 08:20 PM
05-14-2003 08:20 PM
Re: sendmail question
How about this ..
have a file lets call it mail.file that looks like so.
To: one@two.com,one1@other.com
From: you@here.com
Subject:test mail
your message starts here ..
then to send the file do
cat mail.file | sendmail -tv
that will send out mail.file to whereever you want to go. If you have issues post the output you get. If it works just use
cat mail.file | sendmail -t
to take it out of verbose mode.
Here is what -t does:
-t Read message for recipients. To:, Cc:, and Bcc:
lines will be scanned for recipient addresses. The
Bcc: line will be deleted before transmission.
Good luck
Richard