Linux - NewbieThis 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.
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.
I am in need of some serious help. I am a windows admin that was thrown the responsibility of our unix servers when our admin walked out on Tuesday (I was the only person that had ever used unix before).
Anyway, there is a script (attached txt file) our oracle users are calling (which I do not know unix scripting), and the email portion of it is failing. If they enter jsmith@company.com it will work, but if they enter the newly created exchange alias GROUPALIAS@company.com, it never sends the email (maybe the capital letters make a difference?)If anybody could help me with this, I would greatly appreciate it. The script is about 190 lines long (I changed line 24 to generic).
as a cmd just after the comments at the top. This will show you the before & after versions of each line of code as it interprets and runs them, along with any output. Great for debugging.
No errors get reported, the email just never gets sent (although the oracle says the run completed and I don't see any errors)
I'd check the log files (usually in /var/log), for output when you run the script manually. Look in either /var/log/messages or /var/log/mail.XX (could be mail, mail.info, or mail.warn), and see if the email message is leaving your box, and heading outwards. You'll see something obvious, look for the recipient name. If you can send to ONE email address, then chances are the other address isn't configured correctly, or that the box it's on isn't set up to accept incoming connections.
You mention the 'new' exchange alias...are you migrating from another mail system?? If so, the firewall rules/etc may not be set up right to allow incoming relays from your system. Also, make sure that the exchange server has incoming POP3/SMTP enabled. Could be it's only doing exchange-to-exchange, and is ignoring your request. Again, the logs will point that out to you, and you could see the bounce-back message there. Might also want to check /var/spool/clientmqueue (or mqueue) for received messages for the root user, or whoever you have set up to be the postmaster on that box. The rejection may be in there, too..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.