Username : Date : Action : Comments [ close all ] |
|
|
|
javiermarcon : 30/12/02 11:13 PM : Incident created |
- Hello, I have 3 domains working perfectly with Apache, bind and ftp. How do I set up a mail server for those domains in the same machine? (pop3, smtp and webmail).
I already set up a MX entry in the bind configuration of each domain.
Thanks and happy new year for all.
|
|
|
|
Linegod_7611 : 31/12/02 02:56 AM : Reply received |
- Install the postfix, imap2001a and squirrelmail RPMS. imap2001a is pretty
straight forward (it provides both pop3 and imap, turn on whichever you want
to use). Postfix documentation can be found at http://www.postfix.org , you'll
want to look for the virtualhost documentation for multiple domains.
Squirrelmail requires imap, but most webmail packages do. Documentation can
be found at http://squirrelmail.sourceforge.net/
------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
javiermarcon : 03/01/03 11:14 PM : More info provided |
|
|
|
|
Linegod_7611 : 04/01/03 08:36 PM : Reply received |
- Add the users 'realuser' and 'anotheruser' (just examples) through
'K/Configuration/Other/Userdrake', and if you want them to only have mail
access, change their shell type to '/bin/false'. Then, in the virtualhost file, add
the 'realuser' account and the 'anotheruser'. ie:
------------
domain1.com virtual
domain2.com virtual
[email protected] realuser
[email protected] anotheruser
------------
Any mail sent to [email protected] will go to 'realuser', any mail sent to
[email protected] will go to 'anotheruser'. By default configuration,
mail sent to '[email protected]' and '[email protected]' will
automagically go to 'realuser' since it is a system account.
------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
javiermarcon : 05/01/03 05:01 AM : More info provided |
- Thanks.
Do I have to put this configurations in the file /etc/postfix/aliases?
How do I prevent if some other non-user wants to use my mail server to send spam (if is open relay or not)?
Thanks.
|
|
|
|
Linegod_7611 : 06/01/03 01:48 PM : Reply received |
- No. This would go in '/etc/postfix/virtualhost'. As I stated earlier, take a look
at the 'virtualhost' documentation at http://www.postfix.org.
By default, only users within the local domain can send email through your
system. Postfix is configured as a 'closed-relay' by default.
--------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
javiermarcon : 09/01/03 12:07 AM : More info provided |
- Thanks, but I put that information in /etc/postfix/virtualhost, and when I try to update the information with postmap virtualhost, it gives me this error:
postmap: fatal: unknown mail_owner configuration parameter value: postfix
How do I solve it?
Thanks.
|
|
|
|
Linegod_7611 : 12/01/03 07:15 PM : Reply received |
- Can you post the contents of '/etc/postfix/virtualhost'?
------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
javiermarcon : 15/01/03 10:50 PM : More info provided |
- Thanks, I added am user called servilink.com.ar and another user called lbmdesign.com.ar (both added with adduser and passwd).
This is the content of the file /etc/postfix/virtual:
servilink.com.ar virtual
lbmdesign.com.ar virtual
[email protected] servilink.com.ar
[email protected] lbmdesign.com.ar
I'm also attaching the file main.cf
|
|
Attachment
|
|
Linegod_7611 : 18/01/03 04:26 AM : Reply received |
- You say that the file is '/etc/postfix/virtual', so are you running the command,
from the '/etc/postfix' directory 'postmap virtual' or 'postmap virtualhost'?
------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
javiermarcon : 19/01/03 01:42 AM : More info provided |
- I run both commands. Also when I try to restart the service it gives me this:
[root@server root]# service postfix restart
/etc/init.d/postfix: gprintf: command not found
postfix
/etc/init.d/postfix: gprintf: command not found
newaliases: fatal: unknown mail_owner configuration parameter value: postfix
postmap: fatal: unknown mail_owner configuration parameter value: postfix
postmap: fatal: unknown mail_owner configuration parameter value: postfix
postmap: fatal: unknown mail_owner configuration parameter value: postfix
postmap: fatal: unknown mail_owner configuration parameter value: postfix
postmap: fatal: unknown mail_owner configuration parameter value: postfix
postfix
[root@server root]#
|
|
|
|
Linegod_7611 : 26/01/03 03:58 PM : Reply received |
- I'm still trying to determine the cause of the error: /etc/init.d/postfix:
gprintf: command not found
printf comes from sh-utils, but I'm unsure where gprintf comes from.
------
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
javiermarcon : 28/01/03 03:36 AM : Incident closed |
-
|
|
|