LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   postfix problems? (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-problems-297164/)

krille 03-03-2005 09:45 AM

postfix problems?
 
hi,

have configured postfix and cyrus, without any success it seems :(

trying using the "mail whatever@whatever.com" makes the following fatal errors occure in the maillog:
".................. sendmail[xxxxxx]: j23........ to whatever@whatever.com ctladdr = cyrus, delay=00.00.00 xdelay=00.00.00 mailer=relay pri=0034 relay=[127.0.0.1] [127.0.0.1] dsn=4.0.0,
stat=deferred: connection refused by [127.0.0.1]

i just cant figure it out, anybody who haves any suggestions.

thanks for reading, krille

MasterC 03-15-2005 03:37 AM

The error doesn't really scream anything out at me, feel free to post up your 'postconf -n' results, maybe there is a problem with your postfix settings (relay comes to mind)...

Is the user/domain a valid user/domain that you allow final_destination for?

Cool

krille 03-15-2005 11:32 AM

Thanks for reading but i have solved most of my problems right now.
I can create accounts using web-cyradm and send/recieve with squirrelmail without problems.

My problem is the use of mail-programs (like M$ Outlook).
Then it gets relay access denied.

I must admit that i dont understand the relay-function. I have no idea how to configure it, right now i have "relayhost = ".

I need the server to be as safe as it can be so that no one can spam through it. But what can i use as a relayhost?

thanks in advance :)

btw: im using postfix,cyrus, saslauthd for authentication and mysql for database

/ krille

MasterC 03-24-2005 04:54 PM

Your relay host should be set to be your server's name (or left blank, which is likely safer). If you are doing/using virtualhosts (a large number of domains for example) then you can set it up to work directly with your database entries for those domains. I'm going to assume for now, for troubleshooting, you are test with a single domain system, in which case your relay_domains should be something like:
relay_domains = $mydestination, /etc/postfix/relay-domains

If you are relaying for several machines on your domain, you can add them for the relayhost directive, however, again for troubleshooting, the blank above should suffice.

Cool


All times are GMT -5. The time now is 06:35 AM.