Ubuntu Servers :: Sent Out From Gmail Via SMTP
May 31, 2011
I run a 6.06.2 Dapper server for a not-for-profit, and have had a very simple email set-up working for a couple of years. Users have their email address set up on the server, and use a gmail account as webmail access/storage. Emails are downloaded via POP to users gmail accounts, and are sent out from gmail via SMTP to the server. Like I said, this has worked fine for ages, but in the last couple of days its all gone wrong.
The SMTP log I get for an email I tried to send from gmail is as follows:
[Code]...
View 3 Replies
ADVERTISEMENT
Mar 1, 2011
I recently created a webserver to host my website, using a Ubuntu 8.10 based system. (With some help from my experienced brother of course).I now want to create a mailserver to go along with my website. In setting up postfix to work with gmail smtp servers, I ran into a lot of permission errors.
View 2 Replies
View Related
Oct 28, 2010
I would like to send emails form my server using my gmail account.Does anybody know how to do it?
OS = OPENSUSE 11.3 server installation - NO GUI....
View 9 Replies
View Related
Feb 25, 2011
I 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 Related
Aug 27, 2010
In my home we have got an internet connection which is connected to desktop machine having two network cards. One card is connected to external internet and second is used for internal LAN.
We have installed a proxy on desktop machine so that we can connect to internet through proxy. So we are not able to telnet to smtp.gmail.com 587 from laptops of internal LAN laptop installed with ubuntu and fedora.
At the same time we are able to ping smtp.gmail.com from the desktop machine which is exposed to internet.
I want to automate email through shell script using smtp.gmail.com.
View 5 Replies
View Related
Apr 11, 2011
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 Related
Apr 19, 2010
It seems my sendmail (running in slackware 13.0) cannot send out emails correctly. I guess I need to tell it what is the smtp server to use. And, I heard, gmail's smtp server is available to use for this purpose. How to configure my sendmail this way?
View 14 Replies
View Related
Dec 29, 2010
# uname -a
Linux newserver 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 i686 i686 i386 GNU/Linux
The configuration file for mutt (.muttrc ) :
root@newserver ~]# cat .muttrc
set from = "kostas123@gmail.com"
set realname = "Kostas xxxxx"
set imap_user = "kostas123@gmail.com"
set imap_pass = "xxxxxxxxxx"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set smtp_url = "smtp://kostas123@smtp.gmail.com:587/"
set smtp_pass = "xxxxxxxxxx"
set move = no
set imap_keepalive = 900
root@newserver ~]# service sendmail status
sendmail (pid 6428) is running...
root@newserver ~]# mutt
Error in /root/.muttrc, line 8: header_cache: unknown variable
Error in /root/.muttrc, line 9: message_cachedir: unknown variable
Error in /root/.muttrc, line 11: smtp_url: unknown variable
Error in /root/.muttrc, line 12: smtp_pass: unknown variable
source: errors in /root/.muttrc
Press any key to continue...
Mutt can only read email's from my gmail account, but no emails can be send through gmail to the Internet. I need some guide for Mutt , don't know how to configure it , for sending emails via my gmail account. I tried many muttrc conf files from the Internet and even tried to configure my own muttrc file , but still no luck. My windows xp box ( Outlook Express ) is configured and works with gmail account , but I would like to explore the power of Linux.
View 3 Replies
View Related
Nov 28, 2010
Evolution works fine for receiving mail, but I cant send anything.When i hit "send/receive" itll receive but ask for smtp password every single time. My understanding is that the password is your email password, but it wont accept it.
View 4 Replies
View Related
Apr 27, 2011
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 Related
Feb 11, 2011
I'm trying to set up my postfix server to relay mail (via a php cms) using Gmail's smtp on my account, but for some reason, Gmail returns an error code that StartTLS must be sent first, my postfix main.cnf file can be found at pastebin, because of this forum's text length I cannot paste my postfix main.cnf file as can be seen I have everything set and configured for Gmail, but postfix (for some unseen reason) can not send StartTLS. [URL].
View 4 Replies
View Related
Jun 29, 2010
I'm trying to configure postfix on an ubuntu virtual machine to use gmail as a relay client. For the past two days I have been in and out of the logs, changing parameters and blindly following tutorials but I can't get anything to work properly. So far I've narrowed my problems down to tls connection establishing and a failure to authenticate, judging by the local emails I've received from "The mail system".
View 2 Replies
View Related
Sep 19, 2010
for like two weeks I have been trying to send email using evolution for some reason I always get the same Code: Could not connect to smtp.gmail.com: Input/output error
View 6 Replies
View Related
Jul 16, 2010
trying to setup smtp with gmail to send notification form my forum (phpbb3) actualy nothing work even mailx, does anyone have a tutorial to make this works
View 2 Replies
View Related
Feb 2, 2011
I 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)
View 3 Replies
View Related
Jun 25, 2011
I am trying to set up Mutt to use my Gmail account. I've followed this tutorial, and I've been able to use IMAP to download and view my messages, however, when I try to send a message I get a error message, "No authenticators available". I've tried using 587 and 465 for the smtp port. 465 results in Mutt freezing and only being closed with kill. Does anyone have any idea? Anyone currently using Mutt with Gmail without the issue's I'm experiencing?
Here is my .muttrc:
set from = "dagoss@gmail.com"
set realname = "David"
set imap_user = "dagoss@gmail.com"
set imap_pass = "mypassword"
set folder = "imaps://imap.gmail.com:993"
code....
View 10 Replies
View Related
Jun 13, 2011
I just bought a domain, let's say it's called example.com
I also have a gmail account, let's say it's: my.account@gmail.com
I want all email to master@example.com to forward to my.account@gmail.com, and likewise I want all e-mail from my.account@gmail.com to be from master@example.com, and have the reply-to also be master@example.com.
I guess the most pressing issue here is setting up some proxy to forward all my @example.com emails to my gmail. I've been looking through the forums and reading some tutorials, but none of them seem to do exactly what I'm looking for.
View 3 Replies
View Related
Apr 7, 2010
I've got a server running 9.10, and I'm having a few issues with SMTP. It's got Postfix and Dovecot installed, and eventually I'll add content filtering, but I need to get past this issue first.
I know there's a lot of posts out there for Postfix issues, but I haven'tbeen able to find one specific to my issue.
IMAP and POP3 work fine through SSL, and the server can send mail without any problems. That's all fine and dandy, but I need to utilize an e-mail client (like evolution or outlook). Everytime I set up a user in Evolution, the smtp connection times out, or is refused. I know it's not a firewall issue. Port 25 is open, as well as 465. So I should be able to connect through SSL. I want to be able to connect through SMTP using the same credentials as IMAP.
Here's my main.cf file:
Code:
myhostname = mail.adamwgay.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
[Code].....
everytime I get things rolling, this issue pops up. I don't know if it's something I'm setting up wrong in the client, or if it's a configuration error on my part in postfix.
I'm also having a bit of an issue with my aliases. I've basically got a lot of addresses going to root, then root going to the main user, but it's not actually delivering the mail to the main user. It sends it straight to root.
View 9 Replies
View Related
May 26, 2010
I have just built an internal postfix server for sending mail only, it's not accessible outside our network. I will be sending from our domain, Rewriting the from field to abc.com is turned on in the postfix config. A friend is telling me this will not work as they will do reverse lookups on our domain. What does this mean? Obviously the domain the email is sent from is a valid domain. If they do a lookup from the IP the mail came from it would be global crossing, our internet provider? These outbound emails are critical client reports, I want to make sure they are not seen as spam.
View 1 Replies
View Related
Nov 13, 2010
I have a server set up with a VPN (openVPN with DynDNS). My emails are located there and I can check them from home, office, where ever really, with different computers, no problem.However, due to restrictions of some ISPs I would have to change the SMTP server used, depending on where I am with my laptop.
Now, I thought about using the VPN to also tunnel the SMTP traffic through that. But how am I doing that?So far, when I'm connected to via VPN I simply have a local (from the server point of view) IP address to connect to my IMAP server. But how can I route the SMTP port 25 through the VPN?Is that possible to do, also in a way that I don't have to change anything depending on where I am, as in within the network of the server or outside? Since when I'm within the network the VPN obviously isn't connecting..
View 7 Replies
View Related
Jan 2, 2011
I am setting up an ubuntu server, in order to use it with Joomla.
Does someone knows if is possible to use PostFix as SMTP server for Joomla?
If does; would be necessary to install IMAP or POP3, Webmail etc if I just want to send automatics mails via Joomla.
View 3 Replies
View Related
Jan 26, 2010
I've search high and low.. does anyone know how to configure Postfix/Dovecot to use another SMTP server (i.e. smtp.comcast.net) as my ISP blocks port 25?
View 2 Replies
View Related
Jun 15, 2010
I am new to the Ubuntu Community and just starting to build my Ubuntu 10.04 Server. I am a novice in Ubuntu, though maybe not a full n00b any more
I travel around a lot with my laptop, (also Ubuntu 10.04). However, my ISP does not allow me to send email via their SMTP when I am not in their IP range.
Since I have this little server I am building, I thought it would be nice if I could have my own SMTP relay. The objectives would be simple:
- I do not need a mailbox or POP server (yet).
- I wish to send email from any place in the world. I can not use a filter on IP ranges or local networks only.
- If my server could do this, I just configure Evolution on my laptop to send mail to my home IP address, using some sort of authentication and/or security/encryption (whichever is easy to implement).
- My server then just forwards my mail to my ISP. Since the server is inside the IP range, it can be handled as usual.
I have been digging through several howto's and the ubuntu server guide, searching some forums etc. Even while I don't fully grasp the things explained, I can't get the idea that one of those is "Just what I need".
Even still, if there is some other service outside my own that can do this (a public SMTP relay maybe?) I would also be happy to consider as long as it is safe and does not "eavesdrop" on my messages.
View 3 Replies
View Related
Aug 18, 2010
I have setup my own home server . All the applications are working perfectly except one I can't send Emails. I check weda my smtp has any errors not welll I got this
Code:
SMTP -> FROM SERVER:
220 server1.example.com ESMTP Postfix (Ubuntu)
SMTP -> FROM SERVER:
[code]....
View 1 Replies
View Related
Feb 13, 2011
I've several webserver (ubuntu 10.10 x64) on which I would like to be able to send mail like newsletter.I don't need to recieve mail on these servers, I'm using google Apps for recieving mail for the hosted domains.There's sendmail installed by default on ubuntu server..Previoulsy I was using Exim4 configured to use gmail SMTP server to send technical mails (apticron, logwatch, cron mail), but it doesn't fit for newsletter type of mailing.On my tries, I've wanted to setup Exim4 (just for the sending part, no inbox, and not using gmail stmp) which result in:
sendmail marked a uninstalled but still there and working Exim4 complaining about not being able to bind the port 25.I've removed exim4 (/etc/init.d/exim4 were not deleted...)I've reinstalled sendmail.I got this warning on installof sendmail: /etc/mail/aliases: 5 aliases, longest 21 bytes, 91 bytes total
How do I restore a working sendmail? What do I need to do so that mail sent from these servers aren't marked as spam? (not considering the content of the mail, but the server that send the mail) I see that some company used some specialized company like "grosbill.emailingoptin.com for grosbill.com" Should I specialize one domain for all newsletter ?
View 4 Replies
View Related
Sep 1, 2011
I've running my mails from 3 domains on Google Apps for several time, but I think it's time to set up my own Mail-Server now. I have a vServer and want to migrate my existing mails after setting it up. Now I have 2 questions.
1. Which components do I need / do you prefer for a mail-server(imap, smpt, webinterface)?
2. How do I get all my existing Mails in there?
View 2 Replies
View Related
Jan 2, 2010
configuring my postfix server to send mail over smtps port 465. My ISP (as is the case with many ISPs), is blocking outbound SMTP, so I need to configure postfix to relay my mail out through my ISPs SMTP servers.
I was able to get it to work with gmail, which uses port 587, by using SASL: [URL] but that configuration is less than ideal as gmail drops the "reply to" address so when people receive my email, it looks like it's from gmail instead of from my server.
If I use my ISP SMTP servers as a relay the "reply to" address is not stripped, but the relay uses ssl over port 465 instead of TLS. According to the SASL readme:
Quote:
Postfix does not deliver mail via TCP port 465 (the obsolete "wrappermode" protocol). See TLS_README for a solution that uses the "stunnel" command.
I've looked at the TLS_README and can't figure out what I need to do. how to configure this?
View 7 Replies
View Related
Feb 7, 2011
I changed over to U-Verse which means I have a new router, gateway and IPs. Took some doing but everything is working on my server with one exception.Outgoing SMTP mail.I get CONNECTION TIMEOUT when ever something from inside my network tries to hit an SMTP server outside.Any computer within my network does a Telnet (hostname or IP) 25 and I get a time out.Port 25 is open on the router.
View 3 Replies
View Related
Sep 28, 2010
I want to allow all IPs to use my SMTP server running postfix. what should i write in mynetworks section?
View 4 Replies
View Related
Jun 29, 2011
I've tried googling this, and am having trouble finding something that doesn't end up being dizzying or confusing.
I was wondering if anybody could provide me with a concise, conclusive answer/guide.
I have a set of servers which require redundant SMTP relay. The first two of their SMTP relays are their own SMTP servers, and as such, are not dependable in the event that their network/servers go down. Their monitoring software runs on their machines as well, and uses the SMTP servers they themselves host.
I need to set up an external SMTP relay box that they can use to relay their monitoring alerts/admin notices in the case that their mailservers go down.
I have a company exchange server with pop/imap support @ my disposal but, unfortunately, that box runs Windows and does not permit any changes to services or additional software to add for the purposes of relaying clients.
So now, I need to create a dedicated linux box that can act as a relay to send email coming from the monitoring/admin/alert software in case their first two smtp servers have gone down.
View 6 Replies
View Related