Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th December 2010, 16:01
essex essex is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Debian 64bits + Postfix + no-ip.org

Hello guys

Merry Xmas 2 u all

I have been searching a step by step postfix + no-ip.org example all over the internet and I can not find a single that goes to the end and works fine.

I am still optmistic that anyone in here could gimme some help.

Thanks a lot.
Reply With Quote
Sponsored Links
  #2  
Old 27th December 2010, 21:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What exactly do you want to achieve?

Please keep in mind that if you want to send from a dynamic IP, you should set up relaying: http://www.howtoforge.com/postfix_re...her_mailserver
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th December 2010, 00:19
essex13 essex13 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix emails --> Thunderbird or Outlook Express

Hi there, thank you for you assistence.

I just want to read these emails and to send others through "thunderbird" or "Outlook express" - send e receive emails. Thank you


Logs do postfix

# tail -f /var/log/mail.log
Dec 26 22:03:15 debian postfix/master[6708]: daemon started -- version 2.5.5, configuration /etc/postfix
Dec 26 22:03:27 debian pop3d: Connection, ip=[::ffff:127.0.0.1]
Dec 26 22:03:41 debian pop3d: LOGIN FAILED, user=usuario2, ip=[::ffff:127.0.0.1]
Dec 26 22:07:06 debian pop3d: Connection, ip=[::ffff:127.0.0.1]
Dec 26 22:07:19 debian pop3d: LOGIN FAILED, user=usuario2, ip=[::ffff:127.0.0.1]
Dec 26 22:08:54 debian pop3d: Connection, ip=[::ffff:127.0.0.1]
Dec 26 22:09:11 debian pop3d: LOGIN FAILED, user=usuario1, ip=[::ffff:127.0.0.1]
Dec 26 22:09:29 debian pop3d: LOGIN FAILED, user=conta, ip=[::ffff:127.0.0.1]
Dec 26 22:09:41 debian pop3d: LOGOUT, ip=[::ffff:127.0.0.1]
Dec 26 22:09:41 debian pop3d: Disconnected, ip=[::ffff:127.0.0.1]


# cat /home/usuario2/Maildir/new 1293417224.V804I3ca008M705366.debian

# cd /home/usuario2/Maildir/new

# cat /home/usuario2/Maildir/new/1293417224.V804I3ca008M705366.debian
Reply With Quote
  #4  
Old 29th December 2010, 15:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Try this guide: http://www.howtoforge.com/virtual-us...l-debian-lenny

But remember, as you are using dynamic IP addresses, to set up relaying. Also, you should get subdomains from dyndns.org or no-ip that you use for your email addresses (like user@sub.dyndns.org). The MX record must point to your public IP address.
If you use your own domains for your email addresses, you must change the MX record whenever your IP changes which will cause problems; therefore, get a subdomain from dyndns.org or no-ip.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 2nd January 2011, 14:49
essex13 essex13 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default no-ip.org + outlook express

Hi Falko,

Thanks a lot for your reply. Please take a look below at the configuration.

Perhaps u could gimme some hints.

Thanks again.

J.P.

================================================

ewbhome.no-ip.org

================================================

dns ( setup up ok )


dig ewbhome.no-ip.org

:
:
;; ADDITIONAL SECTION:
nf1.no-ip.com. 86397 IN A 204.16.252.8
nf2.no-ip.com. 86397 IN A 69.72.255.8
nf3.no-ip.com. 86397 IN A 69.65.40.108
nf4.no-ip.com. 3597 IN A 69.65.5.122

;; Query time: 0 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sun Jan 2 11:40:35 2011
;; MSG SIZE rcvd: 196


=================================================

# ifconfig eth0

eth0 Link encap:Ethernet HWaddr 90:e6:ba:dc:02:8b
inet addr:192.168.100.70 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::92e6:baff:fedc:28b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:188655 errors:0 dropped:0 overruns:0 frame:0
TX packets:205870 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:45632660 (43.5 MiB) TX bytes:29160688 (27.8 MiB)
Interrupt:252 Base address:0xc000

# ifconfig eth1

eth1 Link encap:Ethernet HWaddr 00:e0:7d:eb:fa:6d
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:7dff:feeb:fa6d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:200794 errors:0 dropped:0 overruns:0 frame:0
TX packets:177838 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28036125 (26.7 MiB) TX bytes:29427450 (28.0 MiB)
Interrupt:19 Base address:0xec00

=================================================

# route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.100.1 0.0.0.0 UG 0 0 0 eth0

=================================================

# nano /etc/network/interfaces

# -----------------[ begin: interfaces file ]----------------------------------------------
auto lo
iface lo inet loopback
allow-hotplug eth0

iface eth0 inet static
address 192.168.100.70 # TPA ip ( provedor local )
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.100.255
gateway 192.168.100.1 # TPA gateway
dns-search ewb
#----------------------------------------------------------
allow-hotplug eth1
iface eth1 inet static
address 192.168.2.1 # any ip
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
dns-nameservers 192.168.2.1 # any ip

# -----------------[ end: interfaces file ]----------------------------------------------

=================================================

===[ eth0 ]===

ifonfig eth0 up
ifconfig eth0 192.168.100.70 255.255.255.0
route add deafult gw 192.168.100.1


# nano /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.6.6


===[ eth1 ]===

ifonfig eth1 up
ifconfig eth1 192.168.2.1 netmask 255.255.255.0

echo 1 >/proc/sys/net/ipv4_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE


eth1 plugar no meu notebook
ifconfig eth1 192.168.2.1 netmask 255.255.255.0

route add deafult gw 192.168.100.1

==============================================

# nano /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.6.6

=============================================

# nano /etc/apt/sources.list

# My notes
# nano /etc/apt/sources.list

#---[ begin: sources.list ]-------------------------------------------------

deb http://debian.pop-sc.rnp.br/debian/ lenny main
deb-src http://debian.pop-sc.rnp.br/debian/ lenny main
deb-src http://security.debian.org/ lenny/updates main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
#---[ end ]---------------------------------------------------------------------


ping ewbhome.no-ip.org

PING ewbhome.no-ip.org (187.85.174.7) 56(84) bytes of data.
64 bytes from wldin174-07.tpa.net.br (187.85.174.7): icmp_seq=1 ttl=64 time=0.554 ms
64 bytes from wldin174-07.tpa.net.br (187.85.174.7): icmp_seq=2 ttl=64 time=0.588 ms
64 bytes from wldin174-07.tpa.net.br (187.85.174.7): icmp_seq=3 ttl=64 time=0.569 ms
Reply With Quote
  #6  
Old 8th January 2011, 17:01
essex13 essex13 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hi

Hi

Any tip, please.

Thanks
Reply With Quote
  #7  
Old 17th January 2011, 02:05
essex13 essex13 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello there


As there is no answer... do me a favor please...

"erase my post"


Tks
Reply With Quote
  #8  
Old 19th January 2011, 14:54
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 90 Times in 68 Posts
 
Default

You don't have MX record for your domain. Set it in the no-ip panel.

Cheers!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail authentication failure - unknown user or password evok Installation/Configuration 9 16th October 2010 06:37
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 03:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.