General :: Logwatch Configure To Use SSH Tunnel Into Mail Server To Send Log Reports
Feb 28, 2011
We have following setup,
1. Webserver (Centos 5.5)
2. Mail server (Centos 5.5)
We have configured autossh successfully to create/manage the ssh tunnel into mail server in order to dump all emails to localhost port.
To auto start autossh in boot time we have included following into /etc/rc.d/rc.local,
Quote:
So whenever our web application wants to send out emails it dump all emails to localhost:33465 port, easy piecy, all are working great
Now we have a requirement that logwatch reports should get delivered via the same ssh tunnel rather than installing postfix and configuring as a relay.
In logwatch is there a way to achieve that?
View 4 Replies
ADVERTISEMENT
Nov 19, 2010
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.
[Code]....
View 9 Replies
View Related
Mar 19, 2010
I have to configure sendmail to send messages and receiving any mails on a Red hat 7.3 linux server. Can anyone have an idea how to configure sendmail?
View 2 Replies
View Related
Apr 13, 2010
I want to configure Postfix mail server to send bulk mails to others domains only but they could not send to me. steps to configure Postfix to send bulk mails and what packages required for it.
View 2 Replies
View Related
Mar 16, 2011
How do i configure my linux machine to send mail. I have two server out of which one is configured to send mails. However The other is still not sending mails .I have installed sendmail rpms and modified
sendmail.mc file to include following parameter.
[Code]...
View 4 Replies
View Related
Jun 8, 2011
How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.
View 3 Replies
View Related
Apr 10, 2010
I've installed Logwatch 7.3.6 via the rpm on my CentOS 5.4 server. The issue is I'm getting basically empty reports from logwatch. The only two sections which have any information are samba and diskspace.
The only default options in the config file I've modified are: Code: print = No output = html I'm suspecting the issue has to do with the fact that the as-logged host name doesn't match my current host name. However, I've tried manually changing this on a few entries so they match but they didn't show up in the report. According to the config file, the default for option HostLimit is "No" -- so Logwatch should not care what hostname it sees in a log file, right?
View 1 Replies
View Related
Aug 31, 2010
When I installed Cent before I got my logwatch messages sent to me. for somreason this new server I built I am not getting them. can mail off the server and there is no mail in the Q or in root. I also put in a .forward file in my root to mail to my external account and it works fine. I get mail from fail2ban and denyhosts but not the logwatch.Thoughts on what I could be missing? I check the link and the files are all there. I changed the config file to give me a High level of detail. Thats about it. If I use the command line for logwatch it sends mail fine. logwatch --detail high --logfile messages --mailto yourname@domain.com
View 6 Replies
View Related
Nov 4, 2009
My ISP blocks outgoing email if it does not login properly with a valid account. I successfully configured sendmail to use SMART_HOST and confAUTH_OPTIONS with confAUTH_MECHANISM set to LOGIN PLAIN.
It successfully sends email because I tested it with evolution sending through 127.0.0.1, but I need to specify myacount@mydomain.com as the email address for root.
But it doesn't work for logwatch because it sends as from root@localhost.localdomain, and my ISP's smtp server rejects it. The message I get back in root@localhost account is the following:
----- Transcript of session follows -----
... while talking to smtp.mydomain.com.:
>>> MAIL From:<root@localhost.localdomain> SIZE=581 AUTH=<>
<<< 550 5.7.1 Client does not have permissions to send as this sender
554 5.0.0 Service unavailable
I thought that I should masquerade all emails from this domain, so I configured sendmail as specified in [1] section "24.3.1.4. Masquerading", but it doesn't work. It seems that masquerading in sendmail is broken or something is wrong in the documentation.
[1] [URL]
I have sendmail 8.13.8-2 and centos-release-5-4.el5.centos.1.
Is there a way to specify the "From:myacount@mydomain.com" in logwatch ? or Is there a way to make it work the masquerading in sendmail so I can masquerade everything as coming from a specific account?
View 4 Replies
View Related
Jan 9, 2011
I am trying to configure mutt to send email via command line . It works fine when I configure it for gmail as follows:Quote:
# SENDING MAIL
set copy=yes
set smtp_url = "smtp://mymail@smtp.gmail.com:587/"
[code]...
View 14 Replies
View Related
Oct 13, 2009
Is their a more secure way to handle logwatch reports, rather than using email?
View 5 Replies
View Related
Apr 8, 2010
How long normaly keep the mail server send mails on the outbox queue and try to send? What about hotmail, gmx and gmail mail server?
View 1 Replies
View Related
Aug 11, 2009
I am receving emails from logwatch but when I setup my own mail script using mutt, the script succeeds but no email is received.Any ideas what the difference is between the two mail methods?
View 14 Replies
View Related
Feb 22, 2011
There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.
View 2 Replies
View Related
Jun 1, 2011
I have set up postfix and dovecot as per the Ubuntu anual and appear to have a functioning mail server.Using the sendmail command I can send mail and I receive mail in ~/Maildir. Using Thunderbird I can read any mails received but I can't send any mail from Thunderbird. I have tried with both STARTTLS and SSL/TLS and whilst I get the prompt for a password I keep getting the message my password for my server is wrong.I have ports 25, 465, 587 and 993. Is that all the right ports?When I ping my domain name it resolves to my router name whereas I believe it should resolve to my IP. Could there be a problem with my host file? I've had a play but to no avail.Here's the error in mail.log.
Code:
westwood@westwood-desktop:/etc$ tailf /var/log/mail.log
Jun 1 19:00:33 westwood-desktop postfix/smtpd[2376]: warning: localhost.localdomain[127.0.0.1]: SASL LOGIN
[code]....
View 2 Replies
View Related
Feb 15, 2010
i want to send mail from unix mail command to my yahoo-id with attachment, but i want to receive it as attachment.
View 1 Replies
View Related
Mar 30, 2011
i have an server which have my site on it, server have an public ip and site works fine..the thing that i done to enable mail server is :
1.select sendmail option as mail server(in joomla).
2.install and configure sendmail in server (which ubuntu installed on it )
**if i use my website locally mail server works fine i can send message and receive , but when i use web site from Internet mail server seems not working at all
View 1 Replies
View Related
Apr 22, 2010
i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
View 5 Replies
View Related
Apr 21, 2010
i'm trying to send a mail with "mail" on my cent os console , but without success. In Suse it's quite simple with "mail": mail -r sendersaddress@domain -s "subject" targetaddress@domain </tmp/filewithcontent
View 6 Replies
View Related
Jan 14, 2011
We host our own mail server on our Fedora box. We would like for our field people using there smart phones to be able to send and receive mail. Receiving is no problem but sending creates problems with relaying and port assignments. Is there any way sendmail can be configured to allow these mobile phone users (AT&T, Verizon) to send mail through our server?
View 1 Replies
View Related
Jan 13, 2011
I am trying to configure an application that requires to send mail notification on registration. But the application shows warning
Net::SMTP is installed in this environment, but {SMTP}{MAILHOST} is not defined, therefore the program listed at {MailProgram} will be used.
How to setup SMTP:MAILHOST
View 1 Replies
View Related
Jun 14, 2011
I want to configure a single mail server to send and receive mail from multiple sub domains of my domain. I've already installed Postfix/Dovecot and it is perfectly working for mydomain.com. And also installed roundcube for Web Mail. Can I further customize this setup to process mail to sub domains? ex- someone@subdomain1.mydomain.com, someone@subdomain2.mydomain.com, someone2@subdomain1.mydomain.com (someone@subdomain1.mydomain.com and someone@subdomain2.mydomain.com are 2 separate users. they should be able to log on to web interface separately)
Currently i use system account names as email user names. (ex - systemusername@mydomain.com). The only MX record in my domain DNS pointed to current server (mailhost.mydomain.com). I read about postfix virtual domains. but couldnt figure out how to use it to achive my target. I do not need configuration details. Just explain me the way to do it. I can do the rest my self.
View 1 Replies
View Related
Jan 20, 2010
How to communicate with an SMTP server with telnet, in order to send a mail?
telnet smtp.something.somewhere 53 Trying
10.xxx.xxx.xxx...
Connected to smtp.something.somewhere.
Escape character is '^]'.
And that is as far as I got. What do I have to do after?
What do I have to write after "HELO"?
View 3 Replies
View Related
Aug 1, 2010
Could someone check this for me? I tried to send mail to localhost (ubuntu server) but when i tried to view it in log file, it gave me this:
Code:
xanios@ubuntu:~$ tail -f /var/log/mail
tail: cannot open `/var/log/mail' for reading: No such file or directory
tail: no files remaining
in my /etc/postfix/main.cf:
Code:
myhostname = ubuntu
alias_maps = hash:/etc/aliases
[Code]...
View 1 Replies
View Related
Jul 5, 2010
I am willing to configure a mail and dns server now i am very blind and don't know from where to start please anyone can guide me..
View 5 Replies
View Related
May 21, 2010
I have a bit of problem setting up sendmail on my server. I've gotten so far that I can send mail from my mail server and relay mail from my LAN computers through it. Also, local delivery seems to be working.The problem is receiving mail from other domains. When I send mail from my gmail account to any user in my domain the mail gets delivered back to gmail as it exceeds the max hop count.The mail gets bounced between my ISP mailserver which I use as smart host and between my server.The problem seems to be that my mail server won't accept any mail it is supposed to receive.
View 8 Replies
View Related
Aug 6, 2010
Two exchange servers internally. One is setup for example.com (192.168.1.10) and the other is setup for example2.com (192.168.1.20) Both are behind a single public IP.
I want to use postfix to sit in front of the two exchange servers. Postfix will accept mail for both domains and relay to the appropriate server. I have postfix installed with only defaults at this point.
View 2 Replies
View Related
Jul 20, 2011
I have got a nagios server running on my network, The configuration seems to be okay but each time there is a service alert notification, and an e-mail is sent to the contact group, Nagios continuously sends e-mail over and over again. Do anyone know of a way to set Nagios directives to only send one e-mail per alert without it flooding mail boxes.
View 3 Replies
View Related
Nov 15, 2010
I had configured sendmail on linux 5.2, Iam using public ip and my domain is registered[linuxforfreshers.info]. I am facing a issue that when I mail with the user sumit@linuxforfreshers.info then I am able to do it. But if somebody tries to send mail to the same user then it bounce backs. I had made the entry of domain in /etc/mail/local-host-name and also I put ok in /etc/mail/access.The mails are working properly with in LAN. But not able to work on WAN only I can send mail but not able to recieve mail.What else I need to do.
View 6 Replies
View Related
Feb 13, 2010
Planning to put a bugzilla server for bug reporting at our office. I have loaded and configured bugzilla on one of our machines running CentOS5.4. And there is another machine on CentOS5.4 that is running Zimbra community edition. Both are distinct machines. Zimbra is running fine and so is Bugzilla. I want bugzilla to use this Zimbra server to send mails so that I can use this internal mail server for my purpose.
This is the first time I am putting up bugzilla and have never worked on it but documentation helped. But I could not find any reference on how to do this?
View 1 Replies
View Related