Ubuntu Networking :: Configuring Postfix Send And Receive Across Ethernet
Sep 27, 2010
I am would like to configure postfix to send and receive email across Ethernet (just for now). I have two machines with postfix installed both using Ubuntu 10.04 directly connected with an ethernet cable. I have successfully configured a machine to send email to gmail, however i have been unsuccessful in having these machines send email back and forth. I have been interested in setting up a little mail server at home and have just been trying some simple projects with postfix to start with. At this moment i am using ip addresses and am not concerned with using a dns server
machine A: has a fixed ip of 10.137.202.1, hostname = mail.me.com,
machine B: has a fixed ip of 10.137.202.20, hostname = mail.ubuntu.com
in the /etc/hosts file I map each hostname to ip address receptively (not sure if a good idea, but at this point I have been trying everything)
So I will execute from Machine B
echo "Here is a message" | mail -s 'Hello' cmd@[10.137.202.1]
I currently get from mail.log timed out while receiving the initial server greeting. I get from mail.err valid hostname or network address required in server description #[10.137.202.1]. Obviously when I run the mail command from cmd user i do not receive anything. I can receive mail from myself if from machine A, I sent an email using the command above. I would just like to send email from machine B and receive it on machine A via direct Ethernet connection. I have been through postfix documentation and have also read the postfix definitive guide and have had no luck.
Here is a recent main.cf as I have tried getting this to work (this is for machine A however, similar for B)
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname .....
View 2 Replies
ADVERTISEMENT
Apr 25, 2009
I have configured Postfix on a Ubuntu 8.04 box using this tutorial:I can send emails but I cannot receive any email because of a "bad recipient address syntax:"The log from /var/log/mail.info says this:
Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root>
Apr 25 14:46:06 360romania postfix/cleanup[32402]: 74A682190661: message-
[code]...
View 9 Replies
View Related
May 3, 2011
I used this tutorial to setup to setup iSpconfig postfix courier: [URL] but i cannot send or receive email:
[Code]....
Basically when i create users in ISPconfig, something goes wrong, mysql is running and i have postfix-mysql installed and running too.
[Code]...
View 2 Replies
View Related
Apr 18, 2011
nstalled Postfix + Dovecot + Roundcube on a plain CentOS 5.5 box, let say on "site.com".I cant send or receive emails. When I try to telnet from both localhost and from the outside world, it can not reach the mail server.Testing itself on port 25:
Code:
[root@srv-estudio:~]telnet mail.site.com 25
Trying 200.40.xx.xx..
[code]...
View 4 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
Sep 28, 2010
I'm trying to configure postfix to send e-mails but it is not receiving requests from networks different from its localnet (192.168.1.0/24). Iptables is like this:
Code:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 10.0.0.0/8 anywhere
ACCEPT all -- localnet/24 anywhere
ACCEPT udp -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
A part of main.cf is like this:
Code:
biff = no
append_dot_mydomain = no
delay_warning_time = 4h .....
View 1 Replies
View Related
Jun 30, 2011
I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp[10725]: 2FD9322015BF: to=<myemail@gmail.com>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]:25: Connection timed out)
This is my main.cf:
[Code]...
View 6 Replies
View Related
Apr 24, 2010
I am using ubuntu 9.04. I have configured Evolution on my laptop, but it is not working.
View 1 Replies
View Related
Aug 27, 2010
I need to receive a number of raw ethernet packets (say, 100 packets) into a user-mode accessible buffer large enough to hold all the packets. The way I have done this so far is by looping over the recvfrom() system call 100 times, passing an incremented pointer addressing the location in my buffer to store the packet. Is there a way to receive the 100 packets into my buffer with one system call, perhaps by instructing the kernel to DMA the 100 packets into my buffer?
View 1 Replies
View Related
Apr 26, 2011
I created a new account on laposte.net.
This account can receive messages but cannot send any from Thunderbird.
[url]
View 1 Replies
View Related
Sep 25, 2010
is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..
View 1 Replies
View Related
Nov 3, 2010
I am using 3 machines in a LAN connected through a hub. My intention is to have a end-to-end connection between 2 machines so that I can control delay/loss rate. For that purpose, I am using a 3rd machine with 2 NIC and intend to use a bridge and installing Dummynet in this machine to control the traffic between the other 2 machines.I have successfully installed Dummynet in the bridge machine. Now I require to configure Ethernet bridge in the machine. What is the process? Do I need a kernel compilation or can be done without it? read somewhere that recent kernels can be configured without recompilation.I am using Mandriva 2010 with 2.6.31.5-desktop-1mnb kernel.
View 1 Replies
View Related
Apr 16, 2010
I have a system with one (sometimes two) ethernet ports, that works happily in an old Fedora 5 build. But I can't get it to work on a new Centos 5.4 build. Original system: One dedicated ethernet port on card always connected to the systems dedicated equipment and no external access (the system is the DHCP master for that network). An optional second USB dongle that is a second ethernet port, used for debugging and development. (This is a DHCP client with full conectivity. In /etc/sysconfig/network-scripts I have ifcfg-eth0, ifcfg-eth1 and a route-eth0. Neither of the ifcfg files needs an explicit HWADDR, which means the same ones work for all boxes. And when one needs to be connected to the network all is fine.
The system is being moved to Centos 5.4, most is working with minimal change, but I am having problems with the ethernet ports. If it only has the on board ethernet connected, all is fine. If you have the USB dongle connected things go wrong: This system brings up the USB ethernet first, and tries to assign it to eth0 (which fails), and then brings up the on board ethernet as eth1 (which also fails). I have tried forcing the behaviour of the network by setting the HWADDR(s), but this does not result in the on board coming up as eth0, it comes up as __tmpxxxx as follows:
ifconfig -a
__tmp226406138 Link encap:Ethernet HWaddr 00:80:66:07:A8:63
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
[Code]...
Currently the only solution is to unplug the USB dongle through restart and plug in afterwards, and this wont work when the unit is remote and in the field.
View 14 Replies
View Related
Jul 31, 2010
I have a Dell laptop with a bcm4312 wireless card. Every once in a while though, the laptop is unable to send or receive any data for 30 seconds. The connection is not dropped, and nothing shows up in any system logs. Both the wl and b43 drivers have this problem, but it works fine under vista.
View 1 Replies
View Related
Mar 9, 2010
I'm kinda new to this, but is there any way to send out power-over-ethernet from the Ethernet port on my computer?
View 2 Replies
View Related
Mar 11, 2010
recently i configure postfix on my fedora core 9 system i want to send mail from one user to another till now i did not create any user, i just configure the main,cf file with the help of some link i found on internet
here is my main.cf file
# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README
[Code]...
i dont know what i should write about my main.cf file so i post the whole file here.
so can anyone tell me is that the configuration is correct and and how do i create new user to my domain name and how can i send and receive mails from one user to another user using postfix
View 118 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
Feb 14, 2010
I am connected to the internet with a Rogers Rocket Stick, when I want to check my mail in Evolution the "send and receive" tab is not highlighted. It was working yesterday when I was connected through wireless why is that and how do I fix it ?
I installed Ubunto remix on a Netbook but I can not connect my Laptop with ubuntu to my Netbook with ubuntu, both these computers are connected on the network, it asked for the password to be able to connect on both computers but I cant get the two to communicate with each other .... yesterday when I still had windows xp on my Netbook I had no problem connecting the two computers ...
View 5 Replies
View Related
Aug 21, 2010
on ubuntu 8.04 and evolution has stopped sending or receiving when click send/receive button. it flashes something but too fast to read. i have renamed mail folder but no go. i have checked settings but no go. i have reinstalled evoulution from synaptic but no go.
i think i have a corrupt file or something like that.
View 1 Replies
View Related
May 29, 2010
I was running Ubuntu 9.04, no problems. I did a new installation of 10.04 and could not send or receive mail (Thunderbird). Both would time out. tried two other mail programs to see if Thunderbird was the problem, but they did the same.So I did dual boot installation, with 9.04 and 10.04. The same: mail OK in 9.04 but not in 0.04. So that seemed to eliminate everything as a problem outside of my computer.One night I remembered that ipv6 could be a cause, and toggled it in Thunderbird. It has been an "almost". I can now receive but not send.For example, the bottom bar will say: "Connecting to smtp.edicionescc.com" and after a while time out.I can ping smtp.edicionescc.com with no problem
Jos鼯textarea></p>
<input type='hidden' name='ID[5]' value='74701' />
<input type='hidden' name='URL[5]' value='http://www.linuxquestions.org/questions/linux-
[code]...
View 1 Replies
View Related
Jul 30, 2010
I have lenny with postfix, countier-imap, squirrelmail installed i can send emails but i can not receive any emails.
View 6 Replies
View Related
Mar 10, 2011
I do not know why I could send email outside but not receive. I use relay to my ISP that port 25 is blocked by my ISP. What can I doing with configuration when it should be works to receive mail? Okay, I have sent a test e-mail between localhost and it works. I can send from mailserver to my gmail without problem. So why I cannot receive email from gmail?
View 2 Replies
View Related
May 28, 2010
I'm having trouble to send and receive e-mail using Thunderbird 3. When I tried setting up new account using the automatic configuration method,the result of scanning pop. and smtp. server returned 'none' with this orange circle. I assume it's the same problem that occurred when I first tried to install Evolution. But oddly,I manage to access the web-mail account provided by the ISP using the same information used to set-up Evolution and Thunderbird 3. Precisely I'm from Malaysia and the ISP is Streamyx.com. PC run on Ubuntu 9.10.And I've heard that the ISP is non-friendly of non standard e-mail applications.
View 4 Replies
View Related
Aug 30, 2010
I have a desktop that has been running Ubuntu for years. Finally I convinced my wife to get rid of windows XP and move to Lucid. I did a clean install of Lucid on her system writing over windows. After the install I installed Thunderbird using Synaptic Version 3.0.6 was installed on her system. On my desktop I am also running Thunderbird 3.0.6 We have several domains and mail servers on those domains.
They all use SMTP First, I installed the ISP email and that works perfectly. She can send and receive using our ISP's mail server. I then set up an email account in Thunderbird using the SMTP email server form one of our domains. She used to be able to send and receive from for one of our domains. She can receive email from that email server, but can not send (I can send and receive from the same domain using Thunderbird) Her SMTP and mine are set up identically:
Server Name: mail.[domain]
Port: 50
Username: [user]@[domain]
Secure Authentication: No
Connection Security: No
She is able to receive email but when she tries to send. the connection in Thunderbird either times out. or gives a password error. The password is correct, because we can use Firefox, and go to the pop and log in.Also, she can receive email direct on her computer and has to log in using her password. So I opened Terminal and tested using:
telnet mail.[domain] 50
I got
Trying [IP address]
Connected to mail.[domain]
Escape character is '^']'.
220 mail.[domain]
This leads me to believe something in Ubuntu is blocking her system from using Thunderbird to send emails through the email server. I've been at this for several days now. I did try totally un-installing Thunderbird using Synaptic. Then manually deleting the .Thunderbird file. Then doing a fresh install of Thunderbird using Synaptic. Still get the same results I am thinking that maybe App Armor is stopping this? Or perhaps some other security issue in Ubuntu like Linux Security Module? Otherwise the installation went flawlessly. We even got Skype working on the first try! Printers installed correctly and perfectly too.
View 8 Replies
View Related
Feb 10, 2011
Running Evolution 2.23.3.1 on a laptop with 8.04 installed. (Running 8.04 for good reasons - please don't query). I've been running perfectly for some time, but today when I booted up and opened Evolution to check my mail, the first sign of something odd was that it didn't ask me to unlock the keyring. Then I noticed that the send/receive was greyed out.
I rebooted several times with no change. I've clicked on Permissions in the File menu, but that doesn't then show any window, which is what I would expect, thinking that something has changed. Other than accepting all the usual update manager's recommended installs, nothing has changed on this laptop for several weeks.
View 2 Replies
View Related
Jul 8, 2011
I have tried setting up my hotmail account in evolution. I followed the steps from the following link: [URL] at the end it said click send receive, but the button is not enabled for me.
View 3 Replies
View Related
Apr 26, 2009
Ubuntu 8.04 workstation
Gnome desktop
What will be the easy way to send/receive fax via modem? Not hylafax, nor efax nor send2fax (the online fax).
View 2 Replies
View Related
Dec 3, 2010
I've set up both Postfix and Dovecot on my server. I can currently send mail via Outlook to Postfix over Port 587 (rather than Port 25), and receive mail from Dovecot on Outlook. However, the only mails I am able to receive are those originated from within the server itself. If I attempt to send an e-mail to the address my Outlook listens to, the mail will never reach my Outlook. In other words, no one on the Internet is able to send mail to me.
Can someone tell me:
1) If setting Postfix to listen over Port 587 for my Outlook to send mail outwards is preventing me to have Postfix to listen to mails coming from the Internet? Would I have to turn on both Ports 25 and 587 in /etc/postfix/master.cf?
2) I have configured my Postfix to use saslauthd by authenticating those who are on /etc/passwd. This means I can enter my Linux account details into Outlook in order to connect and download messages. However, does this mean other MTA servers on the Internet who doesn't know my account details are unable to authenticate with my Postfix server and send mails to it?
View 9 Replies
View Related
Jun 26, 2010
I am using postfix in conjunction with the ispCP Control Panel. Here's some of the recent entries in maillog, when I try to send an email from my gmail address to an email address on this server (I underlined the email addresses).
Code:
2010-06-26T17:57:43.581654-04:00 li136-183 postfix/smtpd[30721]: fatal: No server certs available. TLS can't be enabled
2010-06-26T17:57:43.838633-04:00 li136-183 postfix/smtpd[30710]: warning: connect to 127.0.0.1:12525: Connection refused
2010-06-26T17:57:43.838677-04:00 li136-183 postfix/smtpd[30710]: warning: problem talking to server 127.0.0.1:12525: Connection refused .....
View 3 Replies
View Related
Oct 7, 2010
Im running Ubuntu server 10.04 lts
Im trying to get postfix to receive mail from one address and pipe it to a PHP file for a help desk software called Trellis Desk.
They recommended that I use Cpanel but its not free and my boss is not willing to pay for it. I need a free solution.
I know my way around Linux but Im no professional
View 1 Replies
View Related