PDA

View Full Version : mail server setup question


paulley
6th June 2006, 13:05
hi all

i have followed the prefect fedora 4 setup and its work fine, what my question is say you have ispconfig installed how does this create the emall accounts because postfix is the only one used to serve both incoming and outgoing mail has i have installed it once.

i know ispconfig creates the unix account to match the username you enter with the password, but what file does the url of the users mailbox go

unix account: user been created then . . .

eg: user@domain.com user

thanks

paul

falko
6th June 2006, 13:34
ISPConfig changes /etc/postfix/local-host-names and /etc/postfix/virtusertable to create the email addresses.

paulley
6th June 2006, 23:30
them files aint in the postfix folder, i known i can create them but what do i put into the main.cf to link to them

till
6th June 2006, 23:51
These lines where normally added to your main.cf by the ISPConfig installer automatically. Did you get any errors during installation or twaeked the installer manually?

The lines are:

virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names

paulley
7th June 2006, 00:06
nah i am manualy setting up the account then making my own script to add more email account

thanks

paulley
7th June 2006, 00:35
problem: it wont recevice mail and when i send a email it says that the recipients was rejected by the server

the files i have are
----------------------------------------
/etc/postfix/local-host-names

saying

mail.domain.com
--------------------------------------
/etc/postfix/virtusertable

saying

user@domain.com user
--------------------------------------------
i have done the postmap virtusertable
------------------------------------------------
the dnx xm records says:

domain.com. IN MX 100 mail.domain.com.
-------------------------------------------------

when i do telnet mail.domain.com 110 it connects

then i enter:

user user
say ok
pass password
say mailbox open 0 messages

also i just email from another email account of mind and it come back saying:


SMTP error from remote mail server after RCPT TO:<user@domain.com>:
host nethostdomain.com [xx.xx.xxx.xx]: 554 <user@domain.com>:
Relay access denied

any help will be great

thanks

till
7th June 2006, 11:49
Do you use ISPConfig to manage your server? Then you shall not edit these files manually.

paulley
7th June 2006, 20:11
no i dont use ispconfig, i think i put this post in the wrong forum!

falko
7th June 2006, 21:31
Have a look here then to learn how to set up email accounts manually: http://www.howtoforge.com/forums/showthread.php?t=2

paulley
7th June 2006, 23:16
still not getting any mail i send

paulley
7th June 2006, 23:48
right i am receving mail now in /home/user/Maildir

but when i login i think its taking me to a differnet user path because its say no email but there are.

Also...

if i email from one of my other domains it send the mail but when using my hotmail account it doesnt

any idea why this could be, or is it the spam filter(a guess)

thanks

paulley
8th June 2006, 01:08
sorry i have solved the problem where it wasnt receving the mail its work fine now , but still having a problem with recevicing mail from my hotmail account.

there was something that happening, when it sent it a message come up saying:

the server you are connected to is using a secuirty certificate the could not be verified

a certificate chain proccessed, but terminated in a root certificate which is not trusted by the trust provider.

Do you want to continue using this server.

could this be why the hotmail account wont work because it doesnt say nothing about it when i send the mail from there only if i do it from my other domain.

thanks

till
8th June 2006, 13:45
the server you are connected to is using a secuirty certificate the could not be verified

a certificate chain proccessed, but terminated in a root certificate which is not trusted by the trust provider.

Do you want to continue using this server.

It does not matter, if you get this error message in your mailclient.

paulley
8th June 2006, 23:05
ok , any idea why its not recevicing from a hotmail account:confused:

paulley
9th June 2006, 00:44
this is weird i cant see why its not send from hotmail?

till
9th June 2006, 12:15
Have you tried any oher external email provider too, or only hotmail?
Have you configured the DNS MX-Record in DNS for your domain?

paulley
9th June 2006, 20:54
yeh i have tried yahoo, that works fine, its just hotmail. Dns records are set to:

domain.com IN MX 10 Mail.domain.com


thanks

paulley
9th June 2006, 21:01
i have check my mail and 3 of them i have recevied but then on the rest error comes up on the hotmail indox, some messages are saying failed and some saying delay

so sometime it send it and sometimes it aint either saying its delayed of failed :confused:


thanks

falko
10th June 2006, 00:20
I'd contact the Hotmail support and ask them if that happens because of some special spam policy or the like.

paulley
13th June 2006, 20:17
finaly i have solved the problem it must of been something i done , i install the os again and setup postfix again and its send them fine now. The only problem is how do a disable the sercuity certifiate on postfix, becuase the error i was getting before is doing my head in where its coming up saying "

the server you are connected to is using a secuirty certificate the could not be verified

a certificate chain proccessed, but terminated in a root certificate which is not trusted by the trust provider.

Do you want to continue using this server. " when i send a message from a proper domain not hotmail.

thanks

falko
14th June 2006, 01:10
Run
postconf -e 'smtp_use_tls = no'
postconf -e 'smtpd_use_tls = no' and restart Postfix to disable TLS.

paulley
14th June 2006, 02:04
the messgae still comes up :confused:

paulley
14th June 2006, 02:38
sorry my bad , had ssl selected it outlook hoooooops thanks for yours