Sponsored Content
Full Discussion: mailx recipient restriction
Top Forums UNIX for Dummies Questions & Answers mailx recipient restriction Post 302232852 by era on Friday 5th of September 2008 10:04:14 AM
Old 09-05-2008
There may be rate-limiting down the road, though. The To: header should not be over 1,024 characters long, but you can have multiple To: headers if this is a problem (or use Bcc: or whatever). What's more complicated is if your MTA limits how much you can send; some ISPs do this as a matter of controlling abuse (spam and virus-generated spewage).
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unknown recipient when using metasend

Hi, We use metasend to send e-mail from our app. This works fine with most kinds of mail, for example plain text, HTML with images and mail with attachments. But we still have one problem: If the to-address is misspelled, then still everything seems to be fine. We don't get any message back... (4 Replies)
Discussion started by: sjohnsen
4 Replies

2. Shell Programming and Scripting

Creating a multi-recipient email script

Well, I'm fairly new to shell scripting, so please excuse my newbieness :) I was wondering if it was possible to create a shell script that retrieves a list of recipients in a list_file and sends a message out all at once? An example of a list file would look similar to this: $ cat... (2 Replies)
Discussion started by: TheSunTheSea
2 Replies

3. UNIX for Dummies Questions & Answers

sendmail recipient issue

I can send external emails from one of my unix boxes but can no longer send internal emails, i have used mailx -v to see what's going on and it seems there is a problem with the RCPT TO part of the log It seems to add name@nsmail1.mydmn.gov.uk When it should be just name@mydmn.gov.uk The... (1 Reply)
Discussion started by: supadid
1 Replies

4. UNIX for Dummies Questions & Answers

Email recipient problems with uuencode attachments

Most of my email attachments are fine, but some recipients get the email with the uuencode attachment included as "text" at the end of the body of the message. Has anybody seen this? It seems to happen most with yahoo, msn and other freebie email addresses. Thanks (1 Reply)
Discussion started by: Dave Miller
1 Replies

5. Shell Programming and Scripting

Mailx Recipient and Name Script

Hi To All, I have a file with email addresses, most of which have names associated with them, it looks like this: http://img230.imageshack.us/img230/8255/94731317.th.jpg I am trying to come up with a script to use mailx (or anything else really) to send an email to... (4 Replies)
Discussion started by: slicker
4 Replies

6. UNIX for Dummies Questions & Answers

Configure Recipient Restrictions in Postfix

Hi all We need to block our users sending emails to specific email addresses. At the moment, recipient restrictions is not enabled in our Postfix relay server so all messages submitted from our Exchange server are accepted and relayed. See entries in our main.cf file: ### Recipient... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

7. Shell Programming and Scripting

Send email recipient based on filename

Hi All can someone help please create a bash script. Here's a scenario: 1. I have a directory where it's a destination for scanned documents. e.g. /dest/scan 2. The filename is in the form IDNumber_Category. e.g. 123456_notes.pdf 3. The first part of the script is to rename the... (1 Reply)
Discussion started by: aemestech
1 Replies

8. Programming

Mailx recipient from mysql database

Dear All, Can I make Mailx to read recipient address from a mysql database? I already tried emailing with bash script: SUBJECT="TEST" export EMAIL_ADDRESS=`mysql -uroot -pabcde smsd -e "SELECT email FROM recipient"` mysql -uroot -pabcde smsd -e "SELECT ID, SenderName, Body FROM inbox" |... (2 Replies)
Discussion started by: jazzyzha
2 Replies

9. Shell Programming and Scripting

Mailx recipient from mysql database

Dear All, Can I make Mailx to read recipient address from a mysql database? I already tried emailing with bash script: SUBJECT="TEST" export EMAIL_ADDRESS=`mysql -uroot -pabcde smsd -e "SELECT email FROM recipient"` mysql -uroot -pabcde smsd -e "SELECT ID, SenderName, Body FROM inbox" |... (14 Replies)
Discussion started by: jazzyzha
14 Replies

10. UNIX for Dummies Questions & Answers

Emails sent from Linux server are rejected by recipient

Hello i have this longterm issue which im unable to solve, i think this is quite simple issue, i hope you may know the cause It is on CentOS Redhat server with qmail installed. # service qmail status # service qmail start Starting Qmail: # ps aux | grep mail qmails 1688 0.0 0.0 ... (1 Reply)
Discussion started by: postcd
1 Replies
POST(8)                                                              [nmh-1.5]                                                             POST(8)

NAME
post - deliver a message SYNOPSIS
/usr/lib/mh/post [-alias aliasfile] [-filter filterfile] [-nofilter] [-format | -noformat] [-mime | -nomime] [-msgid | -nomsgid] [-verbose | -noverbose] [-watch | -nowatch] [-width columns] [-server servername] [-port portname/number] [-sasl] [-nosasl] [-saslmaxssf ssf] [-saslmech mechanism] [-user username] [-tls] [-notls] file [-version] [-help] DESCRIPTION
Post is the default program called by send to deliver the message in file to local and remote users. In fact, most of the features attrib- uted to send in its manual page are performed by post, with send acting as a relatively simple preprocessor. Thus, it is post which parses the various header fields, appends a "Date:" line, and interacts with the mail transport system. Post will not normally be called directly by the user. Post searches the "To:", "cc:", "Bcc:", "Fcc:", and "Resent-xxx:" header lines of the specified message for destination addresses, checks these addresses for validity, and formats them so as to conform to ARPAnet Internet Message Format protocol, unless the -noformat flag is set. This will normally cause "@local-site" to be appended to each local destination address, as well as any local return addresses. The -width columns switch can be used to indicate the preferred length of the header components that contain addresses. If a "Bcc:" field is encountered, its addresses will be used for delivery, and the "Bcc:" field will be removed from the message sent to sighted recipients. The blind recipients will receive an entirely new message with a minimal set of headers. Included in the body of the message will be a copy of the message sent to the sighted recipients. If -filter filterfile is specified, then this copy is filtered (re-formatted) by mhl prior to being sent to the blind recipients. Alternately, if the -mime switch is given, then post will use the MIME rules for encapsulation. The -alias aliasfile switch can be used to specify a file that post should take aliases from. More than one file can be specified, each being preceded with -alias. In any event, the primary alias file is read first. The -msgid switch indicates that a "Message-ID:" or "Resent-Message-ID:" field should be added to the header. The -verbose switch indicates that the user should be informed of each step of the posting/filing process. The -watch switch indicates that the user would like to watch the transport system's handling of the message (e.g., local and "fast" deliv- ery). Under normal circumstances, post uses the "From:" line in the message draft as the identity of the the originating mailbox. A "From:" line is required in all message draft. By default the message composition utilities such as comp and repl will automatically place a "From:" line in the message draft. There are two ways to override this behavior, however. Note that they apply equally to "Resent-From:" lines in messages sent with dist. The first way is to supply a "Sender:" line. The value of this field will be used as the originating mailbox identity when submitting the message to the mail transport system. If multiple addresses are given in the "From:" line, a "Sender:" line is required. If an "Envelope- From:" line is supplied when multiple addresses are given in the "From:" line, a "Sender:" header will be generated using the value of the "Envelope-From:" line, if the "Envelope-From:" line is not blank. The second way is to supply a "Envelope-From:" line. The value of this field will be used as the originating mailbox identity when submit- ting the message to the mail transport system. This will override both the value of the "From:" line and a "Sender:" line (if one is sup- plied). The "Envelope-From:" line is allowed to have a blank value; if the value is blank, then the mail transport system will be instructed to not send any bounces in response to the message. Not all mail transport systems support this feature. If nmh is using the SMTP MTA, the -server and the -port switches can be used to override the default mail server (defined by the servers entry in /etc/nmh/mts.conf ). If nmh has been compiled with SASL support, the -sasl and -nosasl switches will enable and disable the use of SASL authentication with the SMTP MTA. Depending on the SASL mechanism used, this may require an additional password prompt from the user (but the ".netrc" file can be used to store this password). -saslmech switch can be used to select a particular SASL mechanism, and the the -user switch can be used to select a authorization userid to provide to SASL other than the default. If SASL authentication is successful, nmh will attempt to negotiate a security layer for session encryption. Encrypted data is labelled with `(sasl-encrypted)' and `(sasl-decrypted)' when viewing the SMTP transaction with the -snoop switch. The -saslmaxssf switch can be used to select the maximum value of the Security Strength Factor. This is an integer value and the exact meaning of this value depends on the underlying SASL mechanism. A value of 0 disables encryption. If nmh has been compiled with TLS support, the -tls and -notls switches will require and disable the negotiation of TLS support when con- necting to the SMTP MTA. Encrypted data is labelled with `(tls-encrypted)' and `(tls-decrypted)' when viewing the SMTP transction with the -snoop switch. FILES
/etc/nmh/mts.conf nmh mts configuration file /etc/nmh/MailAliases global nmh alias file /usr/bin/mh/refile Program to process Fcc:s /usr/lib/mh/mhl Program to process Bcc:s PROFILE COMPONENTS
post does NOT consult the user's .mh_profile SEE ALSO
mhmail(1), send(1), mh-mail(5), mh-alias(5), mh-tailor(5), Standard for the Format of ARPA Internet Text Messages (RFC-822) DEFAULTS
`-alias' defaults to /etc/nmh/MailAliases `-format' `-nomime' `-nomsgid' `-noverbose' `-nowatch' `-width 72' `-nofilter' CONTEXT
None BUGS
"Reply-To:" fields are allowed to have groups in them according to the 822 specification, but post won't let you use them. MH.6.8 11 June 2012 POST(8)
All times are GMT -4. The time now is 02:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy