BCC address not working (mimesender)


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting BCC address not working (mimesender)
# 1  
Old 11-08-2006
BCC address not working (mimesender)

I modified the following mimesender script so I can send also to BCC adresses:
https://www.unix.com/showthread.php?t=17065

Everything is working and correct. Except the email address(es) in BCC are not delivered.

When I set the debug-mode ON I can see the BCC header and when I receive the email the BCC header is filtered out. But I'm not receiving the message on the email-address I specified in the BCC header.

Anyone a solution or possible faults I made?

DEBUG-MESSAGE:
Code:
DEBUG: DebugModeison...nomailwillbesent
DEBUG: pwentry=usr:x:0:0:usr@domain.tld:/usr:/bin/bash
DEBUG: myaddr=usr@domain.tld
DEBUG: myname=usr
DEBUG: Attachment0/tmp/file1Afile1.txt
DEBUG: PIPELINE=/bin/cat /tmp/file1
DEBUG:
DEBUG:
DEBUG: mtaarg=usr@domain.tld
DEBUG:
DEBUG: startofmail
DEBUG: From: usr <usr@domain.tld>
DEBUG: To: usr2@domain2.tld
DEBUG: Bcc: usr3@domain3.tld
DEBUG: Subject:mySubject
DEBUG: X-Mailer: mimesender
DEBUG: Mime-Version: 1.0
DEBUG: Content-Type: multipart/mixed;
DEBUG:     boundary="=== 2bf872d3eb5ade847fe4fe528ebf0d5b ===--"
DEBUG:
DEBUG:         This message is in MIME format.  But if you can see this,
DEBUG:         you aren't using a MIME aware mail program.  You shouldn't
DEBUG:         have too many problems because this message is entirely in
DEBUG:         ASCII and is designed to be somewhat readable with old
DEBUG:         mail software.
DEBUG:
DEBUG: --=== 2bf872d3eb5ade847fe4fe528ebf0d5b ===--
DEBUG: Content-Type: text/plain; charset=US-ASCII
DEBUG:
DEBUG:
DEBUG: This is an automated message.
DEBUG: If you notice any errors, please contact us (mvc@dynamix-solutiions.com)
DEBUG:
DEBUG: --=== 2bf872d3eb5ade847fe4fe528ebf0d5b ===--
DEBUG: Content-Type: text/plain; name="/tmp/file1"
DEBUG: Content-Disposition: attachment; filename="file1.txt"
DEBUG:
DEBUG: CONTENT ATTACHMENT..
DEBUG:
DEBUG: --=== 2bf872d3eb5ade847fe4fe528ebf0d5b ===----
DEBUG: endofmail

# 2  
Old 11-09-2006
Hi Perderabo

I got an error in mimesender at line 321,which describes.

./mimesender[321]: syntax error at line 323 : `then' unexpected

Can u check the same.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Grep -w ip address from a file isnt working need help

I have a file "file1" that contains several ip address , and the "file2" contains several records , each line in file2 contains somewhere the ip address that i am searching in the file1 I use the unix command grep -w for i in `cat file1` do grep -w "$i" file2 >> file3 done ... (9 Replies)
Discussion started by: knijjar
9 Replies

2. UNIX for Beginners Questions & Answers

Mail command not working for Long Email Address with Dashes

My company has an email user group email address name that has 35 characters in front of the @ symbol where two of them are dashes. For some reason the mail command fails to send email to this address when I invoke it from the Linux command line. I don't understand the reason for the failure. Below... (5 Replies)
Discussion started by: Phil44
5 Replies

3. Shell Programming and Scripting

Sed: deleting last line prevents '$' address from working in the multi-script invocation

It looks like if matching and deleting the last line confuses 'sed' so it does not recognize '$' address. Consider: sed -e '/^3/d' -e '$ a text' supposed to delete a line starting with '3' and then append 'text' after the last line of input. But, if it is the last line of input which starts... (2 Replies)
Discussion started by: msz59
2 Replies

4. UNIX for Dummies Questions & Answers

Mimesender (Perderabo): no attachment in email message

Hello, all, I have been trying to use what Perderabo has given to send attachment via email., but I am not getting the attachments, what I see on the receiving email system are the attachments contents inside the body of the received email. No attachment icon shows in the received email. I am on... (3 Replies)
Discussion started by: gio001
3 Replies

5. Shell Programming and Scripting

Search IP Address in list of ranges -- not working great

I have been struggling with a script to automate some security related activities. I have it pretty much working, all except the search. I have an input file formatted as such: 216.234.246.158 216.234.246.158 `` 24.249.221.22 24.249.221.200 `` 24.249.226.0 ... (4 Replies)
Discussion started by: tsunami4u
4 Replies

6. Shell Programming and Scripting

Problem with mimesender

Hi there, I was looking for a script to send mails with attachment(s) and I found mimesender here in the forums. But I've got some difficulties to get it working. Here is the command I submit on the shell: ./mimesender -t to@mail.com -T "To Name" -f frommail -F "From Name" -b body.txt -s... (3 Replies)
Discussion started by: keyboarder2k
3 Replies

7. UNIX for Advanced & Expert Users

netlink: NLM_F_REPLACE not working on address???

Am I missing something, or does RFC 3549 suggest that the NLM_F_REPLACE flag should apply to any netlink message header? In other words, routes/links/ipv6-lifetimes should not be the only things that can be affected by the flag. The reason I ask is that it seems impossible (from looking at the... (0 Replies)
Discussion started by: jjinno
0 Replies

8. UNIX for Dummies Questions & Answers

Unable to use mimesender to send attachments with spaces in the file names / paths

Hello, I found the mimesender multiple attachment emailing shell script in the FAQ of these forums, and I have been able to use it to send multiple files, but only if they don't have spaces in their file name or path. When I attempt to send a file with spaces in it's name, enclosed... (0 Replies)
Discussion started by: rsmorra
0 Replies

9. UNIX for Dummies Questions & Answers

bcc in mails

Hi, how to put some receipients for mail in bcc and some receipients in to. (2 Replies)
Discussion started by: prasee
2 Replies

10. Solaris

How to force the IP address working right now?

Hi all! After I assigned the IP address to one machine V890, ce0 NIC, with 190.10.10.66, subnetmask is 255.255.0.0 successfully, however, when I pinged to the other machine 190.10.10.68, I did not receviced any reply message. Would you like to guide me? Thank you very much! (6 Replies)
Discussion started by: trantuananh24hg
6 Replies
Login or Register to Ask a Question