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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-23-2003, 03:45 PM
|
#1
|
Member
Registered: Jul 2003
Posts: 88
Rep:
|
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
|
|
|
07-24-2003, 04:42 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-24-2003, 07:59 AM
|
#3
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
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.
|
|
|
07-24-2003, 10:13 AM
|
#4
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
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.
|
|
|
07-24-2003, 01:31 PM
|
#5
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
Quote:
Originally posted by depaul
update
i found out that all aliases are working except hotmail.com ... Mystery ...
any suggestions
|
|
|
|
07-24-2003, 01:59 PM
|
#6
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Any error messages from log files?
|
|
|
07-24-2003, 02:06 PM
|
#7
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
i checked into maillog ... nothing
|
|
|
07-24-2003, 04:50 PM
|
#8
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
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?
|
|
|
07-25-2003, 08:59 AM
|
#9
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
yes ... port 25 is not available ... outside my domain
|
|
|
07-25-2003, 10:34 AM
|
#10
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
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.
|
|
|
07-25-2003, 01:41 PM
|
#11
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
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 ... ???
|
|
|
07-25-2003, 04:01 PM
|
#12
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
Have you done anything similar to the following?
This is a generic example. Substitute user and system names where appropriate.
Last edited by stickman; 07-25-2003 at 04:04 PM.
|
|
|
07-25-2003, 10:36 PM
|
#13
|
Member
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446
Rep:
|
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>
|
|
|
07-28-2003, 12:16 PM
|
#14
|
Member
Registered: Jul 2003
Posts: 88
Original Poster
Rep:
|
hello ,
i tried telnet ip 25 ... no reply if i am not in my subnet ...
if i am in my subnet its working fine ...
|
|
|
07-28-2003, 02:30 PM
|
#15
|
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 01:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|