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                 {
                        rule->r_value.relayhost.flags |= F_BACKUP;
                        if (strlcpy(rule->r_value.relayhost.hostname, $2,
                                                                ^^^^^^^^^
                                sizeof (rule->r_value.relayhost.hostname))
                            >= sizeof (rule->r_value.relayhost.hostname)) {
                        [...]


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to