View previous topic :: View next topic |
Author |
Message |
hakker82 Apprentice
Joined: 13 Jul 2004 Posts: 188
|
Posted: Thu Nov 18, 2004 4:38 pm Post subject: how do I configure postfix to send mails to a smtp server |
|
|
I use fetchmail and postfix to get mails
that works without any problems
but my postfix queue doesn't send any mails, they are all in mailq
how do I have to configure postfix that it sends my mails?
I know the smtp-server: pop.cl.uni-heidelberg.de
what do I else have to do? |
|
Back to top |
|
|
Kurse Apprentice
Joined: 31 Aug 2004 Posts: 169 Location: Midwest, USA
|
Posted: Thu Nov 18, 2004 4:58 pm Post subject: |
|
|
Add to /etc/postfix/main.cf
Code: |
relayhost = pop.cl.uni-heidelberg.de |
|
|
Back to top |
|
|
hakker82 Apprentice
Joined: 13 Jul 2004 Posts: 188
|
Posted: Thu Nov 18, 2004 5:11 pm Post subject: |
|
|
this is all?
what do I have to do, if I must authenticate? |
|
Back to top |
|
|
Amarack n00b
Joined: 01 Aug 2002 Posts: 28
|
Posted: Fri Nov 19, 2004 5:12 pm Post subject: |
|
|
If the smtp requires you to authenticate you should look at this post:
https://forums.gentoo.org/viewtopic.php?t=56633&highlight=smtp-auth
He uses sasl to allow postfix to relay messages to the server. You would just be focusing on the parts about "Adding SMTP-AUTH to Postfix." But he does use cyrus-sasl, as well as postfix compiled with the sasl USE flag. So you might need to reemerge some stuff. I really recommend that guide, it helps a lot.
Good luck. |
|
Back to top |
|
|
|