Sponsored Content
Operating Systems OS X (Apple) mailx to external email address Post 302539830 by FlyingSquirrel on Tuesday 19th of July 2011 01:50:06 AM
Old 07-19-2011
I was able to get the sendmail kind of working.
Using the instructions on this site:
http://yoavgivati.com/2009/10/let-po...-snow-leopard/

I can send mail from OS X.

Now instead of arriving into the inbox, the email goes into the junk mailbox. Could be because gmail is catching it as spam for some reason.

What do you suggest to get around this issue?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win)

Hi A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as " usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies

2. UNIX for Dummies Questions & Answers

Send email where # is in the email address - Using Unix

Hi All, How do I send an email using malix where email address contains a #. I have a email address like this : #test@test.com I want to send email like malix -s "TEST" #test@test.com < SOMEFILE I tried \# but doesn't work. Please let me know how we can achieve this? I am in... (1 Reply)
Discussion started by: jingi1234
1 Replies

3. UNIX for Dummies Questions & Answers

mailx- can we change the from address in the email that is sent out.

Hello, Is there anyway to change the from address in the email sent using mailx command? I have the following command: mailx -s $subject xxx@xxxx.com < $mail_mesg This defaults to the following format "acctname@usserver.companyname.com" as the from address in the email. Problem is this... (5 Replies)
Discussion started by: radhika
5 Replies

4. Shell Programming and Scripting

how to know if the mailx command really sends the mail to the email address?

Hi guys, I have a question about the returning message of the mailx command. if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message? Thanks... (3 Replies)
Discussion started by: sheenshine
3 Replies

5. OS X (Apple)

Getting the External IP Address of your Computer and Storing it in a File

My computer is one of three computer on our LAN. Our router is a Time Capsule. My computer is the only of of three computers that has been assigned a static IP address on the LAN, because it runs an Apache installation. I tinker around with web development from time to time, and I wanted to be... (7 Replies)
Discussion started by: Audacitor
7 Replies

6. IP Networking

Obtaining your external IP address using a Unix Utility

Hello, this is my first post on the Unix forums. This is something that's been bothering me for a while, is there any particular UNIX/Linux application that will allow you to see you external IP address? :confused: ( The address beyond your router ) Thank you in advance, I could not find a... (4 Replies)
Discussion started by: inquen
4 Replies

7. UNIX for Dummies Questions & Answers

How to verify email address using mailx command ?

Is there any way i can verify the email address (before sending the mail) using the mailx command ? I know that sendmail -bv email@address.com can do it but there is a compatibility issues with the version of Unix we have. So mailx is the only command we can used at this point. Any... (1 Reply)
Discussion started by: rak007
1 Replies

8. Shell Programming and Scripting

External IP Address of Linux Server

Hi, I am trying to find the external IP address of a server "XXX". I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45 Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22 Out of these two numbers, what number... (1 Reply)
Discussion started by: forums123456
1 Replies

9. IP Networking

Ping domain indicates the external ip address and not the local ip

when i execute from local machine ping domainname i get the external ip address but i am on local dns and i expect the local ip address.. using nslookup : no problem so i cannot find why... thanks (2 Replies)
Discussion started by: activedms
2 Replies

10. Shell Programming and Scripting

Mailx issue; email address starting with #

Hello All, I have a requirement to generate report and send them to a distribution list. The problem I am facing is when sending out the email using mailx. The email address (DL) we have is starting with # and because of this it's not recognising the email and throwing the below error. ... (2 Replies)
Discussion started by: Pradeep_Raj
2 Replies
mailexec(1)							Mail Avenger 0.8.3						       mailexec(1)

NAME
mailexec - run program on messages in mbox file or maildir SYNOPSIS
mailexec [-nvFR] mailbox program [arg ...] DESCRIPTION
mailexec runs a program over every message in mailbox, which must be an mbox-format mail file or maildir directory. For each message encountered, mailexec executes program with the specified arguments, supplying the message as standard input. mailexec synthesizes a "From " line and a "Return-Path:" header field for each message if the message does not already contain one. (This behavior can be modified by the -F and -R flags, described below.) When parsing mbox format files, mailexec unescapes "From " lines. If a line begins with one or more ">" characters followed by "From ", mailexec deletes one of the ">" characters. If you do not want this unescaping behavior, see the formail(1) utility, which has a -s flag that performs a similar function to mailexec. OPTIONS -n When processing a maildir, causes mailexec to look exclusively at "new" messages that have not yet been moved to the cur directory. -v Turns on verbose mode. If mailbox is a maildir, mailexec prints out the name of each file it processes inside the maildir. If mailbox is an mbox format file, mailexec prints the message-id of each message it processes (as long as messages have a message-id header). -F Suppresses printing of the initial "From " line at the beginning of each message. -R Suppresses printing of initial "Return-Path:" lines. EXAMPLES
To get the same behavior as the Unix from(1) command on a mail directory dir, you can run either of the following two commands: mailexec -n dir head -1 mailexec -n dir sed -ne 1p To convert an mbox-format file mbox into a maildir directory dir, you can run: mailexec mbox deliver dir/ Conversely, to convert maildir dir into an mbox-format file mbox, run: mailexec dir deliver mbox To train the spamassassin filter on a mail folder called spam containing unwanted messages, run: mailexec spam sa-learn --spam Note that this works whether spam is an mbox format file or a maildir directory. If you have an old mbox file or maildir directory box and wish to "import" the old mail into your web mail account, say example@gmail.com, you can run: mailexec -F box sendmail example@gmail.com Note again that this works whether box is an mbox format file or a maildir directory. SEE ALSO
avenger(1), deliver(1), dotlock(1), avenger.local(8) The Mail Avenger home page: <http://www.mailavenger.org/>. BUGS
When reading from a maildir and synthesizing a "From " line, mailexec guesses the delivery date of the message based on the name of the file, which works in practice but could be considered dangerous since file names in maildirs are supposed to be opaque. Thus, while generally mailexec places sensible dates in "From " lines and processes maildir messages in order of delivery, it might be unwise to rely on this behavior. mailexec generates the time for the "From " line in the local time zone, as is customary on Unix. This could lead to loss of information when transferring mailboxes across time zones or combining mailboxes created in different timezones. Moreover, this practice is incompatible with qmail, which uses GMT in the "From " line. mailexec expects that if there is a "Return-Path:" header field, it will be the first header field in the message (possibly after the initial "From " line, which is not itself a header field). There are many different variants of the mbox message format. mailexec expects the "mboxrd" variant, in which each message is delimited by a "From " line at the beginning and a blank line at the end, and every line beginning with either "From " or one or more ">" characters followed by "From " is escaped by adding another ">" character. In particular, this means mailexec will incorrectly parse System V "mboxcl2" files, which use "Content-Length:" header fields to determine message boundaries rather than "From " lines. mailexec attempts to lock mbox format files, but will execute anyway even if it cannot obtain the lock. This allows it to work on read- only files, but if you are highly unlucky could result in the last message being truncated. There is no locking for maildir files. If a maildir is modified while mailexec is running over it, mailexec could miss messages. If you are concurrently manipulating the maildir with a mail reader, maildir could even miss old messages that just happen to have been moved from the new to the cur directory. mailexec will issue a warning if it fails to open a file that it had previously seen when scanning the directory. AUTHOR
David Mazieres Mail Avenger 0.8.3 2012-04-05 mailexec(1)
All times are GMT -4. The time now is 07:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy