Roundcube on Mac OS X 10.6.7 Server Mailadresse username@localhost.domain.ltd

N

nagiosmensch

Aktives Mitglied
Thread Starter
Dabei seit
08.03.2008
Beiträge
200
Reaktionspunkte
0
Hallo zusammen,

ich habe roundcube unter os x server 10.6.7 aufgesetzt mit Hilfe von http://www.roundcubeforum.net/3-news-announcements/12-general-discussion/3673-guide-installing-roundcube-mac-os-x-leopard-server.html

Läuft über SSL. Zugriff und Anmeldung OK. Sehe auch die Mails die ich schon verschickt habe etc. Problematik ist jetzt das wenn ich ne mail über roundcube versende die mailadresse username@localhost.domain.ltd ist anstatt username@domain.ltd ist.

Ich denke in der Roundcubeconfig muss das noch geändert werden aber finde dazu keinen Beitrag.

Hat hier vielleicht jemand einen Tipp?

Gruß Wolfgang
 
Da ich auch roundcubenutzer bin (allerdings nicht auf dem Mac) kenne ich das Problem. Wenn du bei dem User unter "Einstellungen" -> "Identitäten" die E-Mail adresse festlegst funktioniert es wunderbar. Da ich nur wenige Benutzer habe is das natürlich kein Problem. Wenn du auf deinem Mac ein OD mit ...30+ Usern hast wirds aber nervig. Man benötigt also eine "Voreinstellung" für die Identitäten.

Auszug aus http://trac.roundcube.net/wiki/Howto_Config:

Configuring for Virtual Users

Virtual users are useful for hosting providers where a single mailserver is providing email for a number of different domains. The goal is that the user logs in to roundcube with their email login/password, and roundcube knows where to lookup their complete email address. Two options are support, SQL lookups or a sendmail style virtuser file. Since 0.4 this requires enabling of appropriate plugins.

In order to test if virtuser is configured correctly, log in to roundcube with a user that does not exist yet. Compose a message, if you see the From address as user@correct_domain, then it worked. If you see user@localhost, something is wrong. To reset and try again, delete that user from the roundcube users table (all related records will be removed using foreign keys cascading).

1) virtuser_file
$rcmail_config['virtuser_file'] = '/etc/mail/virtuser';

This assumes that the file /etc/mail/virtuser contains information about your virtual users in the following format:
user@domain login1
user@domain login2
2) virtuser_query (SQL)
$rcmail_config['virtuser_query'] = "SELECT email_address FROM database.table WHERE login = '%u'";

If you are using postfix and/or some kind of hosting panel, chances are your email accounts are already stored in a SQL table. If that is the case, you want to lookup the emails with a virtuser_query. Virtuser_query plugin also allows to set all identity fields using the query. The parts of the example query:
// email_address - the first column returned by the query must be the complete email address
// database - name of the database where your table is located, the roundcube db user must have read access
// table - name of the table where your email addresses are stored
// login - name of the field that contains the username that is used to log in to roundcube (and send/receive email)

Bei mir is das auch noch nicht richtig eingestellt, hatte aber keine "notwendigkeit" das so Einzustellen. Werde ich aber demnächst mal machen.

Hoffe das hilft dir weiter.

MFG
 
in der roundcube config müsstest du auch die domain so festlegen können:
$rcmail_config['mail_domain'] = '';
 
Hallo zusammen,

danke für eure Antworten.

Lösung war nun: $rcmail_config['default_host'] = ‘ssl://localhost:993’; auf $rcmail_config['default_host'] = ‘ssl://domainname:993’;

Gruß Wolfgang
 
kannst du dann überhaupt ohne passwort versenden, wenn du nicht über localhost gehst?
wenn ja, dann solltest du mal dringend deine mail server einstellungen überprüfen ;)

ich würde das lieber über die mail_domain ändern statt über den default_host ...
 
Für Postfix wird der roundcube login trotzdem über den localhost kommen, weshalb da kein Problem entstehen sollte.

Der Mac-Server sollte eigentlich schon richtig vorkonfiguriert sein, dass er keinen mailrealay abgibt, das zu überprüfen schadet aber Niemanden....

Falls dem nämlich so wäre....*urgs*

MFG
 
Hallo zusammen,

ich melde mich am Webmailer mit meinen Daten vom Open Directory an. Direkt über den Postfix zu senden habe ich noch nicht ausprobiert. Muss ich noch testen. Geschichte ist noch nicht produktiv.
 
Zurück
Oben Unten