Re: backup mx -- delivery loop

2015-11-02 Thread LÉVAI Dániel
Michael Morak @ 2015-11-01T18:40:01 +0100: > Hi Daniel, > > as far as I've seen from the manual, the syntax is "relay [backup > [mx]]" and the description says: "Accepted mails are only relayed > through servers with a lower preference value in the MX record for the > domain than the one

Re: backup mx -- delivery loop

2015-11-02 Thread LÉVAI Dániel
Michael Morak @ 2015-11-02T11:36:18 +0100: > Hi, > > I meant that you specify a value as a *number* like this: > > "relay backup 20" That is really meant to be a server name, not a number: /usr/src/usr.sbin/smtpd/parse.y:645 opt_relay : BACKUP STRING {

Re: backup mx -- delivery loop

2015-11-02 Thread Michael Morak
Hi, I meant that you specify a value as a *number* like this: "relay backup 20" and then, the backup server would relay to all MXs where the value is lower than 20. However, since you didn't specify a value (which, as I read it, should be a number), all mail gets relayed via the default server

Re: backup mx -- delivery loop

2015-11-01 Thread LÉVAI Dániel
LÉVAI Dániel @ 2015-10-31T10:24:35 +0100: > Hi! > > I'm trying to setup a simple backup mx on OpenBSD 5.8-stable, but so far > it seems more of a burden than a "simple" task :) > > smtpd.conf: > 8< > pki hostname certificate

Re: backup mx -- delivery loop

2015-11-01 Thread Michael Morak
Hi Daniel, as far as I've seen from the manual, the syntax is "relay [backup [mx]]" and the description says: "Accepted mails are only relayed through servers with a lower preference value in the MX record for the domain than the one specified in mx. If mx is not specified, the default server

backup mx -- delivery loop

2015-10-31 Thread LÉVAI Dániel
Hi! I'm trying to setup a simple backup mx on OpenBSD 5.8-stable, but so far it seems more of a burden than a "simple" task :) smtpd.conf: 8< pki hostname certificate "/etc/ssl/smtpd_cert.pem" pki hostname key "/etc/ssl/private/smtpd_key.pem"