Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th July 2006, 10:19
paulley paulley is offline
Member
 
Join Date: Feb 2006
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
Default got a problem with a email account

hi all

i have got this email account on my server and its setup like this :

sales@example.com salesuser

but theres a alias in postfix called sales that goes to postmaster then goes to root and for some reason its messing up the email, anything going to sales@example.com goes to root not salesuser which it is set has. But once i change the alias from postmaster to the salesuser then it works. I have tried deleting the alias but its seem like its fixed to that account and after deleting the alias the email fail to send from hotmail. Then i put the alias back in again and set to root , email for sales@example.com goes to root then i change the alias to salesuser and it starts woking any idea why this is happening


thanks

Last edited by paulley; 7th July 2006 at 00:39.
Reply With Quote
Sponsored Links
  #2  
Old 7th July 2006, 11:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Delete all salesuser entries from /etc/aliases, run
Code:
newaliases
and restart Postfix.
__________________
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 7th July 2006, 20:55
paulley paulley is offline
Member
 
Join Date: Feb 2006
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have deleted the salesuser unix account and deleted the entry in the /etc/aliases and run newaliases and restart postfix. Then i have put the created the salesuser unix account again and put the entry sales@example.com salesuser and postmap it and restarted postfix but its coming back a message from hotmail saying delivery to sales@example.com has failed like it was before but as soon has i create the alias sales > salesuser it works fine. also when looking in the other email unix accounts theres a non proper message saying dont detele but there aint one in the salesuser unix account?

thanks

Last edited by paulley; 7th July 2006 at 23:46.
Reply With Quote
  #4  
Old 8th July 2006, 00:54
platd platd is offline
Member
 
Join Date: Apr 2006
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think you need to read some documentation and figure out exactly what you are trying to do.
Then if you still have problems give the people here a clear description of what you want
Reply With Quote
  #5  
Old 8th July 2006, 01:25
paulley paulley is offline
Member
 
Join Date: Feb 2006
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i want it back has before eg:

virtusertable

sales@example.com salesuser

and so it doesnt keep on relaying on the alias to send the mail to the account in the virtusertable which it show do!

, since the alias come into it , its been messing about the email account. But why it is when you create a unix account for the first time it creates the non proper message say dont detele it this is a message from the mail system etc then when you detele the unix account and then create it again the message aint there. I guess thats why it aint send to that account becuase it has not got the non proper message.

Also the documentation does not say about this problem i am having, because i have looked!!!

Last edited by paulley; 8th July 2006 at 01:31.
Reply With Quote
  #6  
Old 8th July 2006, 13:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please post your /etc/aliases here.
__________________
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
  #7  
Old 8th July 2006, 14:39
paulley paulley is offline
Member
 
Join Date: Feb 2006
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
Default

#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#

# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root

# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amanda: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root

ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root

newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
www: webmaster
webmaster: root
noc: root
security: root
hostmaster: root
info: postmaster
marketing: postmaster
support: postmaster


# trap decode to catch security attacks
decode: root

# Person who should get root's mail
#root: marc
Reply With Quote
  #8  
Old 9th July 2006, 14:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

I don't see salesuser in there...
What's the output of
Code:
grep salesuser /etc/passwd
?
__________________
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
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 15:15
Salutatory Email for Clients and Phpmyadmin problem krishol Installation/Configuration 10 16th August 2007 07:00
Email aliases problem rosa hsiao General 12 21st September 2006 17:01
email problem mkrumov Installation/Configuration 2 5th March 2006 19:56
Receiving Email and Username Problem dstme General 20 16th November 2005 10:33


All times are GMT +2. The time now is 10:28.


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