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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 12th June 2009, 10:45
ignasigarcia ignasigarcia is offline
Join Date: May 2006
Posts: 39
Thanks: 5
Thanked 1 Time in 1 Post
Default /etc/postfix/aliases still not working. Please help!

Hi there! Hope someone can help me out with this becasuse I'm getting really desperate...

I have ISPC3 running on ubuntu 8.10. Everything's working great but local aliases, which are not processed at all. Postfix knows about the aliases file, with entries in main.cf:

alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases

These are the contents of /etc/postfix/aliases

postmaster: adminisp@otherdomainiannotherserver.ltd

If I send a message to postmaster@anyvirtualdomaininispc3.ltd I get this in the log:

NOQUEUE: reject: RCPT from externaldomain.ltd[]: 550 5.1.1 <postmaster@virtualdomaininispc3.ltd>: Recipient address rejected: User unknown in virtual mailbox table; from=<myaccount@externaldomain.ltd> to=<postmaster@virtualdomaininispc3.ltd> proto=ESMTP helo=<mailserver.externaldomain.ltd>

If I do add a malformed entry in /etc/postfix/aliases and run newaliases without any options I do get warnings/errors, so postfix IS looking at the right file.

On an opensuse server without ISPC3 (but with virtual users as well in a LDAP database), an aliases file such as this one in ubuntu works well.

Can anybody help me, please?


Reply With Quote
Sponsored Links
Old 12th June 2009, 11:44
rdv25772 rdv25772 is offline
Junior Member
Join Date: Apr 2009
Location: Deventer, The Netherlands
Posts: 26
Thanks: 2
Thanked 6 Times in 5 Posts

The aliases database is only used for the local server.

If your server is called server.mydomain.com an email send to postmaster@server.mydomain.com in your case will be forwarded to adminisp@otherdomainiannotherserver.ltd.

When you are sending an email to postmaster@anyvirtualdomaininispc3.ltd Postfix will not check the aliases database. You need to add the postmaster user to the virtual mailbox table of anyvirtualdomaininispc3.ltd. In that case you will be able to send it as you pleased.

What you were trying was to send an email to an unknown user in virtual mailbox table of the anyvirtualdomaininispc3.ltd domain. So the message is correct. Keep in mind that the aliases database is only for local use and not for a virtual mailbox.


Last edited by rdv25772; 12th June 2009 at 11:48. Reason: it is called virtual mailbox :(
Reply With Quote
The Following 2 Users Say Thank You to rdv25772 For This Useful Post:
ignasigarcia (12th June 2009), till (13th June 2009)


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
fail2ban not working linuxwannabe Installation/Configuration 1 25th January 2009 07:09
SPF doesn't seems to be working roshajai Installation/Configuration 4 28th November 2008 13:39
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 17:33
DNS stop working MZH General 3 22nd February 2008 12:10
ftp not working pesja Installation/Configuration 3 17th July 2006 13:37

All times are GMT +2. The time now is 05:23.

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