Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do I configure postfix to send mails to a smtp server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hakker82
Apprentice
Apprentice


Joined: 13 Jul 2004
Posts: 188

PostPosted: Thu Nov 18, 2004 4:38 pm    Post subject: how do I configure postfix to send mails to a smtp server Reply with quote

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
View user's profile Send private message
Kurse
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 169
Location: Midwest, USA

PostPosted: Thu Nov 18, 2004 4:58 pm    Post subject: Reply with quote

Add to /etc/postfix/main.cf
Code:

relayhost = pop.cl.uni-heidelberg.de
Back to top
View user's profile Send private message
hakker82
Apprentice
Apprentice


Joined: 13 Jul 2004
Posts: 188

PostPosted: Thu Nov 18, 2004 5:11 pm    Post subject: Reply with quote

this is all?

what do I have to do, if I must authenticate?
Back to top
View user's profile Send private message
Amarack
n00b
n00b


Joined: 01 Aug 2002
Posts: 28

PostPosted: Fri Nov 19, 2004 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum