OpenSUSE Network :: How To Configure Smtp For Mail Command
Sep 29, 2010I'd like to use the mail command to send e-mails with some log files. Is there a way to configure the SMTP server from cli or to write the IP address into a file?
View 6 RepliesI'd like to use the mail command to send e-mails with some log files. Is there a way to configure the SMTP server from cli or to write the IP address into a file?
View 6 RepliesOn my opensuse 11.4 box (although I assume the version is irrelevant), I'm trying to figure out how to do something with the mail command. We have multiple smtp relay servers and sometimes I have to test to verify that mail is bouncing off of them successfully. On my laptop, in my main.cf file for postfix, I've got the relay server listed. But to test multiple servers, I have to change the main.cf, restart postfix, send message, and then repeat for each test.
I'm trying to figure out a way to specify the smtp relay on the command line. I've been playing with the -S option which is supposed to allow variables and one of the variables in the man page is 'smtp'. I've tried several different syntaxes but nothing seems to work.
The closest I've come is:
mail -S smtp 10.1.0.63 -s "test" user@email.com < main.cf
That syntax doesn't give me an error but it still routes the message off the smtp server listed in main.cf which is not 10.1.0.63.
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 RelatedI am installed Opensuse 11.2 and maked all configurations and installations for Mail Server Yast. ( Postfix, Ldap ) In ldapadmin what class objects i need insert to configure e-mail client ? I am choised for test suseMailAccess and in suseMailClient inserted my e-mail and what i insert in suseMailAction ? Anyhere know howto install and configure this service ?
View 5 Replies View RelatedI have a LAMP server and need a web page to send email messages. I could do it with my Win 2k server through my cable service but can't seem to get it to work here.
View 9 Replies View RelatedProbably because I don't know what to put in some of the fields.So; all I want to do is to run my own e-mail server for my business. The network is set up, the web server is running, but I'm having no end of trouble with YAST and the e-mail server.I have a single server running open suse 11.3 32 bit. It is attached to a modem/router. I have a static IP address for my registered domain. The server has a static IP address (192.168.1.8 in this case). My server is NOT running either a DHCP server nor a DNS server - there is no need, since there is nothing else on this box. It has only one network connection - eth0.
I'm trying to set up an e-mail server. I have been unable to get an 'advanced' implementation to work because all attempts to create a suitable server certificate fail. So for now I'll stick with a 'standard' set up.I don't know what I should put in such fields as 'outgoing mail server' (I've assumed I should use the FQDN of my server);I've no idea what 'masquerading' is for or what I should do with it;I don't know what I'm supposed to put in the 'outgoing mail server' in the 'authentication' section;I don't know what to put in the 'downloading' section;and I don't know what 'accept remote SMTP connections' does.I can get the server to start, but any attempt to retrieve e-mail from it ends in an authorisation failure - the syslog shows a sign-on attempt from my 'real' IP address and some form of numeric userid which cannot be found.So, if anyone can tell me what to put in YAST to make it work, I'd be a very happy chap.
Yes, I can telnet to 'my.server.my.domain' 25, so something must be right. But my Linux knowledge is not enough to get it working properly.
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]....
I have the 11.4 Gnome Distribution.everything is setup except my email sending.I have never been able to setup evolution correctly with gmail.I have followed the gmail settings of setting the smtp server to be smtp. gmail. com:465 and folowed the instructions here Evolution/FAQ - GNOME Live!to setup smtp.gmail.com with no port change.if there is no port specified the sending message window doesn't report an error it just hangs.
View 9 Replies View RelatedThis message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: xx@xx.com SMTP error from remote mail server after initial connection: host [URL] [ip address]: 50 Access denied...
View 4 Replies View RelatedI am running CentOS 5.5 and am trying to get Nagios to send out Emails.
After a bit of reading I have the following in my /etc/mail.rc file:
Code:
[root@linux ~]# cat /etc/mail.rc
set ask askcc append dot save crt
ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via
set smtp=172.29.1.76
You have new mail in /var/spool/mail/root
[root@linux ~]#
I have Nagios setup correctly and introduced an error to generate an Email but nothing has come through.I suppose I have two questions:
1. Is mail.rc setup correctly?
2. Can I test to see if mail.rc is working correctly?
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
xx@xx.com
SMTP error from remote mail server after initial connection: host [URL] [ip address]: 550 Access denied...
OpenSUSE version: 11.2 *and* 10.0 I am unable to send email. It appears I am being blocked by my ISP [URL]... A Wireshark trace shows ICMP type 3 Code 13 - "Administratively filtered". It's important to note that I don't know exactly when the problem started, because I seldom use my ISP email account, I use Yahoo web mail due to the "throwaway" nature if I get hit with spam. I only discovered the problem when testing the functionality of 11.2. I suspect the problem started several months ago: I restored openSUSE 10.0 and the problem exists there too. I wish I'd sent that last email via 10.0 before the upgrade.
The weird thing is that using Windows 2000 box I can get a successful connection using telnet (Telnet also fails on the openSUSE box.) It appears to me there is something in the Linux TCP stack that Teksavvy doesn't like. I am on dial up and I pointed this out to Teksavvy tech support, as I am probably the only person left on dialup and the reason no one else has reported the problem
Ok here's my setup :
SuSE 10.0 X86 32 acting as my internet gateway and firewall.
eth0 is my internal interface network 192.168.0.0/24 IP 192.168.0.254 dsl0 is my internet connection and is a single ip PtP connection to my ISP.
My internal network is masquaraded onto the external network.
I run an smtp server on my gateway box that I need to be accessable to both the internal and external networks.
However I want to prevent machines on the internal network from establishing connections to external smtp servers, but still alow them to connect to the smtp server on the gateway to send email.
NOTE I do not want to force attempts to connect to [URL] 25 to be re-directed to my internal server I just want to drop or reject the connection.
The firewall up until now has just been configured through YaST, but am not afraid to edit script files if needed
The reason for doing this it to prevent spambots from being able to send through my isp, I keep my own machines clean but sometimes get asked to disinfect machines for other people (family members etc), where I need to connect to the outside world to get updates/virus defs etc, but don't want them spamming from my network.
It seems I can't access smpt servers both from kmail and php. Kmail says
Code:
Sending failed:
smtp.gmail.com
The message will stay in the 'outbox' folder until you either fix the problem (e.g. a broken address) or remove the message from the 'outbox' folder.The following transport was used: ... I double checked my settings and they are correct. I can ping smtp.gmail.com. I can send emails using thunderbird on a windows box that is connected to the same network as I am.I also tried turning off the firewall through yast but no joy.
I reinstalled OpenSuSE because my hard drive filled up and i couldn't find what was taking up 30 GB of disk space. My SMTP and IMAP were working fine. Now, I can't telnet into smtp remotely and they no longer respond to my mail program.One last detail, I can send out mail to example, gmail.I can receive the mail at gmail but i can't send mail back because the imap and pop3 don't work.
View 3 Replies View Relatedhow to use Xampp and also how to configure mail agent in it
View 9 Replies View RelatedI have specified a particular IP in the php.ini configuration file to be used by the mail() function. However, there are exceptions when I want to use a different SMTP Server's IP to relay delivery of emails to External Domains. So, how to use SMTP Value in the mail() function. I think it has to be done in the Header Section of it...?
View 4 Replies View RelatedThe php mail form is designed using post function,normally the mails are not getting delivered without smtp authentication.So can someone say me on adding smtp authentication to php email form.
View 9 Replies View RelatedI want to send mails via gmail with php. I need to know how to configure main.cf, php.ini, postfix,smtp... and all what is necessary. I tried a lot but no results.
View 5 Replies View RelatedI have the following config with Postfix:
Quote:
But it keeps coming up with:
Quote:
Is there any reason from these configs as to why this should be occuring?
This was the guided step by step tutorial I followed: [url]
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]...
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.
After running Pine remotely to view some mail on the server, I can no longer access those emails remotely with Evolution or Outlook Express. I know the mail is still there on the server someplace, because it still appears in Pine's "INBOX" folder. But that is clearly not the same as the "Inbox" folder for that account which appears in Evolution and Outlook Express, which is now empty. How can I configure Evolution to re-access those emails?
View 9 Replies View RelatedI have installed and configured mutt with gmail with no issues, following this documentation.Mutt with Gmail/IMAP [CrunchBang Linux Wiki]
I can send emails from mutt, but now I need to send email using scripts.If I try to use mutt from cmd line I have the following error.
trst:~ # echo "TESTING MUTT AND GMAIL SMTP RELAY" | mutt -s "url"
SSL connection using TLSv1/SSLv3 (RC4-MD5)
Interactive SMTP authentication not supported
Could not send the message.
The OS version: OPEN SUSE 11.3 Server installation (NO-GUI)
Linux newbe, trying to setup mail. Imap no problem, SMTP keep getting connection refused. Credentials and login info to smtp server same as working on windows machine...
View 5 Replies View RelatedTrying to transfer to claws mail from kmail, I have problem in sending emails: It doesn't send email through one of my accounts (a university account) and says: An "error happened during SMTP session". My other university account works!
View 3 Replies View RelatedWe have one major problem in our dedicated online mail server. In this mail server both sendmail and qmail running for send and receive mails. In this server I can able to send mail to other domain like Gmail and yahoo its works fine. But I am not receiving any mails from other domains. And automatically I got telnet localhost 25 connections refused error. When I send mail from my webmail I got like this error Connection refused Server replied: 111 can't open SMTP stream. This is I got when I send mail from webmail. I am using centos 5.2 version.
View 2 Replies View RelatedInstalling PHPMailer v.5 (server running php5) with SMTP function. I have installed the main files in mail directory such as: # class.phpmailer.php: This is the main class file which contains the various email functions.# class.smtp.php: This additional class allows SMTP authentication.I don't think I need class.pop3.php as I'm sending mails server side (smtp)and should be accepted by most IP's pop3 servers.
All my mail functions work great with SMTP and I can send and receive. My problem is that my recipients only receive mail from admin@domain instead of "My Website Name" Sounds simple enough, I know and I have made adjustments to class.phpmailer.php and have inserted my specific mail attributes for my site such as mail address, mail from, smtp server, user/pass for smtp,etc.PHP Mailer v5.0 class.phpmailer.php is a very long script and I only found a couple of places to put the FROM address as follows:
PROPERTIES,
PUBLIC
/////////////////////////////////////////////////
/**
*
Email priority (1 = High, 3 = Normal, 5 = low).
[code]....
I am trying to configure sendmail to use GMail to send emails. I followed the instructions at[URL]lay-howto.html but it failed.After I was done with these instructions, I think I "cooked" sendmail... Can no longer configure it and it seems that I will have to start from scratch again...How to get sendmail to send emails using Gmail's SMTP server?
View 12 Replies View RelatedI'd like to have anything that tries to send mail locally on my machine (including crontab reports for instance) to be handled by my ISP's smtp server instead of my machine acting like it's own SMTP server. I've spent around 15 hours trying to figure out how to do this and I keep either getting into things that I don't understand, or hitting brick walls (for instance, I found nullmailer, but after installing it, it seemed like it would only work on Unix) Is there an application like nullmailer which I can use as my MTA to forward all internal mail to a different SMTP?
View 3 Replies View Related