Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Quick Question About Postfix
Termina
post May 27 2004, 02:33 PM
Post #1


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Everything works well so far (I can send mail to other users on my computer), and I have SquirrelMail set up.
(For Reference, here are some files off my computer)
http://www.unhandledexceptions.com/conf/dig.output
http://www.unhandledexceptions.com/conf/hosts
http://www.unhandledexceptions.com/conf/main.cf
http://www.unhandledexceptions.com/conf/network


Now, my domain is unhandledexceptions.com. My MX name is mail.unhandledexceptions.com

This is what I have in main.cf at the moment:
myhostname = mail.void.local
mydomain = void.local

My understanding is that I change it to:
myhostname = mail.unhandledexceptions.com
mydomain = unhandledexceptions.com

And then I could send/recieve mail from the world.

Now, would the email address people see (and send) to be username@unhandledexceptions.com?

Or would it be username@mail.unhandledexceptions.com

Also, do I need to edit hosts/network as well? Or can I leave that as is.


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Termina
post May 31 2004, 09:43 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Just bumping. happy.gif


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 1 2004, 07:44 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



termina ...

you would want to set your MX record so that it has:

mail.unhandledexceptions.com handles mail 1st for unhandledexceptions.com

then the dig output will look like this:

hughesjr.com. 300 IN MX 0 mail.hughesjr.com.

you have it set backwards ....

Also ... you can leave the hostname of the computer what it was so long as the $mydomain is correct

The $mydomain should be unhandledexceptions.com, then they people will send mail to user@unhandledexceptions.com

You also need an A record for mail.unhandledexceptions.com in the Address record section ... it needs to look just like your www A record ... except it is mail ... looks like that is already setup.


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Corey
post Jun 1 2004, 10:59 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



I have a quick question too, instead of starting a new thread, I just thought i'd tag it onto this one

I have my mail setup, and i can send and receive fine, however, when mail is sent by any user, it shows up on the receiving end as being from "username@host" instead of "username@domain"

ex. the host server is called eulogy, so when i send an email, it shows on the other end (to a gmail account) as "duende@eulogy" nothing more. Is postfix causing this, or something else? i'd like for the actual email address to show up.


Update: Nevermind, it wasn't a postfix problem, it was a squirrelmail problem. I tried sending an email from mutt and it came up fine. It was something in the squirrelmail config, so i got that fixed up now.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
Termina
post Jun 4 2004, 12:22 PM
Post #5


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Scratch that, sorry. For some reason I cannot send an email from my server to my email address I have with my ISP, but I was just able to send it to my hotmail address

Another Edit: I'm unable to send emails for some reason (not sure if it's a squirrel mail problem, or what), but if anyone has any suggestions, I'd appreciate it. happy.gif

Score! happy.gif


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 4 2004, 06:07 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



what does it say in your:

/var/log/maillog

about those e-mails?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Termina
post Jun 4 2004, 09:27 PM
Post #7


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Maillog was huge, so I just echo "" > maillog'd it. =D

I sent a mail from a wi.rr.com address, and hotmail.com address. Then I 'cat maillog', and I see this:

[root@void log]# cat maillog

Jun 4 21:33:52 void imapd[6207]: imap service init from 192.168.1.1
Jun 4 21:33:52 void imapd[6207]: Login user=will host=[192.168.1.1]
Jun 4 21:33:52 void imapd[6207]: Logout user=will host=[192.168.1.1]
Jun 4 21:33:52 void imapd[6208]: imap service init from 192.168.1.1
Jun 4 21:33:52 void imapd[6208]: Login user=will host=[192.168.1.1]
Jun 4 21:33:52 void imapd[6208]: Logout user=will host=[192.168.1.1]
Jun 4 21:33:53 void imapd[6209]: imap service init from 192.168.1.1
Jun 4 21:33:53 void imapd[6209]: Login user=will host=[192.168.1.1]
Jun 4 21:33:53 void imapd[6209]: Logout user=will host=[192.168.1.1]
Jun 4 21:33:55 void imapd[6210]: imap service init from 192.168.1.1
Jun 4 21:33:55 void imapd[6210]: Login user=will host=[192.168.1.1]
Jun 4 21:33:55 void imapd[6210]: Logout user=will host=[192.168.1.1]

I would assume that the mail isn't even trying to reach me, so here's my config.php (squirrelmail) and main.cf (postfix), and dig output files:

http://www.unhandledexceptions.com/conf


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Termina
post Jun 7 2004, 11:24 PM
Post #8


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



After some time, here's a (hopefully) more helpful maillog:

http://www.unhandledexceptions.com/maillog


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 10:36 PM