Ubuntu :: Send Email From Script Using Exchange Server Credentials?
Mar 23, 2010
I want to create a shell script that generates a file and then sends it via email from my Ubuntu desktop by using my Exchange 2003 Server which is on a separate windows machine on my network. I do not have an smtp server set-up so that is one of the reasons I want to go this route. The other is because I will be able to sync the emails sent from the exchange server.
View 1 Replies
ADVERTISEMENT
May 3, 2010
Have someone used Linux heartbeat to send email when the Slave server becomes the Master? I've read I can configure the MailTo under.
But I really don't know how to do it. I basically need my primary server to send an email when it becomes inactive and all the activities are manage by the secondary node.
View 7 Replies
View Related
Apr 24, 2011
i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...
View 1 Replies
View Related
Jul 1, 2010
is there a way to allow unsubscribed email address to send emails to mailman list without having to manually set a filter for that email address?
View 1 Replies
View Related
Jun 3, 2009
Debian 5, apache 2.2 I've got Apache up and hosting multiple sites. Each site will have a php contact me page that will simply dump an email to a fixed address. What program should i be using to accomplish this? I've used nullmailer before but that assumes you have a fixed smarthost somewhere which I don't.
View 6 Replies
View Related
Dec 25, 2010
I recently had the need to relay SMTP mail through our organizations hosted MS Exchange server. I had to do a little troubleshooting, so I wrote a concise summary of the procedure I followed.
View 1 Replies
View Related
Jan 7, 2009
I am working happily with Fedora 8, evolution chatting happily to exchange 2003, calendar sync the works...impressed. This continued through Fedora 9 (though a little bumpy as all odd numbered Fedora releases are). On to Fedora 10, yes works a treat out of the box (DVD). A couple of updates to evolution later, through yumex (fedora updates), and evolution has stopped sending email to the exchange server. It's also touch and go whether I can read email using OWA.
On pressing 'Send/Receive' evolution pops the error,
Error while performing operation.
Exchange transport can only be used with Exchange mail source.
How could I back out these evolution updates?
View 9 Replies
View Related
May 10, 2011
How to seup nagios to send email to mails in MS Exchange server ?
View 3 Replies
View Related
Apr 5, 2010
I have set up ubuntu server V9 with squid, dansguardian and clam. I have fetchmail wroking to bring in mail from our externally hosted website and delivering it to users mailboxes in exchange server. That was easy following guides on the internet. However my brain is failing me now. How do I reverse the process and send mail to the outside world. I need to be able to do this without authentication. At the moment i am using a windows environment with exchangepop3 which uses smarthost to connect to the ISP smtp server. Please help or point to a simple guide. If i cannot solve this soon i will have to revert to microsoft solution for the proxy server.
View 7 Replies
View Related
Feb 24, 2010
I have users [URL] unable to send email to [URL]. [URL] user also unable to send email to [URL]. But both email addresses are fine as they can receive email from others or from [URL] and [URL]. I able to telnet mail server 110 and 25, no problem. Version: ESMTP Sendmail 8.12.10
Mail Log:
Feb 23 11:36:35 mail sendmail[16228]: o1N3aZxt016215: to=<xxx1@gas.com>, ctladdr=<xxx@abc.com> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=442918, relay=gas.com, dsn=5.1.2, stat=Host unknown (Name server: gas.com: no data known)
[code]....
View 4 Replies
View Related
May 2, 2011
I used this tutorial to setup to setup iSpconfig postfix courier:but i cannot send or receive email:
Code:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
B450C72116A 595 Mon May 2 17:33:50 www-data@mail.greensevenstudios.com
[code]...
View 2 Replies
View Related
May 5, 2010
I've come across a strange issue where any email address that I email with mail returns an error "Bad Address"
Fairly new Centos 5.4 Install, sendmail is the MTA.
Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
DNS is working fine so there isn't a problem.
[root@hn1 /]# host -t mx iol.co.za
iol.co.za mail is handled by 10 mg1.iol.co.za.
iol.co.za mail is handled by 10 mg2.iol.co.za.
iol.co.za mail is handled by 30 vulpix.iol.co.za.
Yet when I try to use mail it fails:
[root@hn1 /]# which mail
/bin/mail
[root@hn1 /]# ls -lrth /bin/mail
-rwxr-xr-x 1 root mail 83K Jan 7 2007 /bin/mail
[root@hn1 /]# mail -s "test" bob@mydomain.co.za
Bad address
Nothing in the maillog.
View 1 Replies
View Related
Jun 2, 2011
How can I send email outside my LAN using postfix? Actually, I can received email from outside like yahoo. hotmail etc.. But when I am trying to send outside in my mail server here is the error I got..
Jun 2 21:19:51 microtontech postfix/smtp[4434]: connect to k.mx.mail.yahoo.com[98.139.54.60]: Connection timed out (port 25)
Jun 2 21:20:10 microtontech postfix/smtp[4435]: connect to
[code]....
I try to telnet yahoo.com and smtp.pldtdsl.net 25 here are the result, but when I try to telnet smtp.pldtdsl.net its showing trying only.. I checked if my ISP is blocking port 25 isn't. (I forgot what is the website I used to check if my ISP port 25 is block) I try already to used in my relayhost the [URL] but the email I sent still bouncing..But I remember last time when I was installed Hmailserver in my Win2K3 machine I sent email outside but I cannot received..
[code]....
View 3 Replies
View Related
Aug 9, 2010
what do I need to change in postfix/ dns to send email to one one of the email server hosted by 1and1.
I'm using zenoss to monitor system/ network and devices. I wanted to setup email notification , so I installed postfix. All works fine when I use my private account on yahoo or hotmail. but when I specify email account that is hosted by 1and1 I receive error 421. "
xxxxmyserver postfix/smtp[5399]: B0A5B22A06: to=<1and1emailaddress>, relay=mx00.1and1.co.uk[212.227.15.169]:25, delay=0.8, delays=0.04/0.02/0.62/0.12, dsn=4.0.0, status=deferred (host mx00.1and1.co.uk[212.227.15.169] said: 421 invalid sender domain 'xxxxmyserver' (misconfigured dns?) (in reply to RCPT TO command))
View 1 Replies
View Related
Feb 8, 2011
I'm experimenting with with mail-servers now and I'm trying to configure postfix to send emails from one email(pop3 is gmail) to any email outside the local network. Server is Ubuntu 10.10 with the last updates.
View 1 Replies
View Related
Nov 29, 2010
Here I've sort a problem, dealing with swatch.I wonder why my swatch configuration can't sending an email notification to my mail, which I mean to sent the output file into email.Swatch running like a charm on my system and success to give the log files for the file that swatch monitoring..here's my output
Code:
root@ubuntusecurity:/home/andrewraharjo# swatch -c /root/.swatchrc -t /var/log/auth.log
*** swatch version 3.2.3 (pid:6773) started at Mon Nov 29 19:33:39 WIT 2010
[code]....
View 5 Replies
View Related
Jul 29, 2009
I have 2 clients (one IP 200.x.y.52 and another 200.x.y.47) in ADSL conection and a same gateway (200.x.y.1).
When the server send an email, the error "No route to host" appear. I used TELNET 200.x.y.52 25 (110 soo) and the error occurr in both servers and both directions. The Firewall was disabled .
View 3 Replies
View Related
Oct 29, 2010
I want allow a local domain (domain.com) to send email ONLY locally, and I don't allow domain.com to send email to remote email (externally) . How to configure exim to do this ?
View 1 Replies
View Related
May 3, 2011
A question that I've asked myself (and google) many times but never got to an answer.Scenario:ServerA) postfix Primary MXServerB) postfix Backup MXAccording to the rfc a source mailserver can decide where to send email e.g.send an email to backup even is primary is reachable up and running.So my questions are: 1) how do I (live I mean) replicate messages arrived on any server to the other?2) How do I synchronise sent messages, message deletion, folder creation/deletion.Imapsync goes half way towards the solution but it needs to be run manually one off and you must specify source and destination.All I wanted really is a user to be able to use either server without having to worry about primary/secondary or what so ever.
View 4 Replies
View Related
Jun 3, 2009
I'm not trying to setup a email server. ;) Firewall is set to disabled. SELinux is set to disabled.. How can i configure (which file?) the server to be able to send email out? When I try "mail -s testmail myemail@[URL]" and enter some text and then CTRL+D.. and return, I get command prompt again..
[Code]...
View 3 Replies
View Related
Oct 15, 2010
I have installed Joomla on an Ubuntu 10.04 Server pc. The Ubuntu server is connected to my Novell NetWare network via static IP. I need the Ubuntu server to send mail to my mail server through smtp, my entire network has static IP's. The Ubuntu server does not need to receive mail only send, I have found that I could try use sendmail, postfix or exim4. I tried Exim4 but I am battling with the setup. For my situation what would be the best to use? What config's are most important to set?
View 2 Replies
View Related
May 25, 2010
I'm trying to set up a basic smtp server on my local computer that I can send basic, unencrypted email through on port 25. I installed postfix, and I chose the following options:
Internet Site,
System Mail Name: localhost
Root and postmaster mail recipient: I left this blank
For other domains to accept mail, I entered : NONE, localhost
No force synchronous mail updates
Local networks: 127.0.0.0/8
[Code].....
View 2 Replies
View Related
Mar 4, 2011
I'm trying to configure postfix so smart daemon can send out notifications emails. My system will need to send emails to a mail server that is on the same local network. I have not had much luck in getting this to work, and am confused on what I need to setup to do this and how to set it up. Does my system need to be apart of the same domain as the mail server? If so, how do I do this? Is there any restrictions sending emails from the command line as the root user? Do I need to configure a relayhost?
Basically all I need to do is send emails to a local mail server, i.e. a mail server on the same local network. I do not need to receive emails. I am rather clueless as to how to set this all up, and what I need for this basic email functionality. I have read and tried many postfix configuration tutorials, but when I try to send out a test email to a email address on the local network mail server I always get "Connection refused" to the server and deferred or bounced status on my test email.
View 2 Replies
View Related
May 7, 2010
I'm trying to write a script that will continuously ping a server and then send out an email when the server is down, and then when it is back up. Then, continuing with monitoring. I would like to not run this in cron, because I don't want to script to run with multiple instances.
For example,
Ping a server every minute.
-If successful, do nothing.
-If failed to ping, then send out email stating that server is down.
-Once ping is successful, then send out email stating that server is up.
I only want it to send an email once after a failure, so the end user isn't get an email every minute that it fails. Once it is successful, then send the email (one time), stating that the server is up. Then, continue to ping and if fails again, repeat the process.
View 4 Replies
View Related
Mar 22, 2011
My company email server has been working flawlessly for the last 5+ years. Recently, one of our clients put their email server behind a firewall (an assumption on my part; details below). Ever since, email sent from within the company (192.168.xxx.xxx internal address; all computers and server is behind a NAT firewall [Netgear FVX538]) is either being sent to the client after some delay (if email is sent using Outlook) or is being deferred until the messages expire (Thunderbird, Squirrelmail, etc.). Email sent to the client from anywhere outside the company (using Thunderbird, Outlook or any other email client) is also delivered without any problems (usually after a short delay).
All other emails to the World are being sent without any problems at all (both inside and outside the company; using any email client or webmail). I did contact the client's postmaster, but the client, being a large government agency, will probably not address the problem (if it is on their side) anytime soon. I am not sure if I can do anything from my end to solve the problem. Ever since the problem with the client began, I added two statements to the postfix configuration file (smtp_pix_workaround_delay_time = 20s and smtp_pix_workaround_threshold_time = 0s); this seemed to a bit - it reduced the delay for emails sent via Outlook to a few minutes (as opposed to 30+ minutes); emails sent using Thunderbird/webmail are still being deferred.
Server details: Dual quad-core processor machine, 32 GB RAM, dual 1 gbps network, running Fedora 14 (64-bit; loosely modeled along the lines of Perfect Server (with ISPConfig2) as described on the howtoforge website). Running Postfix (v. 2.7.1), Dovecot (v. 2.0.9).
Postfix details:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/mbl-body-deny
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
[code]....
I emailed the client's postmaster suggesting they disable smtp fixup. But still, what bothers me now is that Outlook works (both within and outside the company) while Thunderbird, webmail, etc. (used by ~90% of the users) do not. In addition, all email clients from outside the company can send email (authenticated via the company server) to the client without any problems. Is there anything I can do on my end to make non-Outlook clients work within the company (webmail is hosted on the company server; so, it would have an internal address as well)?
View 3 Replies
View Related
Dec 7, 2010
I just set up a new email server on Debian Lenny. It's Postfix for MTA and Dovecot for IMAPS server. I use Dovecot for authentication. I have two UNIX users on the system (except root), one was added before the installation of Postfix and Dovecot. I'm not doing any virtual things, just plain UNIX users and one domain on a dynamic IP. The first user, "webadmin" can send and receive emails just fine through the server from my mail client.
Now I just added a new user, "scarleo", and it turns out I'm unable to send and receive emails with this account. If I log in (SSH) with scarleo I can use bash mail to send emails, works fine. scarleo can also receive emails from webadmin and can connect to Dovecot to read emails. However scarleo cannot send or receive to or from anyone outside the server from my mail client. I have restarted both Postfix and Dovecot after adding the user. Do I have to do something else to make this account work like webadmin's?
A few relevant lines from mail.log: (I've modded my real IP)
Code:
Dec 7 17:44:42 homer dovecot: imap-login: Login: user=<scarleo>, method=PLAIN, rip=96.136.112.229, lip=192.168.0.18, TLS
Dec 7 17:44:42 homer dovecot: imap-login: Login: user=<webadmin>, method=PLAIN, rip=96.136.112.229, lip=192.168.0.18, TLS
Dec 7 17:45:16 homer postfix/smtpd[5915]: connect from bredband.comhem.se[96.136.112.229] .....
View 4 Replies
View Related
Dec 27, 2009
I have a CentOS 5.4 nas box that I want to monitor.
I believe I can setup mdadm to mail me when there are issues by addin the following line to /etc/mdadm.cong Quote:MAILADDR root
View 1 Replies
View Related
Mar 4, 2010
i have a small issue, to make our network more secure, i now require outgoing email to require authentication. Now the problem..i have a automated mailer that does not have the option to authenticate. is there a way to allow a certain email address or the local network to send out without authentication? If i cannot do this for a single email user to allow them through with authentication, how would i remove the authentication paramaters in the postfix smtp..
View 2 Replies
View Related
Jul 26, 2010
In my Windows environment, I use email client such as Microsoft Outlook to connect to our email server to send email with the following configuration:
Incoming server (POP3): 995 - (requires with SSL)
Outgoing server (SMTP): 465 - (use encrypted connection SSL)
[code]....
And the mail server requires user ID login and password.how do I setup a text command based email client in my Linux (Centos 5.1) to send out email through the existing email server above, which is in another machine? The email client has to be text command based because I need to use command line to send notification email from anothar application installed in my Linux (Centos 5.1) Since the email client will only be used to send email notification, I don't require setting up of an email server in my linux.
View 2 Replies
View Related
Feb 23, 2010
I'm attempting to send email used a textbook PHP application. The application fails to send an email.Do I need to setup an email server to get the ap to work?Right now, I'm getting email through Kontact via my web host, Yahoo mail and Google mail.
View 2 Replies
View Related