Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]postfix smart host?
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
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 714
Location: Oslo, Norway

PostPosted: Mon Feb 11, 2013 9:39 pm    Post subject: [SOLVED]postfix smart host? Reply with quote

Where can I find information on how to make my upstream server relay my email rather than transmitting it directly to the mx of the recipient?

postfix on dynamic_dns ----> postfix on upstream ---> mx on recipient

1) how do I tell postfix on dynamic_dns to forward all outgoing mail to upstream
2) how to I configure upstream to releay dynamic_dns based upon relay passwords or some other form of authentication?

TIA


Last edited by pgu on Wed Feb 13, 2013 7:56 am; edited 1 time in total
Back to top
View user's profile Send private message
windex
n00b
n00b


Joined: 09 Dec 2012
Posts: 70

PostPosted: Tue Feb 12, 2013 6:34 am    Post subject: Reply with quote

I'm curious what delivery agent you are trying to use? I'm setting up something similar with dovecot/postfix/gentoo/dny_dns and will try to help.
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 714
Location: Oslo, Norway

PostPosted: Tue Feb 12, 2013 9:24 am    Post subject: Reply with quote

I just deliver to Maildir. I use fetchmail to get the email from the upstream imap (dovecot) to the local imap (also dovecot).
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 714
Location: Oslo, Norway

PostPosted: Tue Feb 12, 2013 9:26 am    Post subject: Reply with quote

BTW I'm not using dyndns, but I get dynamic addresses on my gateway on my local network.
Back to top
View user's profile Send private message
windex
n00b
n00b


Joined: 09 Dec 2012
Posts: 70

PostPosted: Tue Feb 12, 2013 5:29 pm    Post subject: Reply with quote

The closest configuration that I can find that matches what I believe you're trying to do is ODMR. Will that fulfill your requirements? If so you might have to tailor your delivery control options.


Currently I'm in the process of configuring my own MYSQL settings and will try to provide more information to you soon. Will ODMR work for you?
Back to top
View user's profile Send private message
pgu
l33t
l33t


Joined: 30 Jul 2009
Posts: 714
Location: Oslo, Norway

PostPosted: Wed Feb 13, 2013 7:55 am    Post subject: Reply with quote

I managed to get this setup working. Here's the enabling part on my dynamic IP host:

Code:
relayhost = [ip.of.upstream.host]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =


Actually it was the last blank assignment which made it work. On the upstream side I have:

Code:
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
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