Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
06-26-2017, 02:41 PM
|
#31
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by trickydba
I'm thinking Im sending both the same
|
so you've inspected the packets leaving your machine both times and found them identical? The packets sent from the exchange server to the SMS gateway are identical?
Then the only conclusion is that the SMS gateway provider is spying on you and drops messages when you send them from Linux.
Sorry, I keep being rude but you keep not actually trying to troubleshoot anything at all. "It works on Windows" is not troubleshooting.
|
|
|
06-26-2017, 03:03 PM
|
#32
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
Quote:
Originally Posted by 273
How exactly do you do this on Windows? Do you use an existing Outlook account or somwething else? Can you send an email to any email addresses with Linux? When you send to an email address other that the SMS gateway from PowerShell what email address is shown as the sender and do you have that set up on the Linux machinery?
|
+1, the comparison i would like to see is: - using powershell, email an @aol, @yahoo, @gmail, ... mailbox and make note of who the recipient indicates is the sender.
- using bash, email an @aol, @yahoo, @gmail, ... mailbox and make note of who the recipient indicates is the sender.
- compare whether the two received emails are from the same expected sender ?
i remember years ago i was setting up a bugzilla installation. my company was based in boston but they had teams in europe and asia. everyone within the company would get emails when the status of their defects changed but for everyone else it would be blocked.
so i set up a cron at midnite so that the hostname of the server would change to doble.com; service smtpd restart; send out anything queued up for people outside the company; then change the hostname back to dobzilla.
Last edited by schneidz; 06-26-2017 at 03:18 PM.
|
|
|
06-26-2017, 03:04 PM
|
#33
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
I am assuming inspecting the packets is pinging the server. I have pinged using "vtext.com" and did not get a response back. How can I check the packets sent from the Exchange server to the SMS gateway to be sure they are identical?
|
|
|
06-26-2017, 03:07 PM
|
#34
|
Member
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508
Rep:
|
Can you send an e-mail using that command to your own regular e-mail account?
|
|
|
06-26-2017, 03:10 PM
|
#35
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by trickydba
I am assuming inspecting the packets is pinging the server. I have pinged using "vtext.com" and did not get a response back. How can I check the packets sent from the Exchange server to the SMS gateway to be sure they are identical?
|
No, that is not what I mean -- I really was being sarcastic and rude.
My apologies, might I suggest you read up a little about how email works, specifically SMTP, and google things like "open mail relay" to see why some servers block some messages.
|
|
|
06-26-2017, 03:30 PM
|
#36
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
@Laserbeak & schneidz... seems that I can send an email from my corporate email to a private email. The 'sent from' is "<>".
|
|
|
06-26-2017, 03:31 PM
|
#37
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
But there was some issues
|
|
|
06-26-2017, 03:37 PM
|
#38
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by trickydba
The 'sent from' is "<>".
|
See my (and other people's) previous posts -- reade about email!
|
|
|
06-26-2017, 03:40 PM
|
#39
|
Member
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508
Rep:
|
I get the suspicion that your command-line environment isn't configured to send e-mails.
I looked into it, and mine wasn't, I'm looking into getting it set up now.
|
|
|
06-26-2017, 03:55 PM
|
#40
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
My command-line environment is configured to send emails, I have send emails via command-line plenty of times. I'll stop asking questions now because of 273's post. Sorry to cause confusion and bother.
|
|
|
06-26-2017, 04:13 PM
|
#41
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Sorry, please continue to post looking for help (I am not a representative of this site) but please read something about email and try to troubleshoot.
|
|
|
06-26-2017, 04:15 PM
|
#42
|
Member
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508
Rep:
|
Quote:
Originally Posted by trickydba
My command-line environment is configured to send emails, I have send emails via command-line plenty of times. I'll stop asking questions now because of 273's post. Sorry to cause confusion and bother.
|
No, please, keep posting! I guess I was dead WRONG about my hunch about your command-line environment.
|
|
|
06-26-2017, 04:20 PM
|
#43
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
Let me get together my thoughts about my attempts to avoid confusion and post relevant info that is beneficial to myself receiving help. I appreciate everyone's help
|
|
|
06-26-2017, 04:25 PM
|
#44
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
Aaah just got a message via command line in Linux. It stated I have new mail!!!
When I opened up the file using the "CAT" command it shows all my attempts to send a SMS and that the action has failed.
The location of this file is " //var/spool/mail "
|
|
|
06-26-2017, 04:28 PM
|
#45
|
Member
Registered: Nov 2016
Location: Atlanta,Georgia
Posts: 310
Original Poster
Rep:
|
So I guess I can safely assume in Linux it is not set up to send SMS via mailx
|
|
|
All times are GMT -5. The time now is 04:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|