Reindl Harald <[email protected]> wrote: > Am 25.12.2013 15:29, schrieb Andreas Meyer: > > If I define $rcmail_config['smtp_server'] = '78.47.3.18'; instead of > > $rcmail_config['smtp_server'] = ''; the users get a Relay access denied. > > > > Whereby Roundcube takes the first IP of the subnet 78.47.3.17 and I > > assume, this is the reason for the denied access. > > youndcube does take nothing > 78.47.3.17 is the IP from which roundcube connects to the mailserver
The Relay access denied only happens when I set $rcmail_config['smtp_server'] = '78.47.3.18'; This is necessary so that Roundcube connects to the smtpd running in the same host instead of connecting directly to the pickup of postfix. The reason is the smtpd_restriction_classes restriction of postfix to work. > > Dec 25 15:14:47 delta anup/smtpd[32664]: connect from > > sites.anup.de[78.47.3.17] > > Dec 25 15:14:47 delta anup/smtpd[32664]: NOQUEUE: reject: RCPT from > > sites.anup.de[78.47.3.17]: 554 5.7.1 <[email protected]>: Relay access > > denied; from=<[email protected]> to=<[email protected] > > Dec 25 15:14:47 delta anup/smtpd[32664]: disconnect from > > sites.anup.de[78.47.3.17] > > > > How do I prevent this? > > whitelist the roundcube IP on the mailserver or configure SMTP authentication > properly > roundcube is a mail-client like any other (Outlook, Thunderbird..) > so handle it the same way Connections of other MUAs are no problem. How do I tell Roundcube to connect to the MTA with 78.47.3.18 instead of 78.47.3.17, which is no IP known to the MTA or known in virtual_mailbox_domains? Andreas _______________________________________________ Roundcube Users mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/users
