PostfixAndSASL: Is relayhost mandatory?

New to Debian (Or Linux in general)? Ask your questions here!

PostfixAndSASL: Is relayhost mandatory?

Postby dun » 2018-12-11 10:23

Hi, I'm currently trying to setup SMTP-Auth. This is the first time I'm setting up a mail server and it's pretty confusing but I guess I have a PostFix and SASL setup (telnet returns multiple lines with 250- as prefix so I guess it's working).
But now I'm stuck at the last chapter of the PostfixAndSASL article. It looks like I'm supposed to add a user but I don't understand why I should add a subdomain of Yahoo as a relay. Is it just an example? Can I ignore it or do I have to enter an other relay? How could I just add an user for the SMTP without a relay?
dun
 
Posts: 2
Joined: 2018-12-11 09:50

Re: PostfixAndSASL: Is relayhost mandatory?

Postby dilberts_left_nut » 2018-12-11 11:55

SMTP client
That's for sending mail, not receiving.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4924
Joined: 2009-10-05 07:54
Location: enzed

Re: PostfixAndSASL: Is relayhost mandatory?

Postby dun » 2018-12-11 12:07

dilberts_left_nut wrote:
SMTP client
That's for sending mail, not receiving.


Oh thanks for pointing that out. But they completely skipped the part of adding a user or am I overseeing it?
dun
 
Posts: 2
Joined: 2018-12-11 09:50

Re: PostfixAndSASL: Is relayhost mandatory?

Postby reinob » 2018-12-13 09:32

dun wrote:
dilberts_left_nut wrote:
SMTP client
That's for sending mail, not receiving.


Oh thanks for pointing that out. But they completely skipped the part of adding a user or am I overseeing it?


What do you mean?

If you want your postfix server to relay e-mails to another server (in the example you cited, a yahoo server), then you need to have a user/password from there (e.g. yahoo).

I guess you need to go one or two steps back and ask what you want to have..
reinob
 
Posts: 589
Joined: 2014-06-30 11:42


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable