LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2003, 03:45 PM   #1
depaul
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
aliases


Hello,

i want to create aliases for email
in the file aliases at the end i added
first.lastname: first.lastname@domain.com
i do newaliases
i send a test message to first.lastname@mydomain.com
the aliases is recipient is not receiving my note ...

any suggestion
 
Old 07-24-2003, 04:42 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Hi there!

Your question is a bit confusing, I'll try to reword it and see if it helps:
You have created a user. You want mail sent to another name to be recieved by this user. For example:
You have a user "carl". You want carl to recieve mail sent to your domain for 'webmaster'. To do this you will create an alias (how you create the alias is determined by your mail server (MTA) but I'll assume postfix since I love it ) so you will open up your /etc/aliases file and enter:
webmaster: carl
After you will need to run:
newaliases
And then reload postfix to make the change immediate:
postfix reload
You can also/instead run:
postalias
Which appears to be more "postfix oriented"? And from the look of the man page takes care of newaliases in the same keystroke and makes the changes happen more rapidly.

Cool
 
Old 07-24-2003, 07:59 AM   #3
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
sorry lets be clearer,

I added some aliases in my aliases file ... here is my example ...

x.y: xy@hotmail.com
w.z: w

i done the newaliases command to update the aliases database.

w is a local user the aliases w.z@mydomain.com is working fine but x.y@mydomain.com is not relaying to xy@hotmail.com...
if i send direcly to xy@hotmail.com its working ...

so the aliases to another domain is not relaying but if i send direcly to another domain it's working.

note: i am using redhat 9.0, sendmail with smtp and pop3s... firewall set to high.

Thanks

Last edited by depaul; 07-24-2003 at 01:05 PM.
 
Old 07-24-2003, 10:13 AM   #4
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
update
i found out that all aliases are working except hotmail.com ... Mystery ...
any suggestions

Last edited by depaul; 07-24-2003 at 01:06 PM.
 
Old 07-24-2003, 01:31 PM   #5
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by depaul
update
i found out that all aliases are working except hotmail.com ... Mystery ...
any suggestions
 
Old 07-24-2003, 01:59 PM   #6
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Any error messages from log files?
 
Old 07-24-2003, 02:06 PM   #7
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
i checked into maillog ... nothing
 
Old 07-24-2003, 04:50 PM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Email rarely disappears without leaving a clue. Have you tried telneting to port 25 and manually injecting an email to the address that gets rerouted to Hotmail?
 
Old 07-25-2003, 08:59 AM   #9
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
yes ... port 25 is not available ... outside my domain
 
Old 07-25-2003, 10:34 AM   #10
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
And what were the results when you tried to inject the email? What response did you get from sendmail? Please post the session.

Are you not accepting incoming mail from the Internet? I'm curious why port 25 is not available from outside your domain.

Last edited by stickman; 07-25-2003 at 10:35 AM.
 
Old 07-25-2003, 01:41 PM   #11
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
sorry i dont understand inject email ...
What do you mean by posting the session ?
maybe i did not enable internet acces to port 25 ... iptables or ... ???
 
Old 07-25-2003, 04:01 PM   #12
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Have you done anything similar to the following?
Code:
telnet your.mail.host 25
helo domain.com
mail from: me@domain.com
rcpt to: user@domain.com
data
Subject: test

test message!
.
This is a generic example. Substitute user and system names where appropriate.

Last edited by stickman; 07-25-2003 at 04:04 PM.
 
Old 07-25-2003, 10:36 PM   #13
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
How about doing something simpler first

> sendmail -v the_alias
this is the text of the test message
.

^ a period at beginning of the line followed only by <CarriageReturn>
 
Old 07-28-2003, 12:16 PM   #14
depaul
Member
 
Registered: Jul 2003
Posts: 88

Original Poster
Rep: Reputation: 15
hello ,
i tried telnet ip 25 ... no reply if i am not in my subnet ...
if i am in my subnet its working fine ...
 
Old 07-28-2003, 02:30 PM   #15
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Ok, so when you are on your subnet and you telnet to port 25 on the system, what happens what you attempt to send email to the user that get rerouted to Hotmail? When you say "working fine", does the email get to the Hotmail user when you send from inside your subnet?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Aliases Red Squirrel Linux - Software 2 05-10-2005 06:58 PM
Aliases SkyeFyre Fedora 8 03-18-2005 07:35 PM
aliases in C++ djgerbavore Programming 6 03-16-2005 08:35 PM
See aliases gubak Linux - Newbie 0 08-04-2004 06:13 AM
what aliases do you use most? m0rl0ck Linux - General 17 02-12-2003 01:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration